public class QueryConvertor extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static StorageManagerFactory<?> |
factory |
| Constructor and Description |
|---|
QueryConvertor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
altaVista2SQL(String query)
Deprecated.
Use
setConstraint() to parse
these expressions. |
static String |
altaVista2SQL(String query,
StorageManagerFactory<?> smf)
Deprecated.
Use
setConstraint() to parse
these expressions. |
static void |
setConstraint(BasicSearchQuery query,
String where)
Sets constraint for a
BasicSearchQuery object. |
static StorageManagerFactory<?> factory
public static String altaVista2SQL(String query, StorageManagerFactory<?> smf)
setConstraint() to parse
these expressions.query - the query to convertsmf - the storagemanagerfactory to use when converting fieldnamespublic static String altaVista2SQL(String query)
setConstraint() to parse
these expressions.query - the query to convertpublic static void setConstraint(BasicSearchQuery query, String where)
BasicSearchQuery object.
The constraint may be specified as either one of these formats:
null or empty.
See ConstraintParser for
more on how SQL search conditions are supported.
Note:
This method is provided to support different constraint formats for
backward compatibility (1, 3 and 4 above).
Do not call this method directly from new code, but rather use
ConstraintParser to parse
search constraints.
query - The query.where - The constraint.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}