com.espertech.esper.epl.spec
Class RowLimitSpec

java.lang.Object
  extended by com.espertech.esper.epl.spec.RowLimitSpec
All Implemented Interfaces:
MetaDefItem, java.io.Serializable

public class RowLimitSpec
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

Spec for defining a row limit.

See Also:
Serialized Form

Constructor Summary
RowLimitSpec(java.lang.Integer numRows, java.lang.Integer optionalOffset, java.lang.String numRowsVariable, java.lang.String optionalOffsetVariable)
          Ctor.
 
Method Summary
 java.lang.Integer getNumRows()
          Returns max num rows constant or null if using variable.
 java.lang.String getNumRowsVariable()
          Returns max num rows variable or null if using constant.
 java.lang.Integer getOptionalOffset()
          Returns offset constant or null.
 java.lang.String getOptionalOffsetVariable()
          Returns offset variable or null
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowLimitSpec

public RowLimitSpec(java.lang.Integer numRows,
                    java.lang.Integer optionalOffset,
                    java.lang.String numRowsVariable,
                    java.lang.String optionalOffsetVariable)
Ctor.

Parameters:
numRows - max num rows constant, null if using variable
optionalOffset - offset or null
numRowsVariable - max num rows variable, null if using constant
optionalOffsetVariable - offset variable or null
Method Detail

getNumRows

public java.lang.Integer getNumRows()
Returns max num rows constant or null if using variable.

Returns:
limit

getOptionalOffset

public java.lang.Integer getOptionalOffset()
Returns offset constant or null.

Returns:
offset

getNumRowsVariable

public java.lang.String getNumRowsVariable()
Returns max num rows variable or null if using constant.

Returns:
limit

getOptionalOffsetVariable

public java.lang.String getOptionalOffsetVariable()
Returns offset variable or null

Returns:
offset variable

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com