public class HSQLDBSQLStatementHandler extends DefaultSQLStatementHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
LIMIT |
static String |
OFFSET |
CONFLICT_CHARS, queryConditionsProcessor, sqlNameEval, useAsInSubqueries| Constructor and Description |
|---|
HSQLDBSQLStatementHandler() |
| Modifier and Type | Method and Description |
|---|---|
SQLStatementBuilder.SQLStatement |
createLeftJoinSelectQueryPageable(String mainTable,
String subquery,
String secondaryTable,
Vector mainKeys,
Vector secondaryKeys,
Vector mainTableRequestedColumns,
Vector secondaryTableRequestedColumns,
Hashtable mainTableConditions,
Hashtable secondaryTableConditions,
Vector wildcards,
Vector columnSorting,
boolean forceDistinct,
boolean descending,
int recordNumber,
int startIndex)
Returns a
SQLStatement class that stores the information
needed to execute a select query against two subselects used a join. |
SQLStatementBuilder.SQLStatement |
createSelectQuery(String table,
Vector requestedColumns,
Hashtable conditions,
Vector wildcards,
Vector columnSorting,
int recordCount,
boolean descending,
boolean forceDistinct)
Returns a
SQLStatement class that stores the information
needed to execute a select query. |
SQLStatementBuilder.SQLStatement |
createSelectQuery(String table,
Vector requestedColumns,
Hashtable conditions,
Vector wildcards,
Vector columnSorting,
int recordCount,
int offset,
boolean descending,
boolean forceDistinct) |
boolean |
isPageable() |
addInnerMultilanguageColumns, addMultilanguageLeftJoinTables, addOuterMultilanguageColumns, addOuterMultilanguageColumnsPageable, addSpecialCharacters, changeColumnName, changeColumnNames, changeGenerateKeyNames, checkColumnName, createCountQuery, createCountQuery, createCountQuery, createDeleteQuery, createInsertQuery, createJoinFromSubselectsQuery, createJoinSelectQuery, createJoinSelectQuery, createLeftJoinSelectQuery, createLeftJoinSelectQueryPageable, createQueryConditions, createQueryConditions, createQueryConditionsWithoutWhere, createSelectClause, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSelectQuery, createSortStatement, createSortStatement, createUpdateQuery, generatedKeysToEntityResult, getColumnNames, getQueryConditionsProcessor, getResultSetValue, getSQLNameEval, hasIsolationFunction, isDelimited, isUseAsInSubqueries, qualify, readBinaryStream, readCharacterStream, readCharacterStream, resultSetToEntityResult, resultSetToEntityResult, setObject, setSQLConditionValuesProcessor, setSQLNameEval, setTimestampObject, setUseAsInSubqueriespublic static final String LIMIT
public static final String OFFSET
public boolean isPageable()
isPageable in interface SQLStatementHandlerisPageable in class DefaultSQLStatementHandlerpublic SQLStatementBuilder.SQLStatement createSelectQuery(String table, Vector requestedColumns, Hashtable conditions, Vector wildcards, Vector columnSorting, int recordCount, boolean descending, boolean forceDistinct)
DefaultSQLStatementHandlerSQLStatement class that stores the information
needed to execute a select query.createSelectQuery in interface SQLStatementHandlercreateSelectQuery in class DefaultSQLStatementHandlertable - name of the table the query is executed againstrequestedColumns - a Vector specifying the requested column name in the queryconditions - condition list used to created the querywildcards - column list that can use wildcardscolumnSorting - column list where query sorting is establishedrecordCount - number of records requested in the querydescending - true if sorting should be descendingforceDistinct - true if query result cannot have duplicated recordsSQLStatement classSQLStatementBuilder.SQLStatementpublic SQLStatementBuilder.SQLStatement createSelectQuery(String table, Vector requestedColumns, Hashtable conditions, Vector wildcards, Vector columnSorting, int recordCount, int offset, boolean descending, boolean forceDistinct)
createSelectQuery in interface SQLStatementHandlercreateSelectQuery in class DefaultSQLStatementHandlerpublic SQLStatementBuilder.SQLStatement createLeftJoinSelectQueryPageable(String mainTable, String subquery, String secondaryTable, Vector mainKeys, Vector secondaryKeys, Vector mainTableRequestedColumns, Vector secondaryTableRequestedColumns, Hashtable mainTableConditions, Hashtable secondaryTableConditions, Vector wildcards, Vector columnSorting, boolean forceDistinct, boolean descending, int recordNumber, int startIndex)
DefaultSQLStatementHandlerSQLStatement class that stores the information
needed to execute a select query against two subselects used a join.createLeftJoinSelectQueryPageable in interface SQLStatementHandlercreateLeftJoinSelectQueryPageable in class DefaultSQLStatementHandlersecondaryTable - secondary query is executed againstsecondaryKeys - a Vector specifying the column names of the secondary table
that be used to combine the two tablessecondaryTableRequestedColumns - column list that be requested in the query from secondary
tablesecondaryTableConditions - a Hashtable specifying conditions that must comply the set of
records returned from secondary tablewildcards - column list which wildcards can be used incolumnSorting - column list where query sorting is establishedforceDistinct - true if query result cannot have duplicated recordsdescending - true if sorting should be descendingrecordNumber - number of rows to returnstartIndex - number of initial rowSQLStatement class which stores the SQL Statement
and the required valuesCopyright © 2016 Imatia Innovation S.L.. All rights reserved.