|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.storage.search.implementation.database.BasicSqlHandler
org.mmbase.storage.search.implementation.database.InformixSqlHandler
The Informix query handler, implements SqlHandler for standard
Informix functionality.
Derived from BasicSqlHandler, overrides
toSql(), implements FEATURE_MAX_NUMBER, by adding a construct like "SELECT FIRST 20"
in front of the body, when appropriate.
getSupportLevel(int,SearchQuery),
returns SUPPORT_OPTIMAL for this feature, delegates to the superclass for
other features.
| Constructor Summary | |
InformixSqlHandler(java.util.Map disallowedValues)
Constructor. |
|
| Method Summary | |
void |
appendQueryBodyToSql(java.lang.StringBuffer sb,
SearchQuery query,
SqlHandler firstInChain)
Represents body of a SearchQuery object as a string in SQL format, using the database configuration. |
int |
getSupportLevel(int feature,
SearchQuery query)
Gets the level at which a feature is supported for a query by this handler. |
java.lang.String |
toSql(SearchQuery query,
SqlHandler firstInChain)
Represents a SearchQuery object as a string in SQL format, using the database configuration. |
| Methods inherited from class org.mmbase.storage.search.implementation.database.BasicSqlHandler |
appendCompositeConstraintToSql, appendConstraintToSql, appendField, appendFieldValue, appendLikeOperator, getAllowedValue, getSupportLevel, toSqlString, useLower |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mmbase.storage.search.implementation.database.SqlHandler |
appendConstraintToSql, getAllowedValue, getSupportLevel |
| Constructor Detail |
public InformixSqlHandler(java.util.Map disallowedValues)
disallowedValues - Map mapping disallowed table/fieldnames
to allowed alternatives.| Method Detail |
public int getSupportLevel(int feature,
SearchQuery query)
throws SearchQueryException
SqlHandler
getSupportLevel in interface SqlHandlergetSupportLevel in class BasicSqlHandlerSearchQueryException
public java.lang.String toSql(SearchQuery query,
SqlHandler firstInChain)
throws SearchQueryException
SqlHandler
toSql in interface SqlHandlertoSql in class BasicSqlHandlerSearchQueryException
public void appendQueryBodyToSql(java.lang.StringBuffer sb,
SearchQuery query,
SqlHandler firstInChain)
throws SearchQueryException
SqlHandler
appendQueryBodyToSql in interface SqlHandlerappendQueryBodyToSql in class BasicSqlHandlerSearchQueryException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||