public class HSqlSqlHandler extends BasicSqlHandler implements SqlHandler
SqlHandler for standard
hsql functionality.| Constructor and Description |
|---|
HSqlSqlHandler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendDateField(StringBuilder sb,
Step step,
String fieldName,
boolean multipleSteps,
int datePart) |
int |
getSupportLevel(int feature,
SearchQuery query)
Gets the level at which a feature is supported for a query
by this handler.
|
String |
toSql(SearchQuery query,
SqlHandler firstInChain)
Represents a SearchQuery object as a string in SQL format,
using the database configuration.
|
appendCompositeConstraintToSql, appendConstraintToSql, appendDateValue, appendField, appendField, appendField, appendFieldValue, appendLikeOperator, appendLowerField, appendPreField, appendQueryBodyToSql, appendRegularExpressionOperator, appendRelationConstraints, appendSortOrderDirection, appendSortOrderField, appendSortOrderField, appendSortOrders, appendTableAlias, appendTableName, forceEncode, getAllowedValue, getSupportLevel, toSqlString, useLowerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendConstraintToSql, appendQueryBodyToSql, getAllowedValue, getSupportLevelpublic int getSupportLevel(int feature,
SearchQuery query)
throws SearchQueryException
SqlHandlergetSupportLevel in interface SqlHandlergetSupportLevel in class BasicSqlHandlerSearchQueryExceptionprotected void appendDateField(StringBuilder sb, Step step, String fieldName, boolean multipleSteps, int datePart)
appendDateField in class BasicSqlHandlerpublic String toSql(SearchQuery query, SqlHandler firstInChain) throws SearchQueryException
SqlHandlertoSql in interface SqlHandlertoSql in class BasicSqlHandlerquery - The searchquery.firstInChain - The first element in the chain of handlers.
At some point appendQueryBodyToSql() will have
to be called on this handler, to generate the body of the query.SearchQueryExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}