Class Limit
java.lang.Object
net.sf.jsqlparser.parser.ASTNodeAccessImpl
net.sf.jsqlparser.statement.select.Limit
- All Implemented Interfaces:
Serializable
,ASTNodeAccess
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ExpressionList
<Expression> A query with the LIMIT n BY expressions clause selects the first n rows for each distinct value of expressions.private Expression
private Expression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addByExpression
(Expression byExpression) <E extends Expression>
E<E extends Expression>
EgetRowCount
(Class<E> type) boolean
Deprecated.boolean
Deprecated.void
setByExpressions
(Expression... byExpressions) void
setByExpressions
(ExpressionList<Expression> byExpressions) void
setLimitAll
(boolean b) Deprecated.void
setLimitNull
(boolean b) Deprecated.void
void
toString()
withByExpressions
(Expression... byExpressions) withByExpressions
(ExpressionList<Expression> byExpressions) withLimitAll
(boolean limitAll) Deprecated.withLimitNull
(boolean limitNull) Deprecated.withOffset
(Expression offset) withRowCount
(Expression rowCount) Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, setASTNode
-
Field Details
-
rowCount
-
offset
-
byExpressions
A query with the LIMIT n BY expressions clause selects the first n rows for each distinct value of expressions. The key for LIMIT BY can contain any number of expressions.- See Also:
-
-
Constructor Details
-
Limit
public Limit()
-
-
Method Details
-
getOffset
-
getRowCount
-
setOffset
-
setRowCount
-
isLimitAll
Deprecated. -
setLimitAll
Deprecated. -
isLimitNull
Deprecated. -
setLimitNull
Deprecated. -
toString
-
withRowCount
-
withOffset
-
withLimitAll
Deprecated. -
withLimitNull
Deprecated. -
getOffset
-
getRowCount
-
getByExpressions
-
setByExpressions
-
setByExpressions
-
addByExpression
-
withByExpressions
-
withByExpressions
-