public interface LimitClause
LIMIT
.Modifier and Type | Interface and Description |
---|---|
static class |
LimitClause.Position
Enumeration of where to render the clause within the SQL statement.
|
Modifier and Type | Method and Description |
---|---|
String |
getClause(long limit)
Returns the
LIMIT clause |
String |
getClause(long limit,
long offset)
Returns the
LIMIT clause |
LimitClause.Position |
getClausePosition()
Returns the
LimitClause.Position where to apply the clause . |
String getClause(long limit)
LIMIT
clauselimit
- the actual limit to use.String getClause(long limit, long offset)
LIMIT
clauselimit
- the actual limit to use.offset
- the offset to start from.LimitClause.Position getClausePosition()
LimitClause.Position
where to apply the clause
.Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.