|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdods.dap.Server.AbstractClause
dods.dap.Server.RelOpClause
dods.servers.sql.SqlRelOpClause
A specialized case of a RelOpClause
that can
return an SQL representation of its self.
Operator
,
RelOpClause
Field Summary |
Fields inherited from class dods.dap.Server.RelOpClause |
lhs, operator, rhs, value |
Fields inherited from class dods.dap.Server.AbstractClause |
children, constant, defined |
Constructor Summary | |
protected |
SqlRelOpClause(int op,
SubClause lhs,
java.util.List rhs)
Creates a new SqlRelOpClause. |
Method Summary | |
java.lang.String |
getSqlRepresentation(boolean useDatasetName,
sqlDDS dds)
Supplies the (best effort) representation of this SqlRelOpClause as an SQL syntax for inclusion
in the WHERE clause in an SQL SELECT query. |
Methods inherited from class dods.dap.Server.RelOpClause |
evaluate, getLHS, getOperator, getRHS, getValue, toString |
Methods inherited from class dods.dap.Server.AbstractClause |
getChildren, isConstant, isDefined |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface dods.dap.Server.TopLevelClause |
evaluate, getValue |
Methods inherited from interface dods.dap.Server.Clause |
getChildren, isConstant, isDefined |
Constructor Detail |
protected SqlRelOpClause(int op, SubClause lhs, java.util.List rhs) throws SDODSException
op
- The operator invoked by the clauselhs
- The left-hand side of the comparison.rhs
- A list of SubClauses representing the right-hand side of the
comparison.
SDODSException
- Thrown if the clause is constant, but
the attempt to evaluate it fails.Method Detail |
public java.lang.String getSqlRepresentation(boolean useDatasetName, sqlDDS dds) throws InvalidOperatorException
SqlRelOpClause
as an SQL syntax for inclusion
in the WHERE clause in an SQL SELECT query.
InvalidOperatorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |