public class RowLimitSpec extends Object implements MetaDefItem, Serializable
Constructor and Description |
---|
RowLimitSpec(Integer numRows,
Integer optionalOffset,
String numRowsVariable,
String optionalOffsetVariable)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getNumRows()
Returns max num rows constant or null if using variable.
|
String |
getNumRowsVariable()
Returns max num rows variable or null if using constant.
|
Integer |
getOptionalOffset()
Returns offset constant or null.
|
String |
getOptionalOffsetVariable()
Returns offset variable or null
|
public RowLimitSpec(Integer numRows, Integer optionalOffset, String numRowsVariable, String optionalOffsetVariable)
numRows
- max num rows constant, null if using variableoptionalOffset
- offset or nullnumRowsVariable
- max num rows variable, null if using constantoptionalOffsetVariable
- offset variable or nullpublic Integer getNumRows()
public Integer getOptionalOffset()
public String getNumRowsVariable()
public String getOptionalOffsetVariable()