public final class Limit extends Object
| Constructor and Description |
|---|
Limit() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOffsetValue()
Get offset value.
|
int |
getRowCountValue()
Get row count value.
|
boolean |
isNeedRewriteRowCount(DatabaseType databaseType)
Judge is need rewrite row count or not.
|
void |
processParameters(List<Object> parameters,
boolean isFetchAll,
DatabaseType databaseType)
Fill parameters for rewrite limit.
|
public int getOffsetValue()
public int getRowCountValue()
public void processParameters(List<Object> parameters, boolean isFetchAll, DatabaseType databaseType)
parameters - parametersisFetchAll - is fetch all data or notdatabaseType - database typepublic boolean isNeedRewriteRowCount(DatabaseType databaseType)
databaseType - database typeCopyright © 2019 The Apache Software Foundation. All rights reserved.