public abstract class Ceparse extends Object implements ExprParserConstants
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!).
| Modifier and Type | Field and Description |
|---|---|
protected int |
cedebug |
static org.slf4j.Logger |
log |
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 and Description |
|---|
Ceparse()
**********************************************
|
Ceparse(BaseTypeFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public Ceparse()
public Ceparse(BaseTypeFactory factory)
public abstract boolean parse()
throws ParseException
ParseExceptionpublic 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 boolean constraint_expression(CEEvaluator ceEval, BaseTypeFactory factory, ClauseFactory clauseFactory) throws DAP2Exception, ParseException
DAP2ExceptionParseException