Class CQL2Parser
Object
CQL2Parser
- All Implemented Interfaces:
CQL2ParserConstants,CQL2ParserTreeConstants
- Direct Known Subclasses:
CQL2Compiler
CQL2Parser is the result of a javacc jjtree grammar.
- Since:
- 2.26
- Author:
- Mauricio Pazos - Axios Engineering, Andrea Aime - GeoSolutions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final SetNext token.protected JJTCQL2ParserStateCurrent token.Generated Token Manager.Fields inherited from interface CQL2ParserConstants
AFTER, AND, ANY, BBOX, BEFORE, BETWEEN, CARET, COLON, COMMA, CONTAINS, CROSSES, DATE, DATE_OPEN, DATE_TIME, DATEFUNC, DE9IM_PATTERN, DEFAULT, DIGIT, DIMENSION_SYMBOL, DISJOINT, DOLLAR, DOUBLE_QUOTE, DUR_DATE, DUR_DAY, DUR_HOUR, DUR_MINUTE, DUR_MONTH, DUR_SECOND, DUR_TIME, DUR_YEAR, DURATION, DURING, EOF, EQ, EQUALS, EXPONENT, FALSE, FLOATING_LITERAL, FULL_DATE, GEOMETRYCOLLECTION, GT, GTE, IDENTIFIER, IN, INTDIV, INTEGER_LITERAL, INTERSECTS, INTERVAL, IS, LETTER, LIKE, LINESTRING, LP, LSP, LT, LTE, MINUS, MULT, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, NEQ, NOT, NULL, OR, OVERLAPS, PERC, PERIOD, PERIODFUNC, PLUS, POINT, POLYGON, QUOTE, RP, RSP, SENTENCE_SEPARATOR, SLASH, STRING_LITERAL, TEQUALS, TIME_ZONE, TIMESTAMPFUNC, tokenImage, TOUCHES, TRUE, UNKNOWN, UTC, UTC_TIME, WITHINFields inherited from interface CQL2ParserTreeConstants
JJTADDNODE, JJTBBOXTAGGEDTEXT_NODE, 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, JJTDATE_NODE, JJTDATEOPEN, JJTDATETIME_NODE, JJTDIVNODE, JJTEXPRESSION_IN_LIST_NODE, JJTFALSENODE, JJTFLOATINGNODE, JJTFUNCTION_NODE, JJTFUNCTIONARG_NODE, JJTFUNCTIONNAME_NODE, JJTGEOMETRYCOLLECTIONTEXT_NODE, JJTGEOMETRYLITERAL, JJTIDENTIFIER_NODE, JJTIDENTIFIER_PART_NODE, JJTIN_PREDICATE_NODE, JJTINTDIVNODE, JJTINTEGERNODE, JJTINTERVAL, JJTLIKE_NODE, JJTLINESTRINGTEXT_NODE, JJTMULNODE, JJTMULTILINESTRINGTEXT_NODE, JJTMULTIPOINTTEXT_NODE, JJTMULTIPOLYGONTEXT_NODE, JJTNEGATIVENUMBER_NODE, jjtNodeName, JJTNOT_BETWEEN_NODE, JJTNOT_IN_PREDICATE_NODE, JJTNOT_LIKE_NODE, JJTNOTNULLPREDICATENODE, JJTNULLPREDICATENODE, JJTPOINT_NODE, JJTPOINTTEXT_NODE, JJTPOLYGONTEXT_NODE, JJTPOWERNODE, JJTREMAINDERNODE, 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_TOUCH_NODE, JJTROUTINEINVOCATION_GEOOP_WITHIN_NODE, JJTSIMPLE_ATTRIBUTE_NODE, JJTSTRINGNODE, JJTSUBTRACTNODE, JJTTPAFTER_DATETIME_NODE, JJTTPBEFORE_DATETIME_NODE, JJTTPDURING_PERIOD_NODE, JJTTPTEQUALS_DATETIME_NODE, JJTTRUENODE, JJTVOID, JJTWKTNODE -
Constructor Summary
ConstructorsConstructorDescriptionCQL2Parser(InputStream stream) Constructor with InputStream.CQL2Parser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingCQL2Parser(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidfinal voidfinal voidBBOXText()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidDisable tracing.final voidEnable tracing.final voidEvaluate()final voidfinal Nodefinal voidfinal Nodefinal Nodefinal voidfinal voidFunction()final voidfinal voidfinal voidGenerate ParseException.final voidfinal voidfinal voidfinal voidfinal TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidfinal voidfinal voidfinal voidfinal voidSimplified so that we only handle literals for the moment, to be udpated once discussion at https://github.com/opengeospatial/ogcapi-features/issues/674 endsfinal voidfinal voidInterval()protected booleanisGeoOp()voidvoidfinal voidfinal voidfinal voidfinal voidLiteral()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidPoint()final voidfinal voidfinal voidfinal voidfinal voidfinal voidvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal booleanTrace enabled.final voidfinal void
-
Field Details
-
jjtree
-
GEOOP
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
CQL2Parser
Constructor with InputStream. -
CQL2Parser
Constructor with InputStream and supplied encoding -
CQL2Parser
Constructor. -
CQL2Parser
Constructor with generated Token Manager.
-
-
Method Details
-
jjtreeOpenNodeScope
- Throws:
ParseException
-
jjtreeCloseNodeScope
- Throws:
ParseException
-
isGeoOp
protected boolean isGeoOp() -
FilterCompilationUnit
- Throws:
ParseException
-
ExpressionCompilationUnit
- Throws:
ParseException
-
CQL2Expression
- Throws:
ParseException
-
FilterListCompilationUnit
- Throws:
ParseException
-
SequenceOfSearchConditions
- Throws:
ParseException
-
SearchCondition
- Throws:
ParseException
-
BooleanValueExpression
- Throws:
ParseException
-
BooleanTerm
- Throws:
ParseException
-
BooleanFactor
- Throws:
ParseException
-
BooleanPrimary
- Throws:
ParseException
-
Predicate
- Throws:
ParseException
-
InPredicate
- Throws:
ParseException
-
InPredicateList
- Throws:
ParseException
-
ExpressionInList
- Throws:
ParseException
-
RoutineInvocation
- Throws:
ParseException
-
RoutineInvocationGeoOp
- Throws:
ParseException
-
GeoRoutineArgumentList
- Throws:
ParseException
-
GeometryLiteral
- Throws:
ParseException
-
RoutineInvocationGeneric
- Throws:
ParseException
-
ComparisonPredicate
- Throws:
ParseException
-
NullPredicate
- Throws:
ParseException
-
TemporalPredicate
- Throws:
ParseException
-
TemporalExpressionInterval
- Throws:
ParseException
-
TemporalExpression
- Throws:
ParseException
-
Interval
- Throws:
ParseException
-
InstantParameter
Simplified so that we only handle literals for the moment, to be udpated once discussion at https://github.com/opengeospatial/ogcapi-features/issues/674 ends- Throws:
ParseException
-
likePredicate
- Throws:
ParseException
-
CharacterPattern
- Throws:
ParseException
-
BetweenPredicate
- Throws:
ParseException
-
Expression
- Throws:
ParseException
-
BinaryExpression
- Throws:
ParseException
-
MultiplicativeExpression
- Throws:
ParseException
-
PowerExpression
- Throws:
ParseException
-
UnaryExpression
- Throws:
ParseException
-
Evaluate
- Throws:
ParseException
-
Identifier
- Throws:
ParseException
-
IdentifierPart
- Throws:
ParseException
-
Attribute
- Throws:
ParseException
-
SimpleAttributeName
- Throws:
ParseException
-
AttributeTail
- Throws:
ParseException
-
Literal
- Throws:
ParseException
-
DateLiteral
- Throws:
ParseException
-
NumericLiteral
- Throws:
ParseException
-
UnsignedNumericLiteral
- Throws:
ParseException
-
GeneralLiteral
- Throws:
ParseException
-
IntegerLiteral
- Throws:
ParseException
-
FloatingLiteral
- Throws:
ParseException
-
BooleanLiteral
- Throws:
ParseException
-
StringLiteral
- Throws:
ParseException
-
Function
- Throws:
ParseException
-
FunctionName
- Throws:
ParseException
-
FunctionArg
- Throws:
ParseException
-
Point
- Throws:
ParseException
-
LineStringText
- Throws:
ParseException
-
PointTaggedText
- Throws:
ParseException
-
PointText
- Throws:
ParseException
-
LineStringTaggedText
- Throws:
ParseException
-
PolygonTaggedText
- Throws:
ParseException
-
PolygonText
- Throws:
ParseException
-
MultiPointTaggedText
- Throws:
ParseException
-
MultiPointText
- Throws:
ParseException
-
MultiLineStringTaggedText
- Throws:
ParseException
-
MultiLineStringText
- Throws:
ParseException
-
MultiPolygonTaggedText
- Throws:
ParseException
-
MultiPolygonText
- Throws:
ParseException
-
GeometryCollectionTaggedText
- Throws:
ParseException
-
GeometryCollectionText
- Throws:
ParseException
-
BBOXTaggedText
- Throws:
ParseException
-
BBOXText
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-