public class CQLParser extends Object implements CQLParserTreeConstants, CQLParserConstants
Modifier and Type | Field and Description |
---|---|
protected static Set |
GEOOP
initialize geooperations
|
Token |
jj_nt |
protected JJTCQLParserState |
jjtree |
boolean |
lookingAhead |
protected static Set |
RELGEOOP |
Token |
token |
CQLParserTokenManager |
token_source |
JJTADDNODE, JJTBETWEEN_NODE, JJTBOOLEAN_AND_NODE, JJTBOOLEAN_NOT_NODE, JJTBOOLEAN_OR_NODE, JJTCOMPARISONPREDICATE_EQ_NODE, JJTCOMPARISONPREDICATE_GT_NODE, JJTCOMPARISONPREDICATE_GTE_NODE, JJTCOMPARISONPREDICATE_LT_NODE, JJTCOMPARISONPREDICATE_LTE_NODE, JJTCOMPARISONPREDICATE_NOT_EQUAL_NODE, JJTCOMPOUND_ATTRIBUTE_NODE, JJTDATETIME_NODE, JJTDE9IM_NODE, JJTDISTANCEUNITS_NODE, JJTDIVNODE, JJTDURATION_DATE_NODE, JJTENVELOPETAGGEDTEXT_NODE, JJTEXCLUDE_NODE, JJTEXISTENCE_PREDICATE_DOESNOTEXIST_NODE, JJTEXISTENCE_PREDICATE_EXISTS_NODE, JJTFALSENODE, JJTFLOATINGNODE, JJTFUNCTION_NODE, JJTFUNCTIONARG_NODE, JJTFUNCTIONNAME_NODE, JJTIDENTIFIER_NODE, JJTIDENTIFIER_PART_NODE, JJTINCLUDE_NODE, JJTINTEGERNODE, JJTLIKE_NODE, JJTMULNODE, jjtNodeName, JJTNOT_BETWEEN_NODE, JJTNOT_LIKE_NODE, JJTNOTNULLPREDICATENODE, JJTNULLPREDICATENODE, JJTPERIOD_BETWEEN_DATES_NODE, JJTPERIOD_WITH_DATE_DURATION_NODE, JJTPERIOD_WITH_DURATION_DATE_NODE, JJTROUTINEINVOCATION_GEOOP_BBOX_NODE, JJTROUTINEINVOCATION_GEOOP_BBOX_SRS_NODE, JJTROUTINEINVOCATION_GEOOP_CONTAIN_NODE, JJTROUTINEINVOCATION_GEOOP_CROSS_NODE, JJTROUTINEINVOCATION_GEOOP_DISJOINT_NODE, JJTROUTINEINVOCATION_GEOOP_EQUAL_NODE, JJTROUTINEINVOCATION_GEOOP_INTERSECT_NODE, JJTROUTINEINVOCATION_GEOOP_OVERLAP_NODE, JJTROUTINEINVOCATION_GEOOP_RELATE_NODE, JJTROUTINEINVOCATION_GEOOP_TOUCH_NODE, JJTROUTINEINVOCATION_GEOOP_WITHIN_NODE, JJTROUTINEINVOCATION_RELOP_BEYOND_NODE, JJTROUTINEINVOCATION_RELOP_DWITHIN_NODE, JJTSIMPLE_ATTRIBUTE_NODE, JJTSTRINGNODE, JJTSUBTRACTNODE, JJTTOLERANCE_NODE, JJTTPAFTER_DATETIME_NODE, JJTTPBEFORE_DATETIME_NODE, JJTTPBEFORE_OR_DURING_PERIOD_NODE, JJTTPDURING_OR_AFTER_PERIOD_NODE, JJTTPDURING_PERIOD_NODE, JJTTPTEQUALS_DATETIME_NODE, JJTTRUENODE, JJTVOID, JJTWKTNODE
AFTER, AND, ANY, BBOX, BEFORE, BETWEEN, BEYOND, COLON, COMMA, CONTAINS, CROSSES, DATE_TIME, DE9IM_PATTERN, DEFAULT, DIGIT, DIMENSION_SYMBOL, DISJOINT, DOES_NOT_EXIST, DOUBLE_QUOTE, DUR_DATE, DUR_DAY, DUR_HOUR, DUR_MINUTE, DUR_MONTH, DUR_SECOND, DUR_TIME, DUR_YEAR, DURATION, DURING, DWITHIN, ENVELOPE, EOF, EQ, EQUALS, EXCLUDE, EXISTS, EXPONENT, FALSE, FEET, FLOATING_LITERAL, FULL_DATE, GEOMETRYCOLLECTION, GT, GTE, IDENTIFIER, INCLUDE, INTEGER_LITERAL, INTERSECTS, IS, KILOMETERS, LETTER, LIKE, LINESTRING, LP, LSP, LT, LTE, METERS, MINUS, MULT, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, NAUTICAL_MILES, NEQ, NOT, NULL, OR, OVERLAPS, PERIOD, PLUS, POINT, POLYGON, RELATE, RP, RSP, SENTENCE_SEPARATOR, SLASH, STATUTE_MILES, STRING_LITERAL, TEQUALS, TIME_ZONE, tokenImage, TOUCHES, TRUE, UNKNOWN, UTC, UTC_TIME, WITHIN
Constructor and Description |
---|
CQLParser(CQLParserTokenManager tm) |
CQLParser(InputStream stream) |
CQLParser(InputStream stream,
String encoding) |
CQLParser(Reader stream) |
protected JJTCQLParserState jjtree
protected static final Set GEOOP
protected static final Set RELGEOOP
public CQLParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
public CQLParser(InputStream stream)
public CQLParser(InputStream stream, String encoding)
public CQLParser(Reader stream)
public CQLParser(CQLParserTokenManager tm)
public void jjtreeOpenNodeScope(Node n) throws ParseException
ParseException
public void jjtreeCloseNodeScope(Node n) throws ParseException
ParseException
protected boolean isGeoOp()
protected boolean isRelGeoOp()
protected void logDeprecatedWarning(String op)
protected boolean isDE9IM()
public final Node FilterCompilationUnit() throws ParseException
ParseException
public final Node ExpressionCompilationUnit() throws ParseException
ParseException
public final Node FilterListCompilationUnit() throws ParseException
ParseException
public final void SearchCondition() throws ParseException
ParseException
public final void SequenceOfSearchConditions() throws ParseException
ParseException
public final void BooleanValueExpression() throws ParseException
ParseException
public final void BooleanTerm() throws ParseException
ParseException
public final void BooleanFactor() throws ParseException
ParseException
public final void BooleanPrimary() throws ParseException
ParseException
public final void Predicate() throws ParseException
ParseException
public final void RoutineInvocation() throws ParseException
ParseException
public final void RoutineInvocationGeoOp() throws ParseException
ParseException
public final void GeoRoutineArgumentList() throws ParseException
ParseException
public final void RelateArgumentList() throws ParseException
ParseException
public final void DE9IM() throws ParseException
ParseException
public final void BBoxArgumentList() throws ParseException
ParseException
public final void RoutineInvocationRelGeoOp() throws ParseException
ParseException
public final void RelGeoRoutineArgumentList() throws ParseException
ParseException
public final void Tolerance() throws ParseException
ParseException
public final void UnsignedNumericLiteral() throws ParseException
ParseException
public final void DistanceUnits() throws ParseException
ParseException
public final void GeometryLiteral() throws ParseException
ParseException
public final void RoutineInvocationGeneric() throws ParseException
ParseException
public final void IncludeExcludePredicate() throws ParseException
ParseException
public final void ComparisonPredicate() throws ParseException
ParseException
public final void NullPredicate() throws ParseException
ParseException
public final void TemporalPredicate() throws ParseException
ParseException
public final void TemporalPredicateTEquals() throws ParseException
ParseException
public final void TemporalPredicateBefore() throws ParseException
ParseException
public final void TemporalPredicateAfter() throws ParseException
ParseException
public final void TemporalPredicateDuring() throws ParseException
ParseException
public final void DateTimeExpression() throws ParseException
ParseException
public final void Period() throws ParseException
ParseException
public final void PeriodTail() throws ParseException
ParseException
public final void DateTime() throws ParseException
ParseException
public final void Duration() throws ParseException
ParseException
public final void ExistencePredicate() throws ParseException
ParseException
public final void TextPredicate() throws ParseException
ParseException
public final void CharacterPattern() throws ParseException
ParseException
public final void BetweenPredicate() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void BinaryExpression() throws ParseException
ParseException
public final void MultiplicativeExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void Evaluate() throws ParseException
ParseException
public final void Identifier() throws ParseException
ParseException
public final void IdentifierPart() throws ParseException
ParseException
public final void Attribute() throws ParseException
ParseException
public final void SimpleAttributeName() throws ParseException
ParseException
public final void AttributeTail() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void SignedNumericLiteral() throws ParseException
ParseException
public final void GeneralLiteral() throws ParseException
ParseException
public final void IntegerLiteral() throws ParseException
ParseException
public final void FloatingLiteral() throws ParseException
ParseException
public final void BooleanLiteral() throws ParseException
ParseException
public final void StringLiteral() throws ParseException
ParseException
public final void Function() throws ParseException
ParseException
public final void FunctionName() throws ParseException
ParseException
public final void FunctionArg() throws ParseException
ParseException
public final void Point() throws ParseException
ParseException
public final void LineStringText() throws ParseException
ParseException
public final void PointTaggedText() throws ParseException
ParseException
public final void PointText() throws ParseException
ParseException
public final void LineStringTaggedText() throws ParseException
ParseException
public final void PolygonTaggedText() throws ParseException
ParseException
public final void PolygonText() throws ParseException
ParseException
public final void MultiPointTaggedText() throws ParseException
ParseException
public final void MultiPointText() throws ParseException
ParseException
public final void MultiLineStringTaggedText() throws ParseException
ParseException
public final void MultiLineStringText() throws ParseException
ParseException
public final void MultiPolygonTaggedText() throws ParseException
ParseException
public final void MultiPolygonText() throws ParseException
ParseException
public final void GeometryCollectionTaggedText() throws ParseException
ParseException
public final void GeometryCollectionText() throws ParseException
ParseException
public final void EnvelopeTaggedText() throws ParseException
ParseException
public final void EnvelopText() throws ParseException
ParseException
public final void NumericLiteral() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(CQLParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 1996–2019 Geotools. All rights reserved.