cql2

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

cql2-pgsql

This is a port of the CQL2 transpiler developed for pg_featureserv

CQL Overview

CQL is a simple language to describe logical expressions. A CQL expression applies to values provided by feature properties and constants including numbers, booleans and text values. Values can be combined using the arithmetic operators +,-,*, / and % (modulo). Conditions on values are expressed using simple comparisons (<,>,<=,>=,=,<>). Other predicates include:

prop IN (val1, val2, ...)
prop BETWEEN val1 AND val2
prop IS [NOT] NULL
prop LIKE | ILIKE pattern
Conditions can be combined with the boolean operators AND,OR and NOT.

You will notice that this is very similar to SQL (probably not a coincidence!). That makes it straightforward to implement, and easy to use for us database people.

CQL also defines syntax for spatial and temporal filters.

Filtering with CQL

A CQL expression can be used in a pg_featureserv request in the filter parameter. This is converted to SQL and included in the WHERE clause of the underlying database query. This allows the database to use its query planner and any defined indexes to execute the query efficiently.

Here's an example. We'll query the Natural Earth admin boundaries dataset, which we've loaded into PostGIS as a spatial table. (See this post for details on how to do this.) We're going to retrieve information about European countries where the population is 5,000,000 or less. The CQL expression for this is continent = 'Europe' AND pop_est <= 5000000.

Here's the query to get this result:

continent = "Europe" AND pop_est >= 5000000

Documentation

Index

Constants

View Source
const (
	CqlLexerComparisonOperator        = 1
	CqlLexerLT                        = 2
	CqlLexerEQ                        = 3
	CqlLexerGT                        = 4
	CqlLexerNEQ                       = 5
	CqlLexerGTEQ                      = 6
	CqlLexerLTEQ                      = 7
	CqlLexerBooleanLiteral            = 8
	CqlLexerAND                       = 9
	CqlLexerOR                        = 10
	CqlLexerNOT                       = 11
	CqlLexerLIKE                      = 12
	CqlLexerILIKE                     = 13
	CqlLexerBETWEEN                   = 14
	CqlLexerIS                        = 15
	CqlLexerNULL                      = 16
	CqlLexerIN                        = 17
	CqlLexerArithmeticOperator        = 18
	CqlLexerSpatialOperator           = 19
	CqlLexerDistanceOperator          = 20
	CqlLexerPOINT                     = 21
	CqlLexerLINESTRING                = 22
	CqlLexerPOLYGON                   = 23
	CqlLexerMULTIPOINT                = 24
	CqlLexerMULTILINESTRING           = 25
	CqlLexerMULTIPOLYGON              = 26
	CqlLexerGEOMETRYCOLLECTION        = 27
	CqlLexerENVELOPE                  = 28
	CqlLexerNumericLiteral            = 29
	CqlLexerIdentifier                = 30
	CqlLexerIdentifierStart           = 31
	CqlLexerIdentifierPart            = 32
	CqlLexerALPHA                     = 33
	CqlLexerDIGIT                     = 34
	CqlLexerOCTOTHORP                 = 35
	CqlLexerDOLLAR                    = 36
	CqlLexerUNDERSCORE                = 37
	CqlLexerDOUBLEQUOTE               = 38
	CqlLexerPERCENT                   = 39
	CqlLexerAMPERSAND                 = 40
	CqlLexerQUOTE                     = 41
	CqlLexerLEFTPAREN                 = 42
	CqlLexerRIGHTPAREN                = 43
	CqlLexerLEFTSQUAREBRACKET         = 44
	CqlLexerRIGHTSQUAREBRACKET        = 45
	CqlLexerASTERISK                  = 46
	CqlLexerPLUS                      = 47
	CqlLexerCOMMA                     = 48
	CqlLexerMINUS                     = 49
	CqlLexerPERIOD                    = 50
	CqlLexerSOLIDUS                   = 51
	CqlLexerCARET                     = 52
	CqlLexerCONCAT                    = 53
	CqlLexerCOLON                     = 54
	CqlLexerSEMICOLON                 = 55
	CqlLexerQUESTIONMARK              = 56
	CqlLexerVERTICALBAR               = 57
	CqlLexerBIT                       = 58
	CqlLexerHEXIT                     = 59
	CqlLexerUnsignedNumericLiteral    = 60
	CqlLexerSignedNumericLiteral      = 61
	CqlLexerExactNumericLiteral       = 62
	CqlLexerApproximateNumericLiteral = 63
	CqlLexerMantissa                  = 64
	CqlLexerExponent                  = 65
	CqlLexerSignedInteger             = 66
	CqlLexerUnsignedInteger           = 67
	CqlLexerSign                      = 68
	CqlLexerTemporalLiteral           = 69
	CqlLexerInstant                   = 70
	CqlLexerFullDate                  = 71
	CqlLexerDateYear                  = 72
	CqlLexerDateMonth                 = 73
	CqlLexerDateDay                   = 74
	CqlLexerUtcTime                   = 75
	CqlLexerTimeZoneOffset            = 76
	CqlLexerTimeHour                  = 77
	CqlLexerTimeMinute                = 78
	CqlLexerTimeSecond                = 79
	CqlLexerNOW                       = 80
	CqlLexerWS                        = 81
	CqlLexerCharacterStringLiteral    = 82
	CqlLexerQuotedQuote               = 83
)

CqlLexer tokens.

View Source
const (
	CQLParserEOF                       = antlr.TokenEOF
	CQLParserComparisonOperator        = 1
	CQLParserLT                        = 2
	CQLParserEQ                        = 3
	CQLParserGT                        = 4
	CQLParserNEQ                       = 5
	CQLParserGTEQ                      = 6
	CQLParserLTEQ                      = 7
	CQLParserBooleanLiteral            = 8
	CQLParserAND                       = 9
	CQLParserOR                        = 10
	CQLParserNOT                       = 11
	CQLParserLIKE                      = 12
	CQLParserILIKE                     = 13
	CQLParserBETWEEN                   = 14
	CQLParserIS                        = 15
	CQLParserNULL                      = 16
	CQLParserIN                        = 17
	CQLParserArithmeticOperator        = 18
	CQLParserSpatialOperator           = 19
	CQLParserDistanceOperator          = 20
	CQLParserPOINT                     = 21
	CQLParserLINESTRING                = 22
	CQLParserPOLYGON                   = 23
	CQLParserMULTIPOINT                = 24
	CQLParserMULTILINESTRING           = 25
	CQLParserMULTIPOLYGON              = 26
	CQLParserGEOMETRYCOLLECTION        = 27
	CQLParserENVELOPE                  = 28
	CQLParserNumericLiteral            = 29
	CQLParserIdentifier                = 30
	CQLParserIdentifierStart           = 31
	CQLParserIdentifierPart            = 32
	CQLParserALPHA                     = 33
	CQLParserDIGIT                     = 34
	CQLParserOCTOTHORP                 = 35
	CQLParserDOLLAR                    = 36
	CQLParserUNDERSCORE                = 37
	CQLParserDOUBLEQUOTE               = 38
	CQLParserPERCENT                   = 39
	CQLParserAMPERSAND                 = 40
	CQLParserQUOTE                     = 41
	CQLParserLEFTPAREN                 = 42
	CQLParserRIGHTPAREN                = 43
	CQLParserLEFTSQUAREBRACKET         = 44
	CQLParserRIGHTSQUAREBRACKET        = 45
	CQLParserASTERISK                  = 46
	CQLParserPLUS                      = 47
	CQLParserCOMMA                     = 48
	CQLParserMINUS                     = 49
	CQLParserPERIOD                    = 50
	CQLParserSOLIDUS                   = 51
	CQLParserCARET                     = 52
	CQLParserCONCAT                    = 53
	CQLParserCOLON                     = 54
	CQLParserSEMICOLON                 = 55
	CQLParserQUESTIONMARK              = 56
	CQLParserVERTICALBAR               = 57
	CQLParserBIT                       = 58
	CQLParserHEXIT                     = 59
	CQLParserUnsignedNumericLiteral    = 60
	CQLParserSignedNumericLiteral      = 61
	CQLParserExactNumericLiteral       = 62
	CQLParserApproximateNumericLiteral = 63
	CQLParserMantissa                  = 64
	CQLParserExponent                  = 65
	CQLParserSignedInteger             = 66
	CQLParserUnsignedInteger           = 67
	CQLParserSign                      = 68
	CQLParserTemporalLiteral           = 69
	CQLParserInstant                   = 70
	CQLParserFullDate                  = 71
	CQLParserDateYear                  = 72
	CQLParserDateMonth                 = 73
	CQLParserDateDay                   = 74
	CQLParserUtcTime                   = 75
	CQLParserTimeZoneOffset            = 76
	CQLParserTimeHour                  = 77
	CQLParserTimeMinute                = 78
	CQLParserTimeSecond                = 79
	CQLParserNOW                       = 80
	CQLParserWS                        = 81
	CQLParserCharacterStringLiteral    = 82
	CQLParserQuotedQuote               = 83
)

CQLParser tokens.

View Source
const (
	CQLParserRULE_cqlFilter                 = 0
	CQLParserRULE_booleanExpression         = 1
	CQLParserRULE_booleanTerm               = 2
	CQLParserRULE_predicate                 = 3
	CQLParserRULE_comparisonPredicate       = 4
	CQLParserRULE_binaryComparisonPredicate = 5
	CQLParserRULE_isLikePredicate           = 6
	CQLParserRULE_isBetweenPredicate        = 7
	CQLParserRULE_isInListPredicate         = 8
	CQLParserRULE_isNullPredicate           = 9
	CQLParserRULE_scalarExpression          = 10
	CQLParserRULE_scalarValue               = 11
	CQLParserRULE_propertyName              = 12
	CQLParserRULE_characterLiteral          = 13
	CQLParserRULE_numericLiteral            = 14
	CQLParserRULE_booleanLiteral            = 15
	CQLParserRULE_temporalLiteral           = 16
	CQLParserRULE_spatialPredicate          = 17
	CQLParserRULE_distancePredicate         = 18
	CQLParserRULE_geomExpression            = 19
	CQLParserRULE_geomLiteral               = 20
	CQLParserRULE_point                     = 21
	CQLParserRULE_pointList                 = 22
	CQLParserRULE_linestring                = 23
	CQLParserRULE_polygon                   = 24
	CQLParserRULE_polygonDef                = 25
	CQLParserRULE_multiPoint                = 26
	CQLParserRULE_multiLinestring           = 27
	CQLParserRULE_multiPolygon              = 28
	CQLParserRULE_geometryCollection        = 29
	CQLParserRULE_envelope                  = 30
	CQLParserRULE_coordList                 = 31
	CQLParserRULE_coordinate                = 32
)

CQLParser rules.

View Source
const CqlLexerSTR = 1

CqlLexerSTR is the CqlLexer mode.

Variables

View Source
var CQLParserParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var CqlLexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func CQLParserInit

func CQLParserInit()

CQLParserInit initializes any static state used to implement CQLParser. By default the static state used to implement the parser is lazily initialized during the first call to NewCQLParser(). You can call this function if you wish to initialize the static state ahead of time.

func CqlLexerInit

func CqlLexerInit()

CqlLexerInit initializes any static state used to implement CqlLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewCqlLexer(). You can call this function if you wish to initialize the static state ahead of time.

func InitEmptyBinaryComparisonPredicateContext

func InitEmptyBinaryComparisonPredicateContext(p *BinaryComparisonPredicateContext)

func InitEmptyBooleanExpressionContext

func InitEmptyBooleanExpressionContext(p *BooleanExpressionContext)

func InitEmptyBooleanLiteralContext

func InitEmptyBooleanLiteralContext(p *BooleanLiteralContext)

func InitEmptyBooleanTermContext

func InitEmptyBooleanTermContext(p *BooleanTermContext)

func InitEmptyCharacterLiteralContext

func InitEmptyCharacterLiteralContext(p *CharacterLiteralContext)

func InitEmptyComparisonPredicateContext

func InitEmptyComparisonPredicateContext(p *ComparisonPredicateContext)

func InitEmptyCoordListContext

func InitEmptyCoordListContext(p *CoordListContext)

func InitEmptyCoordinateContext

func InitEmptyCoordinateContext(p *CoordinateContext)

func InitEmptyCqlFilterContext

func InitEmptyCqlFilterContext(p *CqlFilterContext)

func InitEmptyDistancePredicateContext

func InitEmptyDistancePredicateContext(p *DistancePredicateContext)

func InitEmptyEnvelopeContext

func InitEmptyEnvelopeContext(p *EnvelopeContext)

func InitEmptyGeomExpressionContext

func InitEmptyGeomExpressionContext(p *GeomExpressionContext)

func InitEmptyGeomLiteralContext

func InitEmptyGeomLiteralContext(p *GeomLiteralContext)

func InitEmptyGeometryCollectionContext

func InitEmptyGeometryCollectionContext(p *GeometryCollectionContext)

func InitEmptyIsBetweenPredicateContext

func InitEmptyIsBetweenPredicateContext(p *IsBetweenPredicateContext)

func InitEmptyIsInListPredicateContext

func InitEmptyIsInListPredicateContext(p *IsInListPredicateContext)

func InitEmptyIsLikePredicateContext

func InitEmptyIsLikePredicateContext(p *IsLikePredicateContext)

func InitEmptyIsNullPredicateContext

func InitEmptyIsNullPredicateContext(p *IsNullPredicateContext)

func InitEmptyLinestringContext

func InitEmptyLinestringContext(p *LinestringContext)

func InitEmptyMultiLinestringContext

func InitEmptyMultiLinestringContext(p *MultiLinestringContext)

func InitEmptyMultiPointContext

func InitEmptyMultiPointContext(p *MultiPointContext)

func InitEmptyMultiPolygonContext

func InitEmptyMultiPolygonContext(p *MultiPolygonContext)

func InitEmptyNumericLiteralContext

func InitEmptyNumericLiteralContext(p *NumericLiteralContext)

func InitEmptyPointContext

func InitEmptyPointContext(p *PointContext)

func InitEmptyPointListContext

func InitEmptyPointListContext(p *PointListContext)

func InitEmptyPolygonContext

func InitEmptyPolygonContext(p *PolygonContext)

func InitEmptyPolygonDefContext

func InitEmptyPolygonDefContext(p *PolygonDefContext)

func InitEmptyPredicateContext

func InitEmptyPredicateContext(p *PredicateContext)

func InitEmptyPropertyNameContext

func InitEmptyPropertyNameContext(p *PropertyNameContext)

func InitEmptyScalarExpressionContext

func InitEmptyScalarExpressionContext(p *ScalarExpressionContext)

func InitEmptyScalarValueContext

func InitEmptyScalarValueContext(p *ScalarValueContext)

func InitEmptySpatialPredicateContext

func InitEmptySpatialPredicateContext(p *SpatialPredicateContext)

func InitEmptyTemporalLiteralContext

func InitEmptyTemporalLiteralContext(p *TemporalLiteralContext)

func NewCqlListener

func NewCqlListener(filterSRID int, sourceSRID int) *cqlListener

func TranspileToSQL

func TranspileToSQL(cqlStr string, filterSRID int, sourceSRID int) (string, error)

Types

type BaseCQLParserListener

type BaseCQLParserListener struct{}

BaseCQLParserListener is a complete listener for a parse tree produced by CQLParser.

func (*BaseCQLParserListener) EnterBinaryComparisonPredicate

func (s *BaseCQLParserListener) EnterBinaryComparisonPredicate(ctx *BinaryComparisonPredicateContext)

EnterBinaryComparisonPredicate is called when production binaryComparisonPredicate is entered.

func (*BaseCQLParserListener) EnterBoolExprAnd

func (s *BaseCQLParserListener) EnterBoolExprAnd(ctx *BoolExprAndContext)

EnterBoolExprAnd is called when production BoolExprAnd is entered.

func (*BaseCQLParserListener) EnterBoolExprNot

func (s *BaseCQLParserListener) EnterBoolExprNot(ctx *BoolExprNotContext)

EnterBoolExprNot is called when production BoolExprNot is entered.

func (*BaseCQLParserListener) EnterBoolExprOr

func (s *BaseCQLParserListener) EnterBoolExprOr(ctx *BoolExprOrContext)

EnterBoolExprOr is called when production BoolExprOr is entered.

func (*BaseCQLParserListener) EnterBoolExprParen

func (s *BaseCQLParserListener) EnterBoolExprParen(ctx *BoolExprParenContext)

EnterBoolExprParen is called when production BoolExprParen is entered.

func (*BaseCQLParserListener) EnterBoolExprTerm

func (s *BaseCQLParserListener) EnterBoolExprTerm(ctx *BoolExprTermContext)

EnterBoolExprTerm is called when production BoolExprTerm is entered.

func (*BaseCQLParserListener) EnterBooleanLiteral

func (s *BaseCQLParserListener) EnterBooleanLiteral(ctx *BooleanLiteralContext)

EnterBooleanLiteral is called when production booleanLiteral is entered.

func (*BaseCQLParserListener) EnterBooleanTerm

func (s *BaseCQLParserListener) EnterBooleanTerm(ctx *BooleanTermContext)

EnterBooleanTerm is called when production booleanTerm is entered.

func (*BaseCQLParserListener) EnterCharacterLiteral

func (s *BaseCQLParserListener) EnterCharacterLiteral(ctx *CharacterLiteralContext)

EnterCharacterLiteral is called when production characterLiteral is entered.

func (*BaseCQLParserListener) EnterCoordList

func (s *BaseCQLParserListener) EnterCoordList(ctx *CoordListContext)

EnterCoordList is called when production coordList is entered.

func (*BaseCQLParserListener) EnterCoordinate

func (s *BaseCQLParserListener) EnterCoordinate(ctx *CoordinateContext)

EnterCoordinate is called when production coordinate is entered.

func (*BaseCQLParserListener) EnterCqlFilter

func (s *BaseCQLParserListener) EnterCqlFilter(ctx *CqlFilterContext)

EnterCqlFilter is called when production cqlFilter is entered.

func (*BaseCQLParserListener) EnterDistancePredicate

func (s *BaseCQLParserListener) EnterDistancePredicate(ctx *DistancePredicateContext)

EnterDistancePredicate is called when production distancePredicate is entered.

func (*BaseCQLParserListener) EnterEnvelope

func (s *BaseCQLParserListener) EnterEnvelope(ctx *EnvelopeContext)

EnterEnvelope is called when production envelope is entered.

func (*BaseCQLParserListener) EnterEveryRule

func (s *BaseCQLParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseCQLParserListener) EnterGeomExpression

func (s *BaseCQLParserListener) EnterGeomExpression(ctx *GeomExpressionContext)

EnterGeomExpression is called when production geomExpression is entered.

func (*BaseCQLParserListener) EnterGeomLiteral

func (s *BaseCQLParserListener) EnterGeomLiteral(ctx *GeomLiteralContext)

EnterGeomLiteral is called when production geomLiteral is entered.

func (*BaseCQLParserListener) EnterGeometryCollection

func (s *BaseCQLParserListener) EnterGeometryCollection(ctx *GeometryCollectionContext)

EnterGeometryCollection is called when production geometryCollection is entered.

func (*BaseCQLParserListener) EnterIsBetweenPredicate

func (s *BaseCQLParserListener) EnterIsBetweenPredicate(ctx *IsBetweenPredicateContext)

EnterIsBetweenPredicate is called when production isBetweenPredicate is entered.

func (*BaseCQLParserListener) EnterIsInListPredicate

func (s *BaseCQLParserListener) EnterIsInListPredicate(ctx *IsInListPredicateContext)

EnterIsInListPredicate is called when production isInListPredicate is entered.

func (*BaseCQLParserListener) EnterIsLikePredicate

func (s *BaseCQLParserListener) EnterIsLikePredicate(ctx *IsLikePredicateContext)

EnterIsLikePredicate is called when production isLikePredicate is entered.

func (*BaseCQLParserListener) EnterIsNullPredicate

func (s *BaseCQLParserListener) EnterIsNullPredicate(ctx *IsNullPredicateContext)

EnterIsNullPredicate is called when production isNullPredicate is entered.

func (*BaseCQLParserListener) EnterLinestring

func (s *BaseCQLParserListener) EnterLinestring(ctx *LinestringContext)

EnterLinestring is called when production linestring is entered.

func (*BaseCQLParserListener) EnterLiteralBoolean

func (s *BaseCQLParserListener) EnterLiteralBoolean(ctx *LiteralBooleanContext)

EnterLiteralBoolean is called when production LiteralBoolean is entered.

func (*BaseCQLParserListener) EnterLiteralName

func (s *BaseCQLParserListener) EnterLiteralName(ctx *LiteralNameContext)

EnterLiteralName is called when production LiteralName is entered.

func (*BaseCQLParserListener) EnterLiteralNumeric

func (s *BaseCQLParserListener) EnterLiteralNumeric(ctx *LiteralNumericContext)

EnterLiteralNumeric is called when production LiteralNumeric is entered.

func (*BaseCQLParserListener) EnterLiteralString

func (s *BaseCQLParserListener) EnterLiteralString(ctx *LiteralStringContext)

EnterLiteralString is called when production LiteralString is entered.

func (*BaseCQLParserListener) EnterLiteralTemporal

func (s *BaseCQLParserListener) EnterLiteralTemporal(ctx *LiteralTemporalContext)

EnterLiteralTemporal is called when production LiteralTemporal is entered.

func (*BaseCQLParserListener) EnterMultiLinestring

func (s *BaseCQLParserListener) EnterMultiLinestring(ctx *MultiLinestringContext)

EnterMultiLinestring is called when production multiLinestring is entered.

func (*BaseCQLParserListener) EnterMultiPoint

func (s *BaseCQLParserListener) EnterMultiPoint(ctx *MultiPointContext)

EnterMultiPoint is called when production multiPoint is entered.

func (*BaseCQLParserListener) EnterMultiPolygon

func (s *BaseCQLParserListener) EnterMultiPolygon(ctx *MultiPolygonContext)

EnterMultiPolygon is called when production multiPolygon is entered.

func (*BaseCQLParserListener) EnterNumericLiteral

func (s *BaseCQLParserListener) EnterNumericLiteral(ctx *NumericLiteralContext)

EnterNumericLiteral is called when production numericLiteral is entered.

func (*BaseCQLParserListener) EnterPoint

func (s *BaseCQLParserListener) EnterPoint(ctx *PointContext)

EnterPoint is called when production point is entered.

func (*BaseCQLParserListener) EnterPointList

func (s *BaseCQLParserListener) EnterPointList(ctx *PointListContext)

EnterPointList is called when production pointList is entered.

func (*BaseCQLParserListener) EnterPolygon

func (s *BaseCQLParserListener) EnterPolygon(ctx *PolygonContext)

EnterPolygon is called when production polygon is entered.

func (*BaseCQLParserListener) EnterPolygonDef

func (s *BaseCQLParserListener) EnterPolygonDef(ctx *PolygonDefContext)

EnterPolygonDef is called when production polygonDef is entered.

func (*BaseCQLParserListener) EnterPredicate

func (s *BaseCQLParserListener) EnterPredicate(ctx *PredicateContext)

EnterPredicate is called when production predicate is entered.

func (*BaseCQLParserListener) EnterPredicateBetween

func (s *BaseCQLParserListener) EnterPredicateBetween(ctx *PredicateBetweenContext)

EnterPredicateBetween is called when production PredicateBetween is entered.

func (*BaseCQLParserListener) EnterPredicateBinaryComp

func (s *BaseCQLParserListener) EnterPredicateBinaryComp(ctx *PredicateBinaryCompContext)

EnterPredicateBinaryComp is called when production PredicateBinaryComp is entered.

func (*BaseCQLParserListener) EnterPredicateIn

func (s *BaseCQLParserListener) EnterPredicateIn(ctx *PredicateInContext)

EnterPredicateIn is called when production PredicateIn is entered.

func (*BaseCQLParserListener) EnterPredicateIsNull

func (s *BaseCQLParserListener) EnterPredicateIsNull(ctx *PredicateIsNullContext)

EnterPredicateIsNull is called when production PredicateIsNull is entered.

func (*BaseCQLParserListener) EnterPredicateLike

func (s *BaseCQLParserListener) EnterPredicateLike(ctx *PredicateLikeContext)

EnterPredicateLike is called when production PredicateLike is entered.

func (*BaseCQLParserListener) EnterPropertyName

func (s *BaseCQLParserListener) EnterPropertyName(ctx *PropertyNameContext)

EnterPropertyName is called when production propertyName is entered.

func (*BaseCQLParserListener) EnterScalarExpr

func (s *BaseCQLParserListener) EnterScalarExpr(ctx *ScalarExprContext)

EnterScalarExpr is called when production ScalarExpr is entered.

func (*BaseCQLParserListener) EnterScalarParen

func (s *BaseCQLParserListener) EnterScalarParen(ctx *ScalarParenContext)

EnterScalarParen is called when production ScalarParen is entered.

func (*BaseCQLParserListener) EnterScalarVal

func (s *BaseCQLParserListener) EnterScalarVal(ctx *ScalarValContext)

EnterScalarVal is called when production ScalarVal is entered.

func (*BaseCQLParserListener) EnterSpatialPredicate

func (s *BaseCQLParserListener) EnterSpatialPredicate(ctx *SpatialPredicateContext)

EnterSpatialPredicate is called when production spatialPredicate is entered.

func (*BaseCQLParserListener) EnterTemporalLiteral

func (s *BaseCQLParserListener) EnterTemporalLiteral(ctx *TemporalLiteralContext)

EnterTemporalLiteral is called when production temporalLiteral is entered.

func (*BaseCQLParserListener) ExitBinaryComparisonPredicate

func (s *BaseCQLParserListener) ExitBinaryComparisonPredicate(ctx *BinaryComparisonPredicateContext)

ExitBinaryComparisonPredicate is called when production binaryComparisonPredicate is exited.

func (*BaseCQLParserListener) ExitBoolExprAnd

func (s *BaseCQLParserListener) ExitBoolExprAnd(ctx *BoolExprAndContext)

ExitBoolExprAnd is called when production BoolExprAnd is exited.

func (*BaseCQLParserListener) ExitBoolExprNot

func (s *BaseCQLParserListener) ExitBoolExprNot(ctx *BoolExprNotContext)

ExitBoolExprNot is called when production BoolExprNot is exited.

func (*BaseCQLParserListener) ExitBoolExprOr

func (s *BaseCQLParserListener) ExitBoolExprOr(ctx *BoolExprOrContext)

ExitBoolExprOr is called when production BoolExprOr is exited.

func (*BaseCQLParserListener) ExitBoolExprParen

func (s *BaseCQLParserListener) ExitBoolExprParen(ctx *BoolExprParenContext)

ExitBoolExprParen is called when production BoolExprParen is exited.

func (*BaseCQLParserListener) ExitBoolExprTerm

func (s *BaseCQLParserListener) ExitBoolExprTerm(ctx *BoolExprTermContext)

ExitBoolExprTerm is called when production BoolExprTerm is exited.

func (*BaseCQLParserListener) ExitBooleanLiteral

func (s *BaseCQLParserListener) ExitBooleanLiteral(ctx *BooleanLiteralContext)

ExitBooleanLiteral is called when production booleanLiteral is exited.

func (*BaseCQLParserListener) ExitBooleanTerm

func (s *BaseCQLParserListener) ExitBooleanTerm(ctx *BooleanTermContext)

ExitBooleanTerm is called when production booleanTerm is exited.

func (*BaseCQLParserListener) ExitCharacterLiteral

func (s *BaseCQLParserListener) ExitCharacterLiteral(ctx *CharacterLiteralContext)

ExitCharacterLiteral is called when production characterLiteral is exited.

func (*BaseCQLParserListener) ExitCoordList

func (s *BaseCQLParserListener) ExitCoordList(ctx *CoordListContext)

ExitCoordList is called when production coordList is exited.

func (*BaseCQLParserListener) ExitCoordinate

func (s *BaseCQLParserListener) ExitCoordinate(ctx *CoordinateContext)

ExitCoordinate is called when production coordinate is exited.

func (*BaseCQLParserListener) ExitCqlFilter

func (s *BaseCQLParserListener) ExitCqlFilter(ctx *CqlFilterContext)

ExitCqlFilter is called when production cqlFilter is exited.

func (*BaseCQLParserListener) ExitDistancePredicate

func (s *BaseCQLParserListener) ExitDistancePredicate(ctx *DistancePredicateContext)

ExitDistancePredicate is called when production distancePredicate is exited.

func (*BaseCQLParserListener) ExitEnvelope

func (s *BaseCQLParserListener) ExitEnvelope(ctx *EnvelopeContext)

ExitEnvelope is called when production envelope is exited.

func (*BaseCQLParserListener) ExitEveryRule

func (s *BaseCQLParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseCQLParserListener) ExitGeomExpression

func (s *BaseCQLParserListener) ExitGeomExpression(ctx *GeomExpressionContext)

ExitGeomExpression is called when production geomExpression is exited.

func (*BaseCQLParserListener) ExitGeomLiteral

func (s *BaseCQLParserListener) ExitGeomLiteral(ctx *GeomLiteralContext)

ExitGeomLiteral is called when production geomLiteral is exited.

func (*BaseCQLParserListener) ExitGeometryCollection

func (s *BaseCQLParserListener) ExitGeometryCollection(ctx *GeometryCollectionContext)

ExitGeometryCollection is called when production geometryCollection is exited.

func (*BaseCQLParserListener) ExitIsBetweenPredicate

func (s *BaseCQLParserListener) ExitIsBetweenPredicate(ctx *IsBetweenPredicateContext)

ExitIsBetweenPredicate is called when production isBetweenPredicate is exited.

func (*BaseCQLParserListener) ExitIsInListPredicate

func (s *BaseCQLParserListener) ExitIsInListPredicate(ctx *IsInListPredicateContext)

ExitIsInListPredicate is called when production isInListPredicate is exited.

func (*BaseCQLParserListener) ExitIsLikePredicate

func (s *BaseCQLParserListener) ExitIsLikePredicate(ctx *IsLikePredicateContext)

ExitIsLikePredicate is called when production isLikePredicate is exited.

func (*BaseCQLParserListener) ExitIsNullPredicate

func (s *BaseCQLParserListener) ExitIsNullPredicate(ctx *IsNullPredicateContext)

ExitIsNullPredicate is called when production isNullPredicate is exited.

func (*BaseCQLParserListener) ExitLinestring

func (s *BaseCQLParserListener) ExitLinestring(ctx *LinestringContext)

ExitLinestring is called when production linestring is exited.

func (*BaseCQLParserListener) ExitLiteralBoolean

func (s *BaseCQLParserListener) ExitLiteralBoolean(ctx *LiteralBooleanContext)

ExitLiteralBoolean is called when production LiteralBoolean is exited.

func (*BaseCQLParserListener) ExitLiteralName

func (s *BaseCQLParserListener) ExitLiteralName(ctx *LiteralNameContext)

ExitLiteralName is called when production LiteralName is exited.

func (*BaseCQLParserListener) ExitLiteralNumeric

func (s *BaseCQLParserListener) ExitLiteralNumeric(ctx *LiteralNumericContext)

ExitLiteralNumeric is called when production LiteralNumeric is exited.

func (*BaseCQLParserListener) ExitLiteralString

func (s *BaseCQLParserListener) ExitLiteralString(ctx *LiteralStringContext)

ExitLiteralString is called when production LiteralString is exited.

func (*BaseCQLParserListener) ExitLiteralTemporal

func (s *BaseCQLParserListener) ExitLiteralTemporal(ctx *LiteralTemporalContext)

ExitLiteralTemporal is called when production LiteralTemporal is exited.

func (*BaseCQLParserListener) ExitMultiLinestring

func (s *BaseCQLParserListener) ExitMultiLinestring(ctx *MultiLinestringContext)

ExitMultiLinestring is called when production multiLinestring is exited.

func (*BaseCQLParserListener) ExitMultiPoint

func (s *BaseCQLParserListener) ExitMultiPoint(ctx *MultiPointContext)

ExitMultiPoint is called when production multiPoint is exited.

func (*BaseCQLParserListener) ExitMultiPolygon

func (s *BaseCQLParserListener) ExitMultiPolygon(ctx *MultiPolygonContext)

ExitMultiPolygon is called when production multiPolygon is exited.

func (*BaseCQLParserListener) ExitNumericLiteral

func (s *BaseCQLParserListener) ExitNumericLiteral(ctx *NumericLiteralContext)

ExitNumericLiteral is called when production numericLiteral is exited.

func (*BaseCQLParserListener) ExitPoint

func (s *BaseCQLParserListener) ExitPoint(ctx *PointContext)

ExitPoint is called when production point is exited.

func (*BaseCQLParserListener) ExitPointList

func (s *BaseCQLParserListener) ExitPointList(ctx *PointListContext)

ExitPointList is called when production pointList is exited.

func (*BaseCQLParserListener) ExitPolygon

func (s *BaseCQLParserListener) ExitPolygon(ctx *PolygonContext)

ExitPolygon is called when production polygon is exited.

func (*BaseCQLParserListener) ExitPolygonDef

func (s *BaseCQLParserListener) ExitPolygonDef(ctx *PolygonDefContext)

ExitPolygonDef is called when production polygonDef is exited.

func (*BaseCQLParserListener) ExitPredicate

func (s *BaseCQLParserListener) ExitPredicate(ctx *PredicateContext)

ExitPredicate is called when production predicate is exited.

func (*BaseCQLParserListener) ExitPredicateBetween

func (s *BaseCQLParserListener) ExitPredicateBetween(ctx *PredicateBetweenContext)

ExitPredicateBetween is called when production PredicateBetween is exited.

func (*BaseCQLParserListener) ExitPredicateBinaryComp

func (s *BaseCQLParserListener) ExitPredicateBinaryComp(ctx *PredicateBinaryCompContext)

ExitPredicateBinaryComp is called when production PredicateBinaryComp is exited.

func (*BaseCQLParserListener) ExitPredicateIn

func (s *BaseCQLParserListener) ExitPredicateIn(ctx *PredicateInContext)

ExitPredicateIn is called when production PredicateIn is exited.

func (*BaseCQLParserListener) ExitPredicateIsNull

func (s *BaseCQLParserListener) ExitPredicateIsNull(ctx *PredicateIsNullContext)

ExitPredicateIsNull is called when production PredicateIsNull is exited.

func (*BaseCQLParserListener) ExitPredicateLike

func (s *BaseCQLParserListener) ExitPredicateLike(ctx *PredicateLikeContext)

ExitPredicateLike is called when production PredicateLike is exited.

func (*BaseCQLParserListener) ExitPropertyName

func (s *BaseCQLParserListener) ExitPropertyName(ctx *PropertyNameContext)

ExitPropertyName is called when production propertyName is exited.

func (*BaseCQLParserListener) ExitScalarExpr

func (s *BaseCQLParserListener) ExitScalarExpr(ctx *ScalarExprContext)

ExitScalarExpr is called when production ScalarExpr is exited.

func (*BaseCQLParserListener) ExitScalarParen

func (s *BaseCQLParserListener) ExitScalarParen(ctx *ScalarParenContext)

ExitScalarParen is called when production ScalarParen is exited.

func (*BaseCQLParserListener) ExitScalarVal

func (s *BaseCQLParserListener) ExitScalarVal(ctx *ScalarValContext)

ExitScalarVal is called when production ScalarVal is exited.

func (*BaseCQLParserListener) ExitSpatialPredicate

func (s *BaseCQLParserListener) ExitSpatialPredicate(ctx *SpatialPredicateContext)

ExitSpatialPredicate is called when production spatialPredicate is exited.

func (*BaseCQLParserListener) ExitTemporalLiteral

func (s *BaseCQLParserListener) ExitTemporalLiteral(ctx *TemporalLiteralContext)

ExitTemporalLiteral is called when production temporalLiteral is exited.

func (*BaseCQLParserListener) VisitErrorNode

func (s *BaseCQLParserListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseCQLParserListener) VisitTerminal

func (s *BaseCQLParserListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BinaryComparisonPredicateContext

type BinaryComparisonPredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewBinaryComparisonPredicateContext

func NewBinaryComparisonPredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BinaryComparisonPredicateContext

func NewEmptyBinaryComparisonPredicateContext

func NewEmptyBinaryComparisonPredicateContext() *BinaryComparisonPredicateContext

func (*BinaryComparisonPredicateContext) AllScalarExpression

func (*BinaryComparisonPredicateContext) ComparisonOperator

func (s *BinaryComparisonPredicateContext) ComparisonOperator() antlr.TerminalNode

func (*BinaryComparisonPredicateContext) EnterRule

func (s *BinaryComparisonPredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*BinaryComparisonPredicateContext) ExitRule

func (s *BinaryComparisonPredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*BinaryComparisonPredicateContext) GetLeft

func (*BinaryComparisonPredicateContext) GetOp

func (s *BinaryComparisonPredicateContext) GetOp() antlr.Token

func (*BinaryComparisonPredicateContext) GetParser

func (s *BinaryComparisonPredicateContext) GetParser() antlr.Parser

func (*BinaryComparisonPredicateContext) GetRight

func (*BinaryComparisonPredicateContext) GetRuleContext

func (s *BinaryComparisonPredicateContext) GetRuleContext() antlr.RuleContext

func (*BinaryComparisonPredicateContext) IsBinaryComparisonPredicateContext

func (*BinaryComparisonPredicateContext) IsBinaryComparisonPredicateContext()

func (*BinaryComparisonPredicateContext) ScalarExpression

func (*BinaryComparisonPredicateContext) SetLeft

func (*BinaryComparisonPredicateContext) SetOp

func (s *BinaryComparisonPredicateContext) SetOp(v antlr.Token)

func (*BinaryComparisonPredicateContext) SetRight

func (*BinaryComparisonPredicateContext) ToStringTree

func (s *BinaryComparisonPredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BoolExprAndContext

type BoolExprAndContext struct {
	BooleanExpressionContext
	// contains filtered or unexported fields
}

func NewBoolExprAndContext

func NewBoolExprAndContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolExprAndContext

func (*BoolExprAndContext) AND

func (s *BoolExprAndContext) AND() antlr.TerminalNode

func (*BoolExprAndContext) AllBooleanExpression

func (s *BoolExprAndContext) AllBooleanExpression() []IBooleanExpressionContext

func (*BoolExprAndContext) BooleanExpression

func (s *BoolExprAndContext) BooleanExpression(i int) IBooleanExpressionContext

func (*BoolExprAndContext) EnterRule

func (s *BoolExprAndContext) EnterRule(listener antlr.ParseTreeListener)

func (*BoolExprAndContext) ExitRule

func (s *BoolExprAndContext) ExitRule(listener antlr.ParseTreeListener)

func (*BoolExprAndContext) GetLeft

func (*BoolExprAndContext) GetRight

func (*BoolExprAndContext) GetRuleContext

func (s *BoolExprAndContext) GetRuleContext() antlr.RuleContext

func (*BoolExprAndContext) SetLeft

func (*BoolExprAndContext) SetRight

type BoolExprNotContext

type BoolExprNotContext struct {
	BooleanExpressionContext
}

func NewBoolExprNotContext

func NewBoolExprNotContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolExprNotContext

func (*BoolExprNotContext) BooleanExpression

func (s *BoolExprNotContext) BooleanExpression() IBooleanExpressionContext

func (*BoolExprNotContext) EnterRule

func (s *BoolExprNotContext) EnterRule(listener antlr.ParseTreeListener)

func (*BoolExprNotContext) ExitRule

func (s *BoolExprNotContext) ExitRule(listener antlr.ParseTreeListener)

func (*BoolExprNotContext) GetRuleContext

func (s *BoolExprNotContext) GetRuleContext() antlr.RuleContext

func (*BoolExprNotContext) NOT

func (s *BoolExprNotContext) NOT() antlr.TerminalNode

type BoolExprOrContext

type BoolExprOrContext struct {
	BooleanExpressionContext
	// contains filtered or unexported fields
}

func NewBoolExprOrContext

func NewBoolExprOrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolExprOrContext

func (*BoolExprOrContext) AllBooleanExpression

func (s *BoolExprOrContext) AllBooleanExpression() []IBooleanExpressionContext

func (*BoolExprOrContext) BooleanExpression

func (s *BoolExprOrContext) BooleanExpression(i int) IBooleanExpressionContext

func (*BoolExprOrContext) EnterRule

func (s *BoolExprOrContext) EnterRule(listener antlr.ParseTreeListener)

func (*BoolExprOrContext) ExitRule

func (s *BoolExprOrContext) ExitRule(listener antlr.ParseTreeListener)

func (*BoolExprOrContext) GetLeft

func (*BoolExprOrContext) GetRight

func (*BoolExprOrContext) GetRuleContext

func (s *BoolExprOrContext) GetRuleContext() antlr.RuleContext

func (*BoolExprOrContext) OR

func (s *BoolExprOrContext) OR() antlr.TerminalNode

func (*BoolExprOrContext) SetLeft

func (*BoolExprOrContext) SetRight

type BoolExprParenContext

type BoolExprParenContext struct {
	BooleanExpressionContext
}

func NewBoolExprParenContext

func NewBoolExprParenContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolExprParenContext

func (*BoolExprParenContext) BooleanExpression

func (s *BoolExprParenContext) BooleanExpression() IBooleanExpressionContext

func (*BoolExprParenContext) EnterRule

func (s *BoolExprParenContext) EnterRule(listener antlr.ParseTreeListener)

func (*BoolExprParenContext) ExitRule

func (s *BoolExprParenContext) ExitRule(listener antlr.ParseTreeListener)

func (*BoolExprParenContext) GetRuleContext

func (s *BoolExprParenContext) GetRuleContext() antlr.RuleContext

func (*BoolExprParenContext) LEFTPAREN

func (s *BoolExprParenContext) LEFTPAREN() antlr.TerminalNode

func (*BoolExprParenContext) RIGHTPAREN

func (s *BoolExprParenContext) RIGHTPAREN() antlr.TerminalNode

type BoolExprTermContext

type BoolExprTermContext struct {
	BooleanExpressionContext
}

func NewBoolExprTermContext

func NewBoolExprTermContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolExprTermContext

func (*BoolExprTermContext) BooleanTerm

func (s *BoolExprTermContext) BooleanTerm() IBooleanTermContext

func (*BoolExprTermContext) EnterRule

func (s *BoolExprTermContext) EnterRule(listener antlr.ParseTreeListener)

func (*BoolExprTermContext) ExitRule

func (s *BoolExprTermContext) ExitRule(listener antlr.ParseTreeListener)

func (*BoolExprTermContext) GetRuleContext

func (s *BoolExprTermContext) GetRuleContext() antlr.RuleContext

type BooleanExpressionContext

type BooleanExpressionContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewBooleanExpressionContext

func NewBooleanExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanExpressionContext

func NewEmptyBooleanExpressionContext

func NewEmptyBooleanExpressionContext() *BooleanExpressionContext

func (*BooleanExpressionContext) CopyAll

func (*BooleanExpressionContext) GetParser

func (s *BooleanExpressionContext) GetParser() antlr.Parser

func (*BooleanExpressionContext) GetRuleContext

func (s *BooleanExpressionContext) GetRuleContext() antlr.RuleContext

func (*BooleanExpressionContext) IsBooleanExpressionContext

func (*BooleanExpressionContext) IsBooleanExpressionContext()

func (*BooleanExpressionContext) ToStringTree

func (s *BooleanExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BooleanLiteralContext

type BooleanLiteralContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewBooleanLiteralContext

func NewBooleanLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanLiteralContext

func NewEmptyBooleanLiteralContext

func NewEmptyBooleanLiteralContext() *BooleanLiteralContext

func (*BooleanLiteralContext) BooleanLiteral

func (s *BooleanLiteralContext) BooleanLiteral() antlr.TerminalNode

func (*BooleanLiteralContext) EnterRule

func (s *BooleanLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*BooleanLiteralContext) ExitRule

func (s *BooleanLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*BooleanLiteralContext) GetParser

func (s *BooleanLiteralContext) GetParser() antlr.Parser

func (*BooleanLiteralContext) GetRuleContext

func (s *BooleanLiteralContext) GetRuleContext() antlr.RuleContext

func (*BooleanLiteralContext) IsBooleanLiteralContext

func (*BooleanLiteralContext) IsBooleanLiteralContext()

func (*BooleanLiteralContext) ToStringTree

func (s *BooleanLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BooleanTermContext

type BooleanTermContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewBooleanTermContext

func NewBooleanTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanTermContext

func NewEmptyBooleanTermContext

func NewEmptyBooleanTermContext() *BooleanTermContext

func (*BooleanTermContext) BooleanLiteral

func (s *BooleanTermContext) BooleanLiteral() IBooleanLiteralContext

func (*BooleanTermContext) EnterRule

func (s *BooleanTermContext) EnterRule(listener antlr.ParseTreeListener)

func (*BooleanTermContext) ExitRule

func (s *BooleanTermContext) ExitRule(listener antlr.ParseTreeListener)

func (*BooleanTermContext) GetParser

func (s *BooleanTermContext) GetParser() antlr.Parser

func (*BooleanTermContext) GetRuleContext

func (s *BooleanTermContext) GetRuleContext() antlr.RuleContext

func (*BooleanTermContext) IsBooleanTermContext

func (*BooleanTermContext) IsBooleanTermContext()

func (*BooleanTermContext) Predicate

func (s *BooleanTermContext) Predicate() IPredicateContext

func (*BooleanTermContext) ToStringTree

func (s *BooleanTermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CQLParser

type CQLParser struct {
	*antlr.BaseParser
}

func NewCQLParser

func NewCQLParser(input antlr.TokenStream) *CQLParser

NewCQLParser produces a new parser instance for the optional input antlr.TokenStream.

func (*CQLParser) BinaryComparisonPredicate

func (p *CQLParser) BinaryComparisonPredicate() (localctx IBinaryComparisonPredicateContext)

func (*CQLParser) BooleanExpression

func (p *CQLParser) BooleanExpression() (localctx IBooleanExpressionContext)

func (*CQLParser) BooleanExpression_Sempred

func (p *CQLParser) BooleanExpression_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*CQLParser) BooleanLiteral

func (p *CQLParser) BooleanLiteral() (localctx IBooleanLiteralContext)

func (*CQLParser) BooleanTerm

func (p *CQLParser) BooleanTerm() (localctx IBooleanTermContext)

func (*CQLParser) CharacterLiteral

func (p *CQLParser) CharacterLiteral() (localctx ICharacterLiteralContext)

func (*CQLParser) ComparisonPredicate

func (p *CQLParser) ComparisonPredicate() (localctx IComparisonPredicateContext)

func (*CQLParser) CoordList

func (p *CQLParser) CoordList() (localctx ICoordListContext)

func (*CQLParser) Coordinate

func (p *CQLParser) Coordinate() (localctx ICoordinateContext)

func (*CQLParser) CqlFilter

func (p *CQLParser) CqlFilter() (localctx ICqlFilterContext)

func (*CQLParser) DistancePredicate

func (p *CQLParser) DistancePredicate() (localctx IDistancePredicateContext)

func (*CQLParser) Envelope

func (p *CQLParser) Envelope() (localctx IEnvelopeContext)

func (*CQLParser) GeomExpression

func (p *CQLParser) GeomExpression() (localctx IGeomExpressionContext)

func (*CQLParser) GeomLiteral

func (p *CQLParser) GeomLiteral() (localctx IGeomLiteralContext)

func (*CQLParser) GeometryCollection

func (p *CQLParser) GeometryCollection() (localctx IGeometryCollectionContext)

func (*CQLParser) IsBetweenPredicate

func (p *CQLParser) IsBetweenPredicate() (localctx IIsBetweenPredicateContext)

func (*CQLParser) IsInListPredicate

func (p *CQLParser) IsInListPredicate() (localctx IIsInListPredicateContext)

func (*CQLParser) IsLikePredicate

func (p *CQLParser) IsLikePredicate() (localctx IIsLikePredicateContext)

func (*CQLParser) IsNullPredicate

func (p *CQLParser) IsNullPredicate() (localctx IIsNullPredicateContext)

func (*CQLParser) Linestring

func (p *CQLParser) Linestring() (localctx ILinestringContext)

func (*CQLParser) MultiLinestring

func (p *CQLParser) MultiLinestring() (localctx IMultiLinestringContext)

func (*CQLParser) MultiPoint

func (p *CQLParser) MultiPoint() (localctx IMultiPointContext)

func (*CQLParser) MultiPolygon

func (p *CQLParser) MultiPolygon() (localctx IMultiPolygonContext)

func (*CQLParser) NumericLiteral

func (p *CQLParser) NumericLiteral() (localctx INumericLiteralContext)

func (*CQLParser) Point

func (p *CQLParser) Point() (localctx IPointContext)

func (*CQLParser) PointList

func (p *CQLParser) PointList() (localctx IPointListContext)

func (*CQLParser) Polygon

func (p *CQLParser) Polygon() (localctx IPolygonContext)

func (*CQLParser) PolygonDef

func (p *CQLParser) PolygonDef() (localctx IPolygonDefContext)

func (*CQLParser) Predicate

func (p *CQLParser) Predicate() (localctx IPredicateContext)

func (*CQLParser) PropertyName

func (p *CQLParser) PropertyName() (localctx IPropertyNameContext)

func (*CQLParser) ScalarExpression

func (p *CQLParser) ScalarExpression() (localctx IScalarExpressionContext)

func (*CQLParser) ScalarExpression_Sempred

func (p *CQLParser) ScalarExpression_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*CQLParser) ScalarValue

func (p *CQLParser) ScalarValue() (localctx IScalarValueContext)

func (*CQLParser) Sempred

func (p *CQLParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

func (*CQLParser) SpatialPredicate

func (p *CQLParser) SpatialPredicate() (localctx ISpatialPredicateContext)

func (*CQLParser) TemporalLiteral

func (p *CQLParser) TemporalLiteral() (localctx ITemporalLiteralContext)

type CQLParserListener

type CQLParserListener interface {
	antlr.ParseTreeListener

	// EnterCqlFilter is called when entering the cqlFilter production.
	EnterCqlFilter(c *CqlFilterContext)

	// EnterBoolExprParen is called when entering the BoolExprParen production.
	EnterBoolExprParen(c *BoolExprParenContext)

	// EnterBoolExprAnd is called when entering the BoolExprAnd production.
	EnterBoolExprAnd(c *BoolExprAndContext)

	// EnterBoolExprNot is called when entering the BoolExprNot production.
	EnterBoolExprNot(c *BoolExprNotContext)

	// EnterBoolExprTerm is called when entering the BoolExprTerm production.
	EnterBoolExprTerm(c *BoolExprTermContext)

	// EnterBoolExprOr is called when entering the BoolExprOr production.
	EnterBoolExprOr(c *BoolExprOrContext)

	// EnterBooleanTerm is called when entering the booleanTerm production.
	EnterBooleanTerm(c *BooleanTermContext)

	// EnterPredicate is called when entering the predicate production.
	EnterPredicate(c *PredicateContext)

	// EnterPredicateBinaryComp is called when entering the PredicateBinaryComp production.
	EnterPredicateBinaryComp(c *PredicateBinaryCompContext)

	// EnterPredicateLike is called when entering the PredicateLike production.
	EnterPredicateLike(c *PredicateLikeContext)

	// EnterPredicateBetween is called when entering the PredicateBetween production.
	EnterPredicateBetween(c *PredicateBetweenContext)

	// EnterPredicateIn is called when entering the PredicateIn production.
	EnterPredicateIn(c *PredicateInContext)

	// EnterPredicateIsNull is called when entering the PredicateIsNull production.
	EnterPredicateIsNull(c *PredicateIsNullContext)

	// EnterBinaryComparisonPredicate is called when entering the binaryComparisonPredicate production.
	EnterBinaryComparisonPredicate(c *BinaryComparisonPredicateContext)

	// EnterIsLikePredicate is called when entering the isLikePredicate production.
	EnterIsLikePredicate(c *IsLikePredicateContext)

	// EnterIsBetweenPredicate is called when entering the isBetweenPredicate production.
	EnterIsBetweenPredicate(c *IsBetweenPredicateContext)

	// EnterIsInListPredicate is called when entering the isInListPredicate production.
	EnterIsInListPredicate(c *IsInListPredicateContext)

	// EnterIsNullPredicate is called when entering the isNullPredicate production.
	EnterIsNullPredicate(c *IsNullPredicateContext)

	// EnterScalarExpr is called when entering the ScalarExpr production.
	EnterScalarExpr(c *ScalarExprContext)

	// EnterScalarVal is called when entering the ScalarVal production.
	EnterScalarVal(c *ScalarValContext)

	// EnterScalarParen is called when entering the ScalarParen production.
	EnterScalarParen(c *ScalarParenContext)

	// EnterLiteralName is called when entering the LiteralName production.
	EnterLiteralName(c *LiteralNameContext)

	// EnterLiteralString is called when entering the LiteralString production.
	EnterLiteralString(c *LiteralStringContext)

	// EnterLiteralNumeric is called when entering the LiteralNumeric production.
	EnterLiteralNumeric(c *LiteralNumericContext)

	// EnterLiteralBoolean is called when entering the LiteralBoolean production.
	EnterLiteralBoolean(c *LiteralBooleanContext)

	// EnterLiteralTemporal is called when entering the LiteralTemporal production.
	EnterLiteralTemporal(c *LiteralTemporalContext)

	// EnterPropertyName is called when entering the propertyName production.
	EnterPropertyName(c *PropertyNameContext)

	// EnterCharacterLiteral is called when entering the characterLiteral production.
	EnterCharacterLiteral(c *CharacterLiteralContext)

	// EnterNumericLiteral is called when entering the numericLiteral production.
	EnterNumericLiteral(c *NumericLiteralContext)

	// EnterBooleanLiteral is called when entering the booleanLiteral production.
	EnterBooleanLiteral(c *BooleanLiteralContext)

	// EnterTemporalLiteral is called when entering the temporalLiteral production.
	EnterTemporalLiteral(c *TemporalLiteralContext)

	// EnterSpatialPredicate is called when entering the spatialPredicate production.
	EnterSpatialPredicate(c *SpatialPredicateContext)

	// EnterDistancePredicate is called when entering the distancePredicate production.
	EnterDistancePredicate(c *DistancePredicateContext)

	// EnterGeomExpression is called when entering the geomExpression production.
	EnterGeomExpression(c *GeomExpressionContext)

	// EnterGeomLiteral is called when entering the geomLiteral production.
	EnterGeomLiteral(c *GeomLiteralContext)

	// EnterPoint is called when entering the point production.
	EnterPoint(c *PointContext)

	// EnterPointList is called when entering the pointList production.
	EnterPointList(c *PointListContext)

	// EnterLinestring is called when entering the linestring production.
	EnterLinestring(c *LinestringContext)

	// EnterPolygon is called when entering the polygon production.
	EnterPolygon(c *PolygonContext)

	// EnterPolygonDef is called when entering the polygonDef production.
	EnterPolygonDef(c *PolygonDefContext)

	// EnterMultiPoint is called when entering the multiPoint production.
	EnterMultiPoint(c *MultiPointContext)

	// EnterMultiLinestring is called when entering the multiLinestring production.
	EnterMultiLinestring(c *MultiLinestringContext)

	// EnterMultiPolygon is called when entering the multiPolygon production.
	EnterMultiPolygon(c *MultiPolygonContext)

	// EnterGeometryCollection is called when entering the geometryCollection production.
	EnterGeometryCollection(c *GeometryCollectionContext)

	// EnterEnvelope is called when entering the envelope production.
	EnterEnvelope(c *EnvelopeContext)

	// EnterCoordList is called when entering the coordList production.
	EnterCoordList(c *CoordListContext)

	// EnterCoordinate is called when entering the coordinate production.
	EnterCoordinate(c *CoordinateContext)

	// ExitCqlFilter is called when exiting the cqlFilter production.
	ExitCqlFilter(c *CqlFilterContext)

	// ExitBoolExprParen is called when exiting the BoolExprParen production.
	ExitBoolExprParen(c *BoolExprParenContext)

	// ExitBoolExprAnd is called when exiting the BoolExprAnd production.
	ExitBoolExprAnd(c *BoolExprAndContext)

	// ExitBoolExprNot is called when exiting the BoolExprNot production.
	ExitBoolExprNot(c *BoolExprNotContext)

	// ExitBoolExprTerm is called when exiting the BoolExprTerm production.
	ExitBoolExprTerm(c *BoolExprTermContext)

	// ExitBoolExprOr is called when exiting the BoolExprOr production.
	ExitBoolExprOr(c *BoolExprOrContext)

	// ExitBooleanTerm is called when exiting the booleanTerm production.
	ExitBooleanTerm(c *BooleanTermContext)

	// ExitPredicate is called when exiting the predicate production.
	ExitPredicate(c *PredicateContext)

	// ExitPredicateBinaryComp is called when exiting the PredicateBinaryComp production.
	ExitPredicateBinaryComp(c *PredicateBinaryCompContext)

	// ExitPredicateLike is called when exiting the PredicateLike production.
	ExitPredicateLike(c *PredicateLikeContext)

	// ExitPredicateBetween is called when exiting the PredicateBetween production.
	ExitPredicateBetween(c *PredicateBetweenContext)

	// ExitPredicateIn is called when exiting the PredicateIn production.
	ExitPredicateIn(c *PredicateInContext)

	// ExitPredicateIsNull is called when exiting the PredicateIsNull production.
	ExitPredicateIsNull(c *PredicateIsNullContext)

	// ExitBinaryComparisonPredicate is called when exiting the binaryComparisonPredicate production.
	ExitBinaryComparisonPredicate(c *BinaryComparisonPredicateContext)

	// ExitIsLikePredicate is called when exiting the isLikePredicate production.
	ExitIsLikePredicate(c *IsLikePredicateContext)

	// ExitIsBetweenPredicate is called when exiting the isBetweenPredicate production.
	ExitIsBetweenPredicate(c *IsBetweenPredicateContext)

	// ExitIsInListPredicate is called when exiting the isInListPredicate production.
	ExitIsInListPredicate(c *IsInListPredicateContext)

	// ExitIsNullPredicate is called when exiting the isNullPredicate production.
	ExitIsNullPredicate(c *IsNullPredicateContext)

	// ExitScalarExpr is called when exiting the ScalarExpr production.
	ExitScalarExpr(c *ScalarExprContext)

	// ExitScalarVal is called when exiting the ScalarVal production.
	ExitScalarVal(c *ScalarValContext)

	// ExitScalarParen is called when exiting the ScalarParen production.
	ExitScalarParen(c *ScalarParenContext)

	// ExitLiteralName is called when exiting the LiteralName production.
	ExitLiteralName(c *LiteralNameContext)

	// ExitLiteralString is called when exiting the LiteralString production.
	ExitLiteralString(c *LiteralStringContext)

	// ExitLiteralNumeric is called when exiting the LiteralNumeric production.
	ExitLiteralNumeric(c *LiteralNumericContext)

	// ExitLiteralBoolean is called when exiting the LiteralBoolean production.
	ExitLiteralBoolean(c *LiteralBooleanContext)

	// ExitLiteralTemporal is called when exiting the LiteralTemporal production.
	ExitLiteralTemporal(c *LiteralTemporalContext)

	// ExitPropertyName is called when exiting the propertyName production.
	ExitPropertyName(c *PropertyNameContext)

	// ExitCharacterLiteral is called when exiting the characterLiteral production.
	ExitCharacterLiteral(c *CharacterLiteralContext)

	// ExitNumericLiteral is called when exiting the numericLiteral production.
	ExitNumericLiteral(c *NumericLiteralContext)

	// ExitBooleanLiteral is called when exiting the booleanLiteral production.
	ExitBooleanLiteral(c *BooleanLiteralContext)

	// ExitTemporalLiteral is called when exiting the temporalLiteral production.
	ExitTemporalLiteral(c *TemporalLiteralContext)

	// ExitSpatialPredicate is called when exiting the spatialPredicate production.
	ExitSpatialPredicate(c *SpatialPredicateContext)

	// ExitDistancePredicate is called when exiting the distancePredicate production.
	ExitDistancePredicate(c *DistancePredicateContext)

	// ExitGeomExpression is called when exiting the geomExpression production.
	ExitGeomExpression(c *GeomExpressionContext)

	// ExitGeomLiteral is called when exiting the geomLiteral production.
	ExitGeomLiteral(c *GeomLiteralContext)

	// ExitPoint is called when exiting the point production.
	ExitPoint(c *PointContext)

	// ExitPointList is called when exiting the pointList production.
	ExitPointList(c *PointListContext)

	// ExitLinestring is called when exiting the linestring production.
	ExitLinestring(c *LinestringContext)

	// ExitPolygon is called when exiting the polygon production.
	ExitPolygon(c *PolygonContext)

	// ExitPolygonDef is called when exiting the polygonDef production.
	ExitPolygonDef(c *PolygonDefContext)

	// ExitMultiPoint is called when exiting the multiPoint production.
	ExitMultiPoint(c *MultiPointContext)

	// ExitMultiLinestring is called when exiting the multiLinestring production.
	ExitMultiLinestring(c *MultiLinestringContext)

	// ExitMultiPolygon is called when exiting the multiPolygon production.
	ExitMultiPolygon(c *MultiPolygonContext)

	// ExitGeometryCollection is called when exiting the geometryCollection production.
	ExitGeometryCollection(c *GeometryCollectionContext)

	// ExitEnvelope is called when exiting the envelope production.
	ExitEnvelope(c *EnvelopeContext)

	// ExitCoordList is called when exiting the coordList production.
	ExitCoordList(c *CoordListContext)

	// ExitCoordinate is called when exiting the coordinate production.
	ExitCoordinate(c *CoordinateContext)
}

CQLParserListener is a complete listener for a parse tree produced by CQLParser.

type CharacterLiteralContext

type CharacterLiteralContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewCharacterLiteralContext

func NewCharacterLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CharacterLiteralContext

func NewEmptyCharacterLiteralContext

func NewEmptyCharacterLiteralContext() *CharacterLiteralContext

func (*CharacterLiteralContext) CharacterStringLiteral

func (s *CharacterLiteralContext) CharacterStringLiteral() antlr.TerminalNode

func (*CharacterLiteralContext) EnterRule

func (s *CharacterLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*CharacterLiteralContext) ExitRule

func (s *CharacterLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*CharacterLiteralContext) GetParser

func (s *CharacterLiteralContext) GetParser() antlr.Parser

func (*CharacterLiteralContext) GetRuleContext

func (s *CharacterLiteralContext) GetRuleContext() antlr.RuleContext

func (*CharacterLiteralContext) IsCharacterLiteralContext

func (*CharacterLiteralContext) IsCharacterLiteralContext()

func (*CharacterLiteralContext) ToStringTree

func (s *CharacterLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ComparisonPredicateContext

type ComparisonPredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewComparisonPredicateContext

func NewComparisonPredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparisonPredicateContext

func NewEmptyComparisonPredicateContext

func NewEmptyComparisonPredicateContext() *ComparisonPredicateContext

func (*ComparisonPredicateContext) CopyAll

func (*ComparisonPredicateContext) GetParser

func (s *ComparisonPredicateContext) GetParser() antlr.Parser

func (*ComparisonPredicateContext) GetRuleContext

func (s *ComparisonPredicateContext) GetRuleContext() antlr.RuleContext

func (*ComparisonPredicateContext) IsComparisonPredicateContext

func (*ComparisonPredicateContext) IsComparisonPredicateContext()

func (*ComparisonPredicateContext) ToStringTree

func (s *ComparisonPredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CoordListContext

type CoordListContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewCoordListContext

func NewCoordListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CoordListContext

func NewEmptyCoordListContext

func NewEmptyCoordListContext() *CoordListContext

func (*CoordListContext) AllCOMMA

func (s *CoordListContext) AllCOMMA() []antlr.TerminalNode

func (*CoordListContext) AllCoordinate

func (s *CoordListContext) AllCoordinate() []ICoordinateContext

func (*CoordListContext) COMMA

func (s *CoordListContext) COMMA(i int) antlr.TerminalNode

func (*CoordListContext) Coordinate

func (s *CoordListContext) Coordinate(i int) ICoordinateContext

func (*CoordListContext) EnterRule

func (s *CoordListContext) EnterRule(listener antlr.ParseTreeListener)

func (*CoordListContext) ExitRule

func (s *CoordListContext) ExitRule(listener antlr.ParseTreeListener)

func (*CoordListContext) GetParser

func (s *CoordListContext) GetParser() antlr.Parser

func (*CoordListContext) GetRuleContext

func (s *CoordListContext) GetRuleContext() antlr.RuleContext

func (*CoordListContext) IsCoordListContext

func (*CoordListContext) IsCoordListContext()

func (*CoordListContext) LEFTPAREN

func (s *CoordListContext) LEFTPAREN() antlr.TerminalNode

func (*CoordListContext) RIGHTPAREN

func (s *CoordListContext) RIGHTPAREN() antlr.TerminalNode

func (*CoordListContext) ToStringTree

func (s *CoordListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CoordinateContext

type CoordinateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewCoordinateContext

func NewCoordinateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CoordinateContext

func NewEmptyCoordinateContext

func NewEmptyCoordinateContext() *CoordinateContext

func (*CoordinateContext) AllNumericLiteral

func (s *CoordinateContext) AllNumericLiteral() []antlr.TerminalNode

func (*CoordinateContext) EnterRule

func (s *CoordinateContext) EnterRule(listener antlr.ParseTreeListener)

func (*CoordinateContext) ExitRule

func (s *CoordinateContext) ExitRule(listener antlr.ParseTreeListener)

func (*CoordinateContext) GetParser

func (s *CoordinateContext) GetParser() antlr.Parser

func (*CoordinateContext) GetRuleContext

func (s *CoordinateContext) GetRuleContext() antlr.RuleContext

func (*CoordinateContext) IsCoordinateContext

func (*CoordinateContext) IsCoordinateContext()

func (*CoordinateContext) NumericLiteral

func (s *CoordinateContext) NumericLiteral(i int) antlr.TerminalNode

func (*CoordinateContext) ToStringTree

func (s *CoordinateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CqlContext

type CqlContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

========================================

func NewCqlContext

func NewCqlContext(parent antlr.ParserRuleContext, invokingStateNumber int) *CqlContext

func (*CqlContext) GetSql

func (c *CqlContext) GetSql() string

func (*CqlContext) SetSql

func (c *CqlContext) SetSql(sql string)

type CqlErrorListener

type CqlErrorListener struct {
	*antlr.DefaultErrorListener
	// contains filtered or unexported fields
}

======================================

func (*CqlErrorListener) ReportAmbiguity

func (l *CqlErrorListener) ReportAmbiguity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, exact bool, ambigAlts *antlr.BitSet, configs *antlr.ATNConfigSet)

func (*CqlErrorListener) ReportAttemptingFullContext

func (l *CqlErrorListener) ReportAttemptingFullContext(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, conflictingAlts *antlr.BitSet, configs *antlr.ATNConfigSet)

func (*CqlErrorListener) ReportContextSensitivity

func (l *CqlErrorListener) ReportContextSensitivity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex, prediction int, configs *antlr.ATNConfigSet)

func (*CqlErrorListener) SyntaxError

func (l *CqlErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)

type CqlFilterContext

type CqlFilterContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewCqlFilterContext

func NewCqlFilterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CqlFilterContext

func NewEmptyCqlFilterContext

func NewEmptyCqlFilterContext() *CqlFilterContext

func (*CqlFilterContext) BooleanExpression

func (s *CqlFilterContext) BooleanExpression() IBooleanExpressionContext

func (*CqlFilterContext) EOF

func (s *CqlFilterContext) EOF() antlr.TerminalNode

func (*CqlFilterContext) EnterRule

func (s *CqlFilterContext) EnterRule(listener antlr.ParseTreeListener)

func (*CqlFilterContext) ExitRule

func (s *CqlFilterContext) ExitRule(listener antlr.ParseTreeListener)

func (*CqlFilterContext) GetParser

func (s *CqlFilterContext) GetParser() antlr.Parser

func (*CqlFilterContext) GetRuleContext

func (s *CqlFilterContext) GetRuleContext() antlr.RuleContext

func (*CqlFilterContext) IsCqlFilterContext

func (*CqlFilterContext) IsCqlFilterContext()

func (*CqlFilterContext) ToStringTree

func (s *CqlFilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CqlLexer

type CqlLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewCqlLexer

func NewCqlLexer(input antlr.CharStream) *CqlLexer

NewCqlLexer produces a new lexer instance for the optional input antlr.CharStream.

type DistancePredicateContext

type DistancePredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewDistancePredicateContext

func NewDistancePredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DistancePredicateContext

func NewEmptyDistancePredicateContext

func NewEmptyDistancePredicateContext() *DistancePredicateContext

func (*DistancePredicateContext) AllCOMMA

func (s *DistancePredicateContext) AllCOMMA() []antlr.TerminalNode

func (*DistancePredicateContext) AllGeomExpression

func (s *DistancePredicateContext) AllGeomExpression() []IGeomExpressionContext

func (*DistancePredicateContext) COMMA

func (s *DistancePredicateContext) COMMA(i int) antlr.TerminalNode

func (*DistancePredicateContext) DistanceOperator

func (s *DistancePredicateContext) DistanceOperator() antlr.TerminalNode

func (*DistancePredicateContext) EnterRule

func (s *DistancePredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*DistancePredicateContext) ExitRule

func (s *DistancePredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*DistancePredicateContext) GeomExpression

func (*DistancePredicateContext) GetParser

func (s *DistancePredicateContext) GetParser() antlr.Parser

func (*DistancePredicateContext) GetRuleContext

func (s *DistancePredicateContext) GetRuleContext() antlr.RuleContext

func (*DistancePredicateContext) IsDistancePredicateContext

func (*DistancePredicateContext) IsDistancePredicateContext()

func (*DistancePredicateContext) LEFTPAREN

func (s *DistancePredicateContext) LEFTPAREN() antlr.TerminalNode

func (*DistancePredicateContext) NumericLiteral

func (s *DistancePredicateContext) NumericLiteral() antlr.TerminalNode

func (*DistancePredicateContext) RIGHTPAREN

func (s *DistancePredicateContext) RIGHTPAREN() antlr.TerminalNode

func (*DistancePredicateContext) ToStringTree

func (s *DistancePredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type EnvelopeContext

type EnvelopeContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyEnvelopeContext

func NewEmptyEnvelopeContext() *EnvelopeContext

func NewEnvelopeContext

func NewEnvelopeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnvelopeContext

func (*EnvelopeContext) AllCOMMA

func (s *EnvelopeContext) AllCOMMA() []antlr.TerminalNode

func (*EnvelopeContext) AllNumericLiteral

func (s *EnvelopeContext) AllNumericLiteral() []antlr.TerminalNode

func (*EnvelopeContext) COMMA

func (s *EnvelopeContext) COMMA(i int) antlr.TerminalNode

func (*EnvelopeContext) ENVELOPE

func (s *EnvelopeContext) ENVELOPE() antlr.TerminalNode

func (*EnvelopeContext) EnterRule

func (s *EnvelopeContext) EnterRule(listener antlr.ParseTreeListener)

func (*EnvelopeContext) ExitRule

func (s *EnvelopeContext) ExitRule(listener antlr.ParseTreeListener)

func (*EnvelopeContext) GetParser

func (s *EnvelopeContext) GetParser() antlr.Parser

func (*EnvelopeContext) GetRuleContext

func (s *EnvelopeContext) GetRuleContext() antlr.RuleContext

func (*EnvelopeContext) IsEnvelopeContext

func (*EnvelopeContext) IsEnvelopeContext()

func (*EnvelopeContext) LEFTPAREN

func (s *EnvelopeContext) LEFTPAREN() antlr.TerminalNode

func (*EnvelopeContext) NumericLiteral

func (s *EnvelopeContext) NumericLiteral(i int) antlr.TerminalNode

func (*EnvelopeContext) RIGHTPAREN

func (s *EnvelopeContext) RIGHTPAREN() antlr.TerminalNode

func (*EnvelopeContext) ToStringTree

func (s *EnvelopeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type GeomExpressionContext

type GeomExpressionContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyGeomExpressionContext

func NewEmptyGeomExpressionContext() *GeomExpressionContext

func NewGeomExpressionContext

func NewGeomExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GeomExpressionContext

func (*GeomExpressionContext) EnterRule

func (s *GeomExpressionContext) EnterRule(listener antlr.ParseTreeListener)

func (*GeomExpressionContext) ExitRule

func (s *GeomExpressionContext) ExitRule(listener antlr.ParseTreeListener)

func (*GeomExpressionContext) GeomLiteral

func (s *GeomExpressionContext) GeomLiteral() IGeomLiteralContext

func (*GeomExpressionContext) GetParser

func (s *GeomExpressionContext) GetParser() antlr.Parser

func (*GeomExpressionContext) GetRuleContext

func (s *GeomExpressionContext) GetRuleContext() antlr.RuleContext

func (*GeomExpressionContext) IsGeomExpressionContext

func (*GeomExpressionContext) IsGeomExpressionContext()

func (*GeomExpressionContext) PropertyName

func (s *GeomExpressionContext) PropertyName() IPropertyNameContext

func (*GeomExpressionContext) ToStringTree

func (s *GeomExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type GeomLiteralContext

type GeomLiteralContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyGeomLiteralContext

func NewEmptyGeomLiteralContext() *GeomLiteralContext

func NewGeomLiteralContext

func NewGeomLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GeomLiteralContext

func (*GeomLiteralContext) EnterRule

func (s *GeomLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*GeomLiteralContext) Envelope

func (s *GeomLiteralContext) Envelope() IEnvelopeContext

func (*GeomLiteralContext) ExitRule

func (s *GeomLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*GeomLiteralContext) GeometryCollection

func (s *GeomLiteralContext) GeometryCollection() IGeometryCollectionContext

func (*GeomLiteralContext) GetParser

func (s *GeomLiteralContext) GetParser() antlr.Parser

func (*GeomLiteralContext) GetRuleContext

func (s *GeomLiteralContext) GetRuleContext() antlr.RuleContext

func (*GeomLiteralContext) IsGeomLiteralContext

func (*GeomLiteralContext) IsGeomLiteralContext()

func (*GeomLiteralContext) Linestring

func (s *GeomLiteralContext) Linestring() ILinestringContext

func (*GeomLiteralContext) MultiLinestring

func (s *GeomLiteralContext) MultiLinestring() IMultiLinestringContext

func (*GeomLiteralContext) MultiPoint

func (s *GeomLiteralContext) MultiPoint() IMultiPointContext

func (*GeomLiteralContext) MultiPolygon

func (s *GeomLiteralContext) MultiPolygon() IMultiPolygonContext

func (*GeomLiteralContext) Point

func (s *GeomLiteralContext) Point() IPointContext

func (*GeomLiteralContext) Polygon

func (s *GeomLiteralContext) Polygon() IPolygonContext

func (*GeomLiteralContext) ToStringTree

func (s *GeomLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type GeometryCollectionContext

type GeometryCollectionContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyGeometryCollectionContext

func NewEmptyGeometryCollectionContext() *GeometryCollectionContext

func NewGeometryCollectionContext

func NewGeometryCollectionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GeometryCollectionContext

func (*GeometryCollectionContext) AllCOMMA

func (s *GeometryCollectionContext) AllCOMMA() []antlr.TerminalNode

func (*GeometryCollectionContext) AllGeomLiteral

func (s *GeometryCollectionContext) AllGeomLiteral() []IGeomLiteralContext

func (*GeometryCollectionContext) COMMA

func (s *GeometryCollectionContext) COMMA(i int) antlr.TerminalNode

func (*GeometryCollectionContext) EnterRule

func (s *GeometryCollectionContext) EnterRule(listener antlr.ParseTreeListener)

func (*GeometryCollectionContext) ExitRule

func (s *GeometryCollectionContext) ExitRule(listener antlr.ParseTreeListener)

func (*GeometryCollectionContext) GEOMETRYCOLLECTION

func (s *GeometryCollectionContext) GEOMETRYCOLLECTION() antlr.TerminalNode

func (*GeometryCollectionContext) GeomLiteral

func (*GeometryCollectionContext) GetParser

func (s *GeometryCollectionContext) GetParser() antlr.Parser

func (*GeometryCollectionContext) GetRuleContext

func (s *GeometryCollectionContext) GetRuleContext() antlr.RuleContext

func (*GeometryCollectionContext) IsGeometryCollectionContext

func (*GeometryCollectionContext) IsGeometryCollectionContext()

func (*GeometryCollectionContext) LEFTPAREN

func (s *GeometryCollectionContext) LEFTPAREN() antlr.TerminalNode

func (*GeometryCollectionContext) RIGHTPAREN

func (s *GeometryCollectionContext) RIGHTPAREN() antlr.TerminalNode

func (*GeometryCollectionContext) ToStringTree

func (s *GeometryCollectionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IBinaryComparisonPredicateContext

type IBinaryComparisonPredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// GetLeft returns the left rule contexts.
	GetLeft() IScalarExpressionContext

	// GetRight returns the right rule contexts.
	GetRight() IScalarExpressionContext

	// SetLeft sets the left rule contexts.
	SetLeft(IScalarExpressionContext)

	// SetRight sets the right rule contexts.
	SetRight(IScalarExpressionContext)

	// Getter signatures
	AllScalarExpression() []IScalarExpressionContext
	ScalarExpression(i int) IScalarExpressionContext
	ComparisonOperator() antlr.TerminalNode

	// IsBinaryComparisonPredicateContext differentiates from other interfaces.
	IsBinaryComparisonPredicateContext()
}

IBinaryComparisonPredicateContext is an interface to support dynamic dispatch.

type IBooleanExpressionContext

type IBooleanExpressionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsBooleanExpressionContext differentiates from other interfaces.
	IsBooleanExpressionContext()
}

IBooleanExpressionContext is an interface to support dynamic dispatch.

type IBooleanLiteralContext

type IBooleanLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	BooleanLiteral() antlr.TerminalNode

	// IsBooleanLiteralContext differentiates from other interfaces.
	IsBooleanLiteralContext()
}

IBooleanLiteralContext is an interface to support dynamic dispatch.

type IBooleanTermContext

type IBooleanTermContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Predicate() IPredicateContext
	BooleanLiteral() IBooleanLiteralContext

	// IsBooleanTermContext differentiates from other interfaces.
	IsBooleanTermContext()
}

IBooleanTermContext is an interface to support dynamic dispatch.

type ICharacterLiteralContext

type ICharacterLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	CharacterStringLiteral() antlr.TerminalNode

	// IsCharacterLiteralContext differentiates from other interfaces.
	IsCharacterLiteralContext()
}

ICharacterLiteralContext is an interface to support dynamic dispatch.

type IComparisonPredicateContext

type IComparisonPredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsComparisonPredicateContext differentiates from other interfaces.
	IsComparisonPredicateContext()
}

IComparisonPredicateContext is an interface to support dynamic dispatch.

type ICoordListContext

type ICoordListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	LEFTPAREN() antlr.TerminalNode
	AllCoordinate() []ICoordinateContext
	Coordinate(i int) ICoordinateContext
	RIGHTPAREN() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// IsCoordListContext differentiates from other interfaces.
	IsCoordListContext()
}

ICoordListContext is an interface to support dynamic dispatch.

type ICoordinateContext

type ICoordinateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllNumericLiteral() []antlr.TerminalNode
	NumericLiteral(i int) antlr.TerminalNode

	// IsCoordinateContext differentiates from other interfaces.
	IsCoordinateContext()
}

ICoordinateContext is an interface to support dynamic dispatch.

type ICqlFilterContext

type ICqlFilterContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	BooleanExpression() IBooleanExpressionContext
	EOF() antlr.TerminalNode

	// IsCqlFilterContext differentiates from other interfaces.
	IsCqlFilterContext()
}

ICqlFilterContext is an interface to support dynamic dispatch.

type IDistancePredicateContext

type IDistancePredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	DistanceOperator() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	AllGeomExpression() []IGeomExpressionContext
	GeomExpression(i int) IGeomExpressionContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode
	NumericLiteral() antlr.TerminalNode
	RIGHTPAREN() antlr.TerminalNode

	// IsDistancePredicateContext differentiates from other interfaces.
	IsDistancePredicateContext()
}

IDistancePredicateContext is an interface to support dynamic dispatch.

type IEnvelopeContext

type IEnvelopeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	ENVELOPE() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	AllNumericLiteral() []antlr.TerminalNode
	NumericLiteral(i int) antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode
	RIGHTPAREN() antlr.TerminalNode

	// IsEnvelopeContext differentiates from other interfaces.
	IsEnvelopeContext()
}

IEnvelopeContext is an interface to support dynamic dispatch.

type IGeomExpressionContext

type IGeomExpressionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	PropertyName() IPropertyNameContext
	GeomLiteral() IGeomLiteralContext

	// IsGeomExpressionContext differentiates from other interfaces.
	IsGeomExpressionContext()
}

IGeomExpressionContext is an interface to support dynamic dispatch.

type IGeomLiteralContext

type IGeomLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Point() IPointContext
	Linestring() ILinestringContext
	Polygon() IPolygonContext
	MultiPoint() IMultiPointContext
	MultiLinestring() IMultiLinestringContext
	MultiPolygon() IMultiPolygonContext
	GeometryCollection() IGeometryCollectionContext
	Envelope() IEnvelopeContext

	// IsGeomLiteralContext differentiates from other interfaces.
	IsGeomLiteralContext()
}

IGeomLiteralContext is an interface to support dynamic dispatch.

type IGeometryCollectionContext

type IGeometryCollectionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	GEOMETRYCOLLECTION() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	AllGeomLiteral() []IGeomLiteralContext
	GeomLiteral(i int) IGeomLiteralContext
	RIGHTPAREN() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// IsGeometryCollectionContext differentiates from other interfaces.
	IsGeometryCollectionContext()
}

IGeometryCollectionContext is an interface to support dynamic dispatch.

type IIsBetweenPredicateContext

type IIsBetweenPredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllScalarExpression() []IScalarExpressionContext
	ScalarExpression(i int) IScalarExpressionContext
	BETWEEN() antlr.TerminalNode
	AND() antlr.TerminalNode
	NOT() antlr.TerminalNode

	// IsIsBetweenPredicateContext differentiates from other interfaces.
	IsIsBetweenPredicateContext()
}

IIsBetweenPredicateContext is an interface to support dynamic dispatch.

type IIsInListPredicateContext

type IIsInListPredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	PropertyName() IPropertyNameContext
	IN() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	RIGHTPAREN() antlr.TerminalNode
	AllCharacterLiteral() []ICharacterLiteralContext
	CharacterLiteral(i int) ICharacterLiteralContext
	AllNumericLiteral() []INumericLiteralContext
	NumericLiteral(i int) INumericLiteralContext
	NOT() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// IsIsInListPredicateContext differentiates from other interfaces.
	IsIsInListPredicateContext()
}

IIsInListPredicateContext is an interface to support dynamic dispatch.

type IIsLikePredicateContext

type IIsLikePredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	PropertyName() IPropertyNameContext
	CharacterLiteral() ICharacterLiteralContext
	LIKE() antlr.TerminalNode
	ILIKE() antlr.TerminalNode
	NOT() antlr.TerminalNode

	// IsIsLikePredicateContext differentiates from other interfaces.
	IsIsLikePredicateContext()
}

IIsLikePredicateContext is an interface to support dynamic dispatch.

type IIsNullPredicateContext

type IIsNullPredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	PropertyName() IPropertyNameContext
	IS() antlr.TerminalNode
	NULL() antlr.TerminalNode
	NOT() antlr.TerminalNode

	// IsIsNullPredicateContext differentiates from other interfaces.
	IsIsNullPredicateContext()
}

IIsNullPredicateContext is an interface to support dynamic dispatch.

type ILinestringContext

type ILinestringContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	LINESTRING() antlr.TerminalNode
	CoordList() ICoordListContext

	// IsLinestringContext differentiates from other interfaces.
	IsLinestringContext()
}

ILinestringContext is an interface to support dynamic dispatch.

type IMultiLinestringContext

type IMultiLinestringContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	MULTILINESTRING() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	AllCoordList() []ICoordListContext
	CoordList(i int) ICoordListContext
	RIGHTPAREN() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// IsMultiLinestringContext differentiates from other interfaces.
	IsMultiLinestringContext()
}

IMultiLinestringContext is an interface to support dynamic dispatch.

type IMultiPointContext

type IMultiPointContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	MULTIPOINT() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	AllPointList() []IPointListContext
	PointList(i int) IPointListContext
	RIGHTPAREN() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// IsMultiPointContext differentiates from other interfaces.
	IsMultiPointContext()
}

IMultiPointContext is an interface to support dynamic dispatch.

type IMultiPolygonContext

type IMultiPolygonContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	MULTIPOLYGON() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	AllPolygonDef() []IPolygonDefContext
	PolygonDef(i int) IPolygonDefContext
	RIGHTPAREN() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// IsMultiPolygonContext differentiates from other interfaces.
	IsMultiPolygonContext()
}

IMultiPolygonContext is an interface to support dynamic dispatch.

type INumericLiteralContext

type INumericLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	NumericLiteral() antlr.TerminalNode

	// IsNumericLiteralContext differentiates from other interfaces.
	IsNumericLiteralContext()
}

INumericLiteralContext is an interface to support dynamic dispatch.

type IPointContext

type IPointContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	POINT() antlr.TerminalNode
	PointList() IPointListContext

	// IsPointContext differentiates from other interfaces.
	IsPointContext()
}

IPointContext is an interface to support dynamic dispatch.

type IPointListContext

type IPointListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	LEFTPAREN() antlr.TerminalNode
	Coordinate() ICoordinateContext
	RIGHTPAREN() antlr.TerminalNode

	// IsPointListContext differentiates from other interfaces.
	IsPointListContext()
}

IPointListContext is an interface to support dynamic dispatch.

type IPolygonContext

type IPolygonContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	POLYGON() antlr.TerminalNode
	PolygonDef() IPolygonDefContext

	// IsPolygonContext differentiates from other interfaces.
	IsPolygonContext()
}

IPolygonContext is an interface to support dynamic dispatch.

type IPolygonDefContext

type IPolygonDefContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	LEFTPAREN() antlr.TerminalNode
	AllCoordList() []ICoordListContext
	CoordList(i int) ICoordListContext
	RIGHTPAREN() antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// IsPolygonDefContext differentiates from other interfaces.
	IsPolygonDefContext()
}

IPolygonDefContext is an interface to support dynamic dispatch.

type IPredicateContext

type IPredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	ComparisonPredicate() IComparisonPredicateContext
	SpatialPredicate() ISpatialPredicateContext
	DistancePredicate() IDistancePredicateContext

	// IsPredicateContext differentiates from other interfaces.
	IsPredicateContext()
}

IPredicateContext is an interface to support dynamic dispatch.

type IPropertyNameContext

type IPropertyNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Identifier() antlr.TerminalNode

	// IsPropertyNameContext differentiates from other interfaces.
	IsPropertyNameContext()
}

IPropertyNameContext is an interface to support dynamic dispatch.

type IScalarExpressionContext

type IScalarExpressionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsScalarExpressionContext differentiates from other interfaces.
	IsScalarExpressionContext()
}

IScalarExpressionContext is an interface to support dynamic dispatch.

type IScalarValueContext

type IScalarValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsScalarValueContext differentiates from other interfaces.
	IsScalarValueContext()
}

IScalarValueContext is an interface to support dynamic dispatch.

type ISpatialPredicateContext

type ISpatialPredicateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	SpatialOperator() antlr.TerminalNode
	LEFTPAREN() antlr.TerminalNode
	AllGeomExpression() []IGeomExpressionContext
	GeomExpression(i int) IGeomExpressionContext
	COMMA() antlr.TerminalNode
	RIGHTPAREN() antlr.TerminalNode

	// IsSpatialPredicateContext differentiates from other interfaces.
	IsSpatialPredicateContext()
}

ISpatialPredicateContext is an interface to support dynamic dispatch.

type ITemporalLiteralContext

type ITemporalLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	TemporalLiteral() antlr.TerminalNode

	// IsTemporalLiteralContext differentiates from other interfaces.
	IsTemporalLiteralContext()
}

ITemporalLiteralContext is an interface to support dynamic dispatch.

type IsBetweenPredicateContext

type IsBetweenPredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyIsBetweenPredicateContext

func NewEmptyIsBetweenPredicateContext() *IsBetweenPredicateContext

func NewIsBetweenPredicateContext

func NewIsBetweenPredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IsBetweenPredicateContext

func (*IsBetweenPredicateContext) AND

func (s *IsBetweenPredicateContext) AND() antlr.TerminalNode

func (*IsBetweenPredicateContext) AllScalarExpression

func (s *IsBetweenPredicateContext) AllScalarExpression() []IScalarExpressionContext

func (*IsBetweenPredicateContext) BETWEEN

func (s *IsBetweenPredicateContext) BETWEEN() antlr.TerminalNode

func (*IsBetweenPredicateContext) EnterRule

func (s *IsBetweenPredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*IsBetweenPredicateContext) ExitRule

func (s *IsBetweenPredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*IsBetweenPredicateContext) GetParser

func (s *IsBetweenPredicateContext) GetParser() antlr.Parser

func (*IsBetweenPredicateContext) GetRuleContext

func (s *IsBetweenPredicateContext) GetRuleContext() antlr.RuleContext

func (*IsBetweenPredicateContext) IsIsBetweenPredicateContext

func (*IsBetweenPredicateContext) IsIsBetweenPredicateContext()

func (*IsBetweenPredicateContext) NOT

func (s *IsBetweenPredicateContext) NOT() antlr.TerminalNode

func (*IsBetweenPredicateContext) ScalarExpression

func (*IsBetweenPredicateContext) ToStringTree

func (s *IsBetweenPredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IsInListPredicateContext

type IsInListPredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyIsInListPredicateContext

func NewEmptyIsInListPredicateContext() *IsInListPredicateContext

func NewIsInListPredicateContext

func NewIsInListPredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IsInListPredicateContext

func (*IsInListPredicateContext) AllCOMMA

func (s *IsInListPredicateContext) AllCOMMA() []antlr.TerminalNode

func (*IsInListPredicateContext) AllCharacterLiteral

func (s *IsInListPredicateContext) AllCharacterLiteral() []ICharacterLiteralContext

func (*IsInListPredicateContext) AllNumericLiteral

func (s *IsInListPredicateContext) AllNumericLiteral() []INumericLiteralContext

func (*IsInListPredicateContext) COMMA

func (s *IsInListPredicateContext) COMMA(i int) antlr.TerminalNode

func (*IsInListPredicateContext) CharacterLiteral

func (s *IsInListPredicateContext) CharacterLiteral(i int) ICharacterLiteralContext

func (*IsInListPredicateContext) EnterRule

func (s *IsInListPredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*IsInListPredicateContext) ExitRule

func (s *IsInListPredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*IsInListPredicateContext) GetParser

func (s *IsInListPredicateContext) GetParser() antlr.Parser

func (*IsInListPredicateContext) GetRuleContext

func (s *IsInListPredicateContext) GetRuleContext() antlr.RuleContext

func (*IsInListPredicateContext) IN

func (s *IsInListPredicateContext) IN() antlr.TerminalNode

func (*IsInListPredicateContext) IsIsInListPredicateContext

func (*IsInListPredicateContext) IsIsInListPredicateContext()

func (*IsInListPredicateContext) LEFTPAREN

func (s *IsInListPredicateContext) LEFTPAREN() antlr.TerminalNode

func (*IsInListPredicateContext) NOT

func (s *IsInListPredicateContext) NOT() antlr.TerminalNode

func (*IsInListPredicateContext) NumericLiteral

func (*IsInListPredicateContext) PropertyName

func (*IsInListPredicateContext) RIGHTPAREN

func (s *IsInListPredicateContext) RIGHTPAREN() antlr.TerminalNode

func (*IsInListPredicateContext) ToStringTree

func (s *IsInListPredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IsLikePredicateContext

type IsLikePredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyIsLikePredicateContext

func NewEmptyIsLikePredicateContext() *IsLikePredicateContext

func NewIsLikePredicateContext

func NewIsLikePredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IsLikePredicateContext

func (*IsLikePredicateContext) CharacterLiteral

func (s *IsLikePredicateContext) CharacterLiteral() ICharacterLiteralContext

func (*IsLikePredicateContext) EnterRule

func (s *IsLikePredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*IsLikePredicateContext) ExitRule

func (s *IsLikePredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*IsLikePredicateContext) GetParser

func (s *IsLikePredicateContext) GetParser() antlr.Parser

func (*IsLikePredicateContext) GetRuleContext

func (s *IsLikePredicateContext) GetRuleContext() antlr.RuleContext

func (*IsLikePredicateContext) ILIKE

func (s *IsLikePredicateContext) ILIKE() antlr.TerminalNode

func (*IsLikePredicateContext) IsIsLikePredicateContext

func (*IsLikePredicateContext) IsIsLikePredicateContext()

func (*IsLikePredicateContext) LIKE

func (s *IsLikePredicateContext) LIKE() antlr.TerminalNode

func (*IsLikePredicateContext) NOT

func (s *IsLikePredicateContext) NOT() antlr.TerminalNode

func (*IsLikePredicateContext) PropertyName

func (s *IsLikePredicateContext) PropertyName() IPropertyNameContext

func (*IsLikePredicateContext) ToStringTree

func (s *IsLikePredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IsNullPredicateContext

type IsNullPredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyIsNullPredicateContext

func NewEmptyIsNullPredicateContext() *IsNullPredicateContext

func NewIsNullPredicateContext

func NewIsNullPredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IsNullPredicateContext

func (*IsNullPredicateContext) EnterRule

func (s *IsNullPredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*IsNullPredicateContext) ExitRule

func (s *IsNullPredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*IsNullPredicateContext) GetParser

func (s *IsNullPredicateContext) GetParser() antlr.Parser

func (*IsNullPredicateContext) GetRuleContext

func (s *IsNullPredicateContext) GetRuleContext() antlr.RuleContext

func (*IsNullPredicateContext) IS

func (s *IsNullPredicateContext) IS() antlr.TerminalNode

func (*IsNullPredicateContext) IsIsNullPredicateContext

func (*IsNullPredicateContext) IsIsNullPredicateContext()

func (*IsNullPredicateContext) NOT

func (s *IsNullPredicateContext) NOT() antlr.TerminalNode

func (*IsNullPredicateContext) NULL

func (s *IsNullPredicateContext) NULL() antlr.TerminalNode

func (*IsNullPredicateContext) PropertyName

func (s *IsNullPredicateContext) PropertyName() IPropertyNameContext

func (*IsNullPredicateContext) ToStringTree

func (s *IsNullPredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LinestringContext

type LinestringContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyLinestringContext

func NewEmptyLinestringContext() *LinestringContext

func NewLinestringContext

func NewLinestringContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LinestringContext

func (*LinestringContext) CoordList

func (s *LinestringContext) CoordList() ICoordListContext

func (*LinestringContext) EnterRule

func (s *LinestringContext) EnterRule(listener antlr.ParseTreeListener)

func (*LinestringContext) ExitRule

func (s *LinestringContext) ExitRule(listener antlr.ParseTreeListener)

func (*LinestringContext) GetParser

func (s *LinestringContext) GetParser() antlr.Parser

func (*LinestringContext) GetRuleContext

func (s *LinestringContext) GetRuleContext() antlr.RuleContext

func (*LinestringContext) IsLinestringContext

func (*LinestringContext) IsLinestringContext()

func (*LinestringContext) LINESTRING

func (s *LinestringContext) LINESTRING() antlr.TerminalNode

func (*LinestringContext) ToStringTree

func (s *LinestringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LiteralBooleanContext

type LiteralBooleanContext struct {
	ScalarValueContext
}

func NewLiteralBooleanContext

func NewLiteralBooleanContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralBooleanContext

func (*LiteralBooleanContext) BooleanLiteral

func (s *LiteralBooleanContext) BooleanLiteral() IBooleanLiteralContext

func (*LiteralBooleanContext) EnterRule

func (s *LiteralBooleanContext) EnterRule(listener antlr.ParseTreeListener)

func (*LiteralBooleanContext) ExitRule

func (s *LiteralBooleanContext) ExitRule(listener antlr.ParseTreeListener)

func (*LiteralBooleanContext) GetRuleContext

func (s *LiteralBooleanContext) GetRuleContext() antlr.RuleContext

type LiteralNameContext

type LiteralNameContext struct {
	ScalarValueContext
}

func NewLiteralNameContext

func NewLiteralNameContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralNameContext

func (*LiteralNameContext) EnterRule

func (s *LiteralNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*LiteralNameContext) ExitRule

func (s *LiteralNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*LiteralNameContext) GetRuleContext

func (s *LiteralNameContext) GetRuleContext() antlr.RuleContext

func (*LiteralNameContext) PropertyName

func (s *LiteralNameContext) PropertyName() IPropertyNameContext

type LiteralNumericContext

type LiteralNumericContext struct {
	ScalarValueContext
}

func NewLiteralNumericContext

func NewLiteralNumericContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralNumericContext

func (*LiteralNumericContext) EnterRule

func (s *LiteralNumericContext) EnterRule(listener antlr.ParseTreeListener)

func (*LiteralNumericContext) ExitRule

func (s *LiteralNumericContext) ExitRule(listener antlr.ParseTreeListener)

func (*LiteralNumericContext) GetRuleContext

func (s *LiteralNumericContext) GetRuleContext() antlr.RuleContext

func (*LiteralNumericContext) NumericLiteral

func (s *LiteralNumericContext) NumericLiteral() INumericLiteralContext

type LiteralStringContext

type LiteralStringContext struct {
	ScalarValueContext
}

func NewLiteralStringContext

func NewLiteralStringContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralStringContext

func (*LiteralStringContext) CharacterLiteral

func (s *LiteralStringContext) CharacterLiteral() ICharacterLiteralContext

func (*LiteralStringContext) EnterRule

func (s *LiteralStringContext) EnterRule(listener antlr.ParseTreeListener)

func (*LiteralStringContext) ExitRule

func (s *LiteralStringContext) ExitRule(listener antlr.ParseTreeListener)

func (*LiteralStringContext) GetRuleContext

func (s *LiteralStringContext) GetRuleContext() antlr.RuleContext

type LiteralTemporalContext

type LiteralTemporalContext struct {
	ScalarValueContext
}

func NewLiteralTemporalContext

func NewLiteralTemporalContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralTemporalContext

func (*LiteralTemporalContext) EnterRule

func (s *LiteralTemporalContext) EnterRule(listener antlr.ParseTreeListener)

func (*LiteralTemporalContext) ExitRule

func (s *LiteralTemporalContext) ExitRule(listener antlr.ParseTreeListener)

func (*LiteralTemporalContext) GetRuleContext

func (s *LiteralTemporalContext) GetRuleContext() antlr.RuleContext

func (*LiteralTemporalContext) TemporalLiteral

func (s *LiteralTemporalContext) TemporalLiteral() ITemporalLiteralContext

type MultiLinestringContext

type MultiLinestringContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyMultiLinestringContext

func NewEmptyMultiLinestringContext() *MultiLinestringContext

func NewMultiLinestringContext

func NewMultiLinestringContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MultiLinestringContext

func (*MultiLinestringContext) AllCOMMA

func (s *MultiLinestringContext) AllCOMMA() []antlr.TerminalNode

func (*MultiLinestringContext) AllCoordList

func (s *MultiLinestringContext) AllCoordList() []ICoordListContext

func (*MultiLinestringContext) COMMA

func (s *MultiLinestringContext) COMMA(i int) antlr.TerminalNode

func (*MultiLinestringContext) CoordList

func (*MultiLinestringContext) EnterRule

func (s *MultiLinestringContext) EnterRule(listener antlr.ParseTreeListener)

func (*MultiLinestringContext) ExitRule

func (s *MultiLinestringContext) ExitRule(listener antlr.ParseTreeListener)

func (*MultiLinestringContext) GetParser

func (s *MultiLinestringContext) GetParser() antlr.Parser

func (*MultiLinestringContext) GetRuleContext

func (s *MultiLinestringContext) GetRuleContext() antlr.RuleContext

func (*MultiLinestringContext) IsMultiLinestringContext

func (*MultiLinestringContext) IsMultiLinestringContext()

func (*MultiLinestringContext) LEFTPAREN

func (s *MultiLinestringContext) LEFTPAREN() antlr.TerminalNode

func (*MultiLinestringContext) MULTILINESTRING

func (s *MultiLinestringContext) MULTILINESTRING() antlr.TerminalNode

func (*MultiLinestringContext) RIGHTPAREN

func (s *MultiLinestringContext) RIGHTPAREN() antlr.TerminalNode

func (*MultiLinestringContext) ToStringTree

func (s *MultiLinestringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MultiPointContext

type MultiPointContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyMultiPointContext

func NewEmptyMultiPointContext() *MultiPointContext

func NewMultiPointContext

func NewMultiPointContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MultiPointContext

func (*MultiPointContext) AllCOMMA

func (s *MultiPointContext) AllCOMMA() []antlr.TerminalNode

func (*MultiPointContext) AllPointList

func (s *MultiPointContext) AllPointList() []IPointListContext

func (*MultiPointContext) COMMA

func (s *MultiPointContext) COMMA(i int) antlr.TerminalNode

func (*MultiPointContext) EnterRule

func (s *MultiPointContext) EnterRule(listener antlr.ParseTreeListener)

func (*MultiPointContext) ExitRule

func (s *MultiPointContext) ExitRule(listener antlr.ParseTreeListener)

func (*MultiPointContext) GetParser

func (s *MultiPointContext) GetParser() antlr.Parser

func (*MultiPointContext) GetRuleContext

func (s *MultiPointContext) GetRuleContext() antlr.RuleContext

func (*MultiPointContext) IsMultiPointContext

func (*MultiPointContext) IsMultiPointContext()

func (*MultiPointContext) LEFTPAREN

func (s *MultiPointContext) LEFTPAREN() antlr.TerminalNode

func (*MultiPointContext) MULTIPOINT

func (s *MultiPointContext) MULTIPOINT() antlr.TerminalNode

func (*MultiPointContext) PointList

func (s *MultiPointContext) PointList(i int) IPointListContext

func (*MultiPointContext) RIGHTPAREN

func (s *MultiPointContext) RIGHTPAREN() antlr.TerminalNode

func (*MultiPointContext) ToStringTree

func (s *MultiPointContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MultiPolygonContext

type MultiPolygonContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyMultiPolygonContext

func NewEmptyMultiPolygonContext() *MultiPolygonContext

func NewMultiPolygonContext

func NewMultiPolygonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MultiPolygonContext

func (*MultiPolygonContext) AllCOMMA

func (s *MultiPolygonContext) AllCOMMA() []antlr.TerminalNode

func (*MultiPolygonContext) AllPolygonDef

func (s *MultiPolygonContext) AllPolygonDef() []IPolygonDefContext

func (*MultiPolygonContext) COMMA

func (s *MultiPolygonContext) COMMA(i int) antlr.TerminalNode

func (*MultiPolygonContext) EnterRule

func (s *MultiPolygonContext) EnterRule(listener antlr.ParseTreeListener)

func (*MultiPolygonContext) ExitRule

func (s *MultiPolygonContext) ExitRule(listener antlr.ParseTreeListener)

func (*MultiPolygonContext) GetParser

func (s *MultiPolygonContext) GetParser() antlr.Parser

func (*MultiPolygonContext) GetRuleContext

func (s *MultiPolygonContext) GetRuleContext() antlr.RuleContext

func (*MultiPolygonContext) IsMultiPolygonContext

func (*MultiPolygonContext) IsMultiPolygonContext()

func (*MultiPolygonContext) LEFTPAREN

func (s *MultiPolygonContext) LEFTPAREN() antlr.TerminalNode

func (*MultiPolygonContext) MULTIPOLYGON

func (s *MultiPolygonContext) MULTIPOLYGON() antlr.TerminalNode

func (*MultiPolygonContext) PolygonDef

func (s *MultiPolygonContext) PolygonDef(i int) IPolygonDefContext

func (*MultiPolygonContext) RIGHTPAREN

func (s *MultiPolygonContext) RIGHTPAREN() antlr.TerminalNode

func (*MultiPolygonContext) ToStringTree

func (s *MultiPolygonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NumericLiteralContext

type NumericLiteralContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyNumericLiteralContext

func NewEmptyNumericLiteralContext() *NumericLiteralContext

func NewNumericLiteralContext

func NewNumericLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumericLiteralContext

func (*NumericLiteralContext) EnterRule

func (s *NumericLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*NumericLiteralContext) ExitRule

func (s *NumericLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*NumericLiteralContext) GetParser

func (s *NumericLiteralContext) GetParser() antlr.Parser

func (*NumericLiteralContext) GetRuleContext

func (s *NumericLiteralContext) GetRuleContext() antlr.RuleContext

func (*NumericLiteralContext) IsNumericLiteralContext

func (*NumericLiteralContext) IsNumericLiteralContext()

func (*NumericLiteralContext) NumericLiteral

func (s *NumericLiteralContext) NumericLiteral() antlr.TerminalNode

func (*NumericLiteralContext) ToStringTree

func (s *NumericLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PointContext

type PointContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyPointContext

func NewEmptyPointContext() *PointContext

func NewPointContext

func NewPointContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PointContext

func (*PointContext) EnterRule

func (s *PointContext) EnterRule(listener antlr.ParseTreeListener)

func (*PointContext) ExitRule

func (s *PointContext) ExitRule(listener antlr.ParseTreeListener)

func (*PointContext) GetParser

func (s *PointContext) GetParser() antlr.Parser

func (*PointContext) GetRuleContext

func (s *PointContext) GetRuleContext() antlr.RuleContext

func (*PointContext) IsPointContext

func (*PointContext) IsPointContext()

func (*PointContext) POINT

func (s *PointContext) POINT() antlr.TerminalNode

func (*PointContext) PointList

func (s *PointContext) PointList() IPointListContext

func (*PointContext) ToStringTree

func (s *PointContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PointListContext

type PointListContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyPointListContext

func NewEmptyPointListContext() *PointListContext

func NewPointListContext

func NewPointListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PointListContext

func (*PointListContext) Coordinate

func (s *PointListContext) Coordinate() ICoordinateContext

func (*PointListContext) EnterRule

func (s *PointListContext) EnterRule(listener antlr.ParseTreeListener)

func (*PointListContext) ExitRule

func (s *PointListContext) ExitRule(listener antlr.ParseTreeListener)

func (*PointListContext) GetParser

func (s *PointListContext) GetParser() antlr.Parser

func (*PointListContext) GetRuleContext

func (s *PointListContext) GetRuleContext() antlr.RuleContext

func (*PointListContext) IsPointListContext

func (*PointListContext) IsPointListContext()

func (*PointListContext) LEFTPAREN

func (s *PointListContext) LEFTPAREN() antlr.TerminalNode

func (*PointListContext) RIGHTPAREN

func (s *PointListContext) RIGHTPAREN() antlr.TerminalNode

func (*PointListContext) ToStringTree

func (s *PointListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PolygonContext

type PolygonContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyPolygonContext

func NewEmptyPolygonContext() *PolygonContext

func NewPolygonContext

func NewPolygonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PolygonContext

func (*PolygonContext) EnterRule

func (s *PolygonContext) EnterRule(listener antlr.ParseTreeListener)

func (*PolygonContext) ExitRule

func (s *PolygonContext) ExitRule(listener antlr.ParseTreeListener)

func (*PolygonContext) GetParser

func (s *PolygonContext) GetParser() antlr.Parser

func (*PolygonContext) GetRuleContext

func (s *PolygonContext) GetRuleContext() antlr.RuleContext

func (*PolygonContext) IsPolygonContext

func (*PolygonContext) IsPolygonContext()

func (*PolygonContext) POLYGON

func (s *PolygonContext) POLYGON() antlr.TerminalNode

func (*PolygonContext) PolygonDef

func (s *PolygonContext) PolygonDef() IPolygonDefContext

func (*PolygonContext) ToStringTree

func (s *PolygonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PolygonDefContext

type PolygonDefContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyPolygonDefContext

func NewEmptyPolygonDefContext() *PolygonDefContext

func NewPolygonDefContext

func NewPolygonDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PolygonDefContext

func (*PolygonDefContext) AllCOMMA

func (s *PolygonDefContext) AllCOMMA() []antlr.TerminalNode

func (*PolygonDefContext) AllCoordList

func (s *PolygonDefContext) AllCoordList() []ICoordListContext

func (*PolygonDefContext) COMMA

func (s *PolygonDefContext) COMMA(i int) antlr.TerminalNode

func (*PolygonDefContext) CoordList

func (s *PolygonDefContext) CoordList(i int) ICoordListContext

func (*PolygonDefContext) EnterRule

func (s *PolygonDefContext) EnterRule(listener antlr.ParseTreeListener)

func (*PolygonDefContext) ExitRule

func (s *PolygonDefContext) ExitRule(listener antlr.ParseTreeListener)

func (*PolygonDefContext) GetParser

func (s *PolygonDefContext) GetParser() antlr.Parser

func (*PolygonDefContext) GetRuleContext

func (s *PolygonDefContext) GetRuleContext() antlr.RuleContext

func (*PolygonDefContext) IsPolygonDefContext

func (*PolygonDefContext) IsPolygonDefContext()

func (*PolygonDefContext) LEFTPAREN

func (s *PolygonDefContext) LEFTPAREN() antlr.TerminalNode

func (*PolygonDefContext) RIGHTPAREN

func (s *PolygonDefContext) RIGHTPAREN() antlr.TerminalNode

func (*PolygonDefContext) ToStringTree

func (s *PolygonDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PredicateBetweenContext

type PredicateBetweenContext struct {
	ComparisonPredicateContext
}

func NewPredicateBetweenContext

func NewPredicateBetweenContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PredicateBetweenContext

func (*PredicateBetweenContext) EnterRule

func (s *PredicateBetweenContext) EnterRule(listener antlr.ParseTreeListener)

func (*PredicateBetweenContext) ExitRule

func (s *PredicateBetweenContext) ExitRule(listener antlr.ParseTreeListener)

func (*PredicateBetweenContext) GetRuleContext

func (s *PredicateBetweenContext) GetRuleContext() antlr.RuleContext

func (*PredicateBetweenContext) IsBetweenPredicate

func (s *PredicateBetweenContext) IsBetweenPredicate() IIsBetweenPredicateContext

type PredicateBinaryCompContext

type PredicateBinaryCompContext struct {
	ComparisonPredicateContext
}

func NewPredicateBinaryCompContext

func NewPredicateBinaryCompContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PredicateBinaryCompContext

func (*PredicateBinaryCompContext) BinaryComparisonPredicate

func (s *PredicateBinaryCompContext) BinaryComparisonPredicate() IBinaryComparisonPredicateContext

func (*PredicateBinaryCompContext) EnterRule

func (s *PredicateBinaryCompContext) EnterRule(listener antlr.ParseTreeListener)

func (*PredicateBinaryCompContext) ExitRule

func (s *PredicateBinaryCompContext) ExitRule(listener antlr.ParseTreeListener)

func (*PredicateBinaryCompContext) GetRuleContext

func (s *PredicateBinaryCompContext) GetRuleContext() antlr.RuleContext

type PredicateContext

type PredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyPredicateContext

func NewEmptyPredicateContext() *PredicateContext

func NewPredicateContext

func NewPredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PredicateContext

func (*PredicateContext) ComparisonPredicate

func (s *PredicateContext) ComparisonPredicate() IComparisonPredicateContext

func (*PredicateContext) DistancePredicate

func (s *PredicateContext) DistancePredicate() IDistancePredicateContext

func (*PredicateContext) EnterRule

func (s *PredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*PredicateContext) ExitRule

func (s *PredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*PredicateContext) GetParser

func (s *PredicateContext) GetParser() antlr.Parser

func (*PredicateContext) GetRuleContext

func (s *PredicateContext) GetRuleContext() antlr.RuleContext

func (*PredicateContext) IsPredicateContext

func (*PredicateContext) IsPredicateContext()

func (*PredicateContext) SpatialPredicate

func (s *PredicateContext) SpatialPredicate() ISpatialPredicateContext

func (*PredicateContext) ToStringTree

func (s *PredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PredicateInContext

type PredicateInContext struct {
	ComparisonPredicateContext
}

func NewPredicateInContext

func NewPredicateInContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PredicateInContext

func (*PredicateInContext) EnterRule

func (s *PredicateInContext) EnterRule(listener antlr.ParseTreeListener)

func (*PredicateInContext) ExitRule

func (s *PredicateInContext) ExitRule(listener antlr.ParseTreeListener)

func (*PredicateInContext) GetRuleContext

func (s *PredicateInContext) GetRuleContext() antlr.RuleContext

func (*PredicateInContext) IsInListPredicate

func (s *PredicateInContext) IsInListPredicate() IIsInListPredicateContext

type PredicateIsNullContext

type PredicateIsNullContext struct {
	ComparisonPredicateContext
}

func NewPredicateIsNullContext

func NewPredicateIsNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PredicateIsNullContext

func (*PredicateIsNullContext) EnterRule

func (s *PredicateIsNullContext) EnterRule(listener antlr.ParseTreeListener)

func (*PredicateIsNullContext) ExitRule

func (s *PredicateIsNullContext) ExitRule(listener antlr.ParseTreeListener)

func (*PredicateIsNullContext) GetRuleContext

func (s *PredicateIsNullContext) GetRuleContext() antlr.RuleContext

func (*PredicateIsNullContext) IsNullPredicate

func (s *PredicateIsNullContext) IsNullPredicate() IIsNullPredicateContext

type PredicateLikeContext

type PredicateLikeContext struct {
	ComparisonPredicateContext
}

func NewPredicateLikeContext

func NewPredicateLikeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PredicateLikeContext

func (*PredicateLikeContext) EnterRule

func (s *PredicateLikeContext) EnterRule(listener antlr.ParseTreeListener)

func (*PredicateLikeContext) ExitRule

func (s *PredicateLikeContext) ExitRule(listener antlr.ParseTreeListener)

func (*PredicateLikeContext) GetRuleContext

func (s *PredicateLikeContext) GetRuleContext() antlr.RuleContext

func (*PredicateLikeContext) IsLikePredicate

func (s *PredicateLikeContext) IsLikePredicate() IIsLikePredicateContext

type PropertyNameContext

type PropertyNameContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyPropertyNameContext

func NewEmptyPropertyNameContext() *PropertyNameContext

func NewPropertyNameContext

func NewPropertyNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyNameContext

func (*PropertyNameContext) EnterRule

func (s *PropertyNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*PropertyNameContext) ExitRule

func (s *PropertyNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*PropertyNameContext) GetParser

func (s *PropertyNameContext) GetParser() antlr.Parser

func (*PropertyNameContext) GetRuleContext

func (s *PropertyNameContext) GetRuleContext() antlr.RuleContext

func (*PropertyNameContext) Identifier

func (s *PropertyNameContext) Identifier() antlr.TerminalNode

func (*PropertyNameContext) IsPropertyNameContext

func (*PropertyNameContext) IsPropertyNameContext()

func (*PropertyNameContext) ToStringTree

func (s *PropertyNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ScalarExprContext

type ScalarExprContext struct {
	ScalarExpressionContext
	// contains filtered or unexported fields
}

func NewScalarExprContext

func NewScalarExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ScalarExprContext

func (*ScalarExprContext) AllScalarExpression

func (s *ScalarExprContext) AllScalarExpression() []IScalarExpressionContext

func (*ScalarExprContext) ArithmeticOperator

func (s *ScalarExprContext) ArithmeticOperator() antlr.TerminalNode

func (*ScalarExprContext) EnterRule

func (s *ScalarExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*ScalarExprContext) ExitRule

func (s *ScalarExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*ScalarExprContext) GetLeft

func (*ScalarExprContext) GetOp

func (s *ScalarExprContext) GetOp() antlr.Token

func (*ScalarExprContext) GetRight

func (*ScalarExprContext) GetRuleContext

func (s *ScalarExprContext) GetRuleContext() antlr.RuleContext

func (*ScalarExprContext) ScalarExpression

func (s *ScalarExprContext) ScalarExpression(i int) IScalarExpressionContext

func (*ScalarExprContext) SetLeft

func (*ScalarExprContext) SetOp

func (s *ScalarExprContext) SetOp(v antlr.Token)

func (*ScalarExprContext) SetRight

type ScalarExpressionContext

type ScalarExpressionContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyScalarExpressionContext

func NewEmptyScalarExpressionContext() *ScalarExpressionContext

func NewScalarExpressionContext

func NewScalarExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScalarExpressionContext

func (*ScalarExpressionContext) CopyAll

func (*ScalarExpressionContext) GetParser

func (s *ScalarExpressionContext) GetParser() antlr.Parser

func (*ScalarExpressionContext) GetRuleContext

func (s *ScalarExpressionContext) GetRuleContext() antlr.RuleContext

func (*ScalarExpressionContext) IsScalarExpressionContext

func (*ScalarExpressionContext) IsScalarExpressionContext()

func (*ScalarExpressionContext) ToStringTree

func (s *ScalarExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ScalarParenContext

type ScalarParenContext struct {
	ScalarExpressionContext
	// contains filtered or unexported fields
}

func NewScalarParenContext

func NewScalarParenContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ScalarParenContext

func (*ScalarParenContext) EnterRule

func (s *ScalarParenContext) EnterRule(listener antlr.ParseTreeListener)

func (*ScalarParenContext) ExitRule

func (s *ScalarParenContext) ExitRule(listener antlr.ParseTreeListener)

func (*ScalarParenContext) GetExpr

func (*ScalarParenContext) GetRuleContext

func (s *ScalarParenContext) GetRuleContext() antlr.RuleContext

func (*ScalarParenContext) LEFTPAREN

func (s *ScalarParenContext) LEFTPAREN() antlr.TerminalNode

func (*ScalarParenContext) RIGHTPAREN

func (s *ScalarParenContext) RIGHTPAREN() antlr.TerminalNode

func (*ScalarParenContext) ScalarExpression

func (s *ScalarParenContext) ScalarExpression() IScalarExpressionContext

func (*ScalarParenContext) SetExpr

type ScalarValContext

type ScalarValContext struct {
	ScalarExpressionContext
	// contains filtered or unexported fields
}

func NewScalarValContext

func NewScalarValContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ScalarValContext

func (*ScalarValContext) EnterRule

func (s *ScalarValContext) EnterRule(listener antlr.ParseTreeListener)

func (*ScalarValContext) ExitRule

func (s *ScalarValContext) ExitRule(listener antlr.ParseTreeListener)

func (*ScalarValContext) GetRuleContext

func (s *ScalarValContext) GetRuleContext() antlr.RuleContext

func (*ScalarValContext) GetVal

func (*ScalarValContext) ScalarValue

func (s *ScalarValContext) ScalarValue() IScalarValueContext

func (*ScalarValContext) SetVal

type ScalarValueContext

type ScalarValueContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyScalarValueContext

func NewEmptyScalarValueContext() *ScalarValueContext

func NewScalarValueContext

func NewScalarValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScalarValueContext

func (*ScalarValueContext) CopyAll

func (s *ScalarValueContext) CopyAll(ctx *ScalarValueContext)

func (*ScalarValueContext) GetParser

func (s *ScalarValueContext) GetParser() antlr.Parser

func (*ScalarValueContext) GetRuleContext

func (s *ScalarValueContext) GetRuleContext() antlr.RuleContext

func (*ScalarValueContext) IsScalarValueContext

func (*ScalarValueContext) IsScalarValueContext()

func (*ScalarValueContext) ToStringTree

func (s *ScalarValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SpatialPredicateContext

type SpatialPredicateContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptySpatialPredicateContext

func NewEmptySpatialPredicateContext() *SpatialPredicateContext

func NewSpatialPredicateContext

func NewSpatialPredicateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SpatialPredicateContext

func (*SpatialPredicateContext) AllGeomExpression

func (s *SpatialPredicateContext) AllGeomExpression() []IGeomExpressionContext

func (*SpatialPredicateContext) COMMA

func (s *SpatialPredicateContext) COMMA() antlr.TerminalNode

func (*SpatialPredicateContext) EnterRule

func (s *SpatialPredicateContext) EnterRule(listener antlr.ParseTreeListener)

func (*SpatialPredicateContext) ExitRule

func (s *SpatialPredicateContext) ExitRule(listener antlr.ParseTreeListener)

func (*SpatialPredicateContext) GeomExpression

func (s *SpatialPredicateContext) GeomExpression(i int) IGeomExpressionContext

func (*SpatialPredicateContext) GetParser

func (s *SpatialPredicateContext) GetParser() antlr.Parser

func (*SpatialPredicateContext) GetRuleContext

func (s *SpatialPredicateContext) GetRuleContext() antlr.RuleContext

func (*SpatialPredicateContext) IsSpatialPredicateContext

func (*SpatialPredicateContext) IsSpatialPredicateContext()

func (*SpatialPredicateContext) LEFTPAREN

func (s *SpatialPredicateContext) LEFTPAREN() antlr.TerminalNode

func (*SpatialPredicateContext) RIGHTPAREN

func (s *SpatialPredicateContext) RIGHTPAREN() antlr.TerminalNode

func (*SpatialPredicateContext) SpatialOperator

func (s *SpatialPredicateContext) SpatialOperator() antlr.TerminalNode

func (*SpatialPredicateContext) ToStringTree

func (s *SpatialPredicateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SqlHolder

type SqlHolder interface {
	GetSql() string
}

type TemporalLiteralContext

type TemporalLiteralContext struct {
	*CqlContext
	// contains filtered or unexported fields
}

func NewEmptyTemporalLiteralContext

func NewEmptyTemporalLiteralContext() *TemporalLiteralContext

func NewTemporalLiteralContext

func NewTemporalLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TemporalLiteralContext

func (*TemporalLiteralContext) EnterRule

func (s *TemporalLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*TemporalLiteralContext) ExitRule

func (s *TemporalLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*TemporalLiteralContext) GetParser

func (s *TemporalLiteralContext) GetParser() antlr.Parser

func (*TemporalLiteralContext) GetRuleContext

func (s *TemporalLiteralContext) GetRuleContext() antlr.RuleContext

func (*TemporalLiteralContext) IsTemporalLiteralContext

func (*TemporalLiteralContext) IsTemporalLiteralContext()

func (*TemporalLiteralContext) TemporalLiteral

func (s *TemporalLiteralContext) TemporalLiteral() antlr.TerminalNode

func (*TemporalLiteralContext) ToStringTree

func (s *TemporalLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL