public class Limit extends AbstractCondition
| Constructor and Description |
|---|
Limit(int count)
Constructor for LIMIT.
|
Limit(int offset,
int count) |
Limit(String expr) |
| Modifier and Type | Method and Description |
|---|---|
And |
and(Condition condition) |
void |
clearParameters()
Clear parameters.
|
boolean |
equals(Object obj) |
int |
getCount()
Gets the count.
|
String |
getExpr() |
int |
getOffset()
Gets the offset.
|
List<Object> |
getParameters()
Gets the parameters.
|
int |
hashCode() |
Not |
not() |
Or |
or(Condition condition) |
String |
toString(NamingPolicy namingPolicy) |
copy, getOperator, toStringpublic Limit(int count)
count - public Limit(int offset,
int count)
public Limit(String expr)
public String getExpr()
public int getCount()
public int getOffset()
public void clearParameters()
public And and(Condition condition) throws UnsupportedOperationException
and in interface Conditionand in class AbstractConditioncondition - UnsupportedOperationExceptionpublic Or or(Condition condition) throws UnsupportedOperationException
or in interface Conditionor in class AbstractConditioncondition - UnsupportedOperationExceptionpublic Not not() throws UnsupportedOperationException
not in interface Conditionnot in class AbstractConditionUnsupportedOperationExceptionpublic String toString(NamingPolicy namingPolicy)
namingPolicy - Copyright © 2021. All rights reserved.