|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopendap.Server.parsers.Ceparse
public abstract class Ceparse
The constraint expression parser class.
Because it only makes sense to evaluate CEs when serving data, the BaseTyeFactory must create instances of the SDtype classes, not the Dtype classes. The is because we use the setRead method of the class ServerMethods when creating constants (to ensure that the evaluator doesn't try to read tem from the dataset!).
Field Summary | |
---|---|
protected int |
cedebug
|
Fields inherited from interface opendap.Server.parsers.ExprParserConstants |
---|
AMPERSAND, COLON, COMMA, DEFAULT, EOF, EQUAL, FLOATCONST, FUNCTION, GREATER, GREATER_EQL, INTCONST, LBRACE, LBRACKET, LESS, LESS_EQL, LPAREN, NOT_EQUAL, operatorImage, RBRACE, RBRACKET, REGEXP, RPAREN, SEPARATOR, STRINGCONST, tokenImage, VAR, WORD |
Constructor Summary | |
---|---|
Ceparse()
********************************************** |
|
Ceparse(BaseTypeFactory factory)
|
Method Summary | |
---|---|
boolean |
constraint_expression(CEEvaluator ceEval,
BaseTypeFactory factory,
ClauseFactory clauseFactory)
********************* |
AST |
getAST()
********************************************** |
List<AST> |
getASTnodeset()
|
abstract String |
getConstraint()
|
abstract int |
getDebugLevel()
|
abstract String |
getURL()
|
abstract boolean |
parse()
********************************************** |
abstract void |
setConstraint(String constraint)
|
abstract void |
setDebugLevel(int level)
|
abstract void |
setURL(String url)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int cedebug
Constructor Detail |
---|
public Ceparse()
public Ceparse(BaseTypeFactory factory)
Method Detail |
---|
public abstract boolean parse() throws ParseException
ParseException
public abstract int getDebugLevel()
public abstract void setDebugLevel(int level)
public abstract void setURL(String url)
public abstract String getURL()
public abstract void setConstraint(String constraint)
public abstract String getConstraint()
public AST getAST()
public List<AST> getASTnodeset()
public boolean constraint_expression(CEEvaluator ceEval, BaseTypeFactory factory, ClauseFactory clauseFactory) throws DAP2Exception, ParseException
DAP2Exception
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |