dods.servers.sql
Class SqlClauseFac
java.lang.Object
dods.dap.Server.ClauseFactory
dods.servers.sql.SqlClauseFac
- public class SqlClauseFac
- extends ClauseFactory
Generates Clause objects for the constraint expression parser.
In order to parse constraints using your own custom Clause objects,
pass a customized ClauseFactory, which generates
those clause objects, into the constructor of CEEvaluator. This
particular ClauseFactory is used by the DRDS so that SQL enabled
Clauses are built by the expression parser.
- Author:
- ndp
Method Summary |
TopLevelClause |
newRelOpClause(int operator,
SubClause lhs,
java.util.List rhs)
Generates a clause which which compares subclauses, using one of the
relative operators supported by the Operator class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlClauseFac
public SqlClauseFac()
- Creates a new clause factory.
SqlClauseFac
public SqlClauseFac(FunctionLibrary functionLibrary)
- Creates a new clause factory.
- Parameters:
functionLibrary
- The function library that will be used
when creating clauses that invoke server-side functions.
newRelOpClause
public TopLevelClause newRelOpClause(int operator,
SubClause lhs,
java.util.List rhs)
throws SDODSException
- Generates a clause which which compares subclauses, using one of the
relative operators supported by the Operator class.
- Overrides:
newRelOpClause
in class ClauseFactory
- Throws:
SDODSException