net.sourceforge.nite.search.rewriter
Class SimpleQueryCreator
java.lang.Object
net.sourceforge.nite.search.rewriter.SimpleQueryCreator
- All Implemented Interfaces:
- ParserTreeConstants
public class SimpleQueryCreator
- extends java.lang.Object
- implements ParserTreeConstants
A class which creates SimpleQueries from DeclarableVariables and MinimalConditions.
NOTE: Currently the class requires instantiation with a hash of DeclarableVariables
(with the variable names as keys), and a list of MinimalConditions. It may be desirable
to operate without knowledge of these objects.
Constructor Summary |
SimpleQueryCreator(java.util.Hashtable variables,
java.util.List conditions)
Create a new SimpleQueryCreator with a set of variables and a set of conditions. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleQueryCreator
public SimpleQueryCreator(java.util.Hashtable variables,
java.util.List conditions)
- Create a new SimpleQueryCreator with a set of variables and a set of conditions.
- Parameters:
variables
- Hashtable mapping names to DeclarableVariablesconditions
- list of MinimalConditions