Class OracleLimitStatementBuilder
java.lang.Object
de.hybris.platform.jalo.flexiblesearch.limit.impl.OracleLimitStatementBuilder
- All Implemented Interfaces:
LimitStatementBuilder
Oracle specific limit query with usage of
rownum magic attribute.-
Constructor Summary
ConstructorsConstructorDescriptionOracleLimitStatementBuilder(TranslatedQuery.ExecutableQuery originalQuery, int originalStart, int originalCount) -
Method Summary
Modifier and TypeMethodDescriptionGets the modified version of statement for specific database implementation.Gets the modified statement values list.intGets the original count value for range query requested by user.intGets the original start value for range query requested by user.booleanReturns info whether current query has support for limit queries provided by specific DB engine or not.
-
Constructor Details
-
OracleLimitStatementBuilder
public OracleLimitStatementBuilder(TranslatedQuery.ExecutableQuery originalQuery, int originalStart, int originalCount)
-
-
Method Details
-
hasDbEngineLimitSupport
public boolean hasDbEngineLimitSupport()Description copied from interface:LimitStatementBuilderReturns info whether current query has support for limit queries provided by specific DB engine or not.- Specified by:
hasDbEngineLimitSupportin interfaceLimitStatementBuilder
-
getModifiedStatementValues
Description copied from interface:LimitStatementBuilderGets the modified statement values list. Sometimes it is needed to modify existing original values and add additional values like size of page and/or start index.- Specified by:
getModifiedStatementValuesin interfaceLimitStatementBuilder- Returns:
- the modified statement values
-
getModifiedStatement
Description copied from interface:LimitStatementBuilderGets the modified version of statement for specific database implementation.- Specified by:
getModifiedStatementin interfaceLimitStatementBuilder- Returns:
- the modified statement
-
getOriginalStart
public int getOriginalStart()Description copied from interface:LimitStatementBuilderGets the original start value for range query requested by user.- Specified by:
getOriginalStartin interfaceLimitStatementBuilder
-
getOriginalCount
public int getOriginalCount()Description copied from interface:LimitStatementBuilderGets the original count value for range query requested by user.- Specified by:
getOriginalCountin interfaceLimitStatementBuilder
-