Documentation
¶
Index ¶
- Constants
- type AccentInsensitive
- type And
- type Array
- type ArrayComparison
- type ArrayExpression
- type ArrayItemExpression
- type Between
- type Boolean
- type BooleanExpression
- type BoundingBox
- type CaseInsensitive
- type CharacterExpression
- type Comparison
- type Date
- type Expression
- type Filter
- type Function
- type Geometry
- type In
- type InstantExpression
- type Interval
- type IsNull
- type Like
- type Not
- type Number
- type NumericExpression
- type Or
- type PatternExpression
- type Property
- type ScalarExpression
- type ScalarList
- type SpatialComparison
- type SpatialExpression
- type String
- type TemporalComparison
- type TemporalExpression
- type Timestamp
Constants ¶
View Source
const ( ArrayContainedBy = "a_containedBy" ArrayContains = "a_contains" ArrayEquals = "a_equals" ArrayOverlaps = "a_overlaps" )
View Source
const ( Equals = "=" NotEquals = "<>" LessThan = "<" LessThanOrEquals = "<=" GreaterThan = ">" GreaterThanOrEquals = ">=" )
View Source
const ( GeometryContains = "s_contains" GeometryCrosses = "s_crosses" GeometryDisjoint = "s_disjoint" GeometryEquals = "s_equals" GeometryIntersects = "s_intersects" GeometryOverlaps = "s_overlaps" GeometryTouches = "s_touches" GeometryWithin = "s_within" )
View Source
const ( TimeAfter = "t_after" TimeBefore = "t_before" TimeContains = "t_contains" TimeDisjoint = "t_disjoint" TimeDuring = "t_during" TimeEquals = "t_equals" TimeFinishedBy = "t_finishedBy" TimeFinishes = "t_finishes" TimeIntersects = "t_intersects" TimeMeets = "t_meets" TimeMetBy = "t_metBy" TimeOverlappedBy = "t_overlappedBy" TimeOverlaps = "t_overlaps" TimeStartedBy = "t_startedBy" TimeStarts = "t_starts" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccentInsensitive ¶
type AccentInsensitive struct {
Value CharacterExpression
}
func (*AccentInsensitive) MarshalJSON ¶
func (e *AccentInsensitive) MarshalJSON() ([]byte, error)
func (*AccentInsensitive) String ¶ added in v0.13.0
func (e *AccentInsensitive) String() string
type Array ¶
type Array []ArrayItemExpression
type ArrayComparison ¶
type ArrayComparison struct { Name string Left ArrayExpression Right ArrayExpression }
func (*ArrayComparison) MarshalJSON ¶
func (e *ArrayComparison) MarshalJSON() ([]byte, error)
func (*ArrayComparison) String ¶ added in v0.13.0
func (e *ArrayComparison) String() string
type ArrayExpression ¶
type ArrayExpression interface { Expression // contains filtered or unexported methods }
type ArrayItemExpression ¶
type ArrayItemExpression interface { Expression // contains filtered or unexported methods }
type Between ¶
type Between struct { Value NumericExpression Low NumericExpression High NumericExpression }
func (*Between) MarshalJSON ¶
type BooleanExpression ¶
type BooleanExpression interface { ScalarExpression // contains filtered or unexported methods }
type BoundingBox ¶
type BoundingBox struct {
Extent []float64
}
func (*BoundingBox) MarshalJSON ¶
func (e *BoundingBox) MarshalJSON() ([]byte, error)
func (*BoundingBox) String ¶ added in v0.13.0
func (e *BoundingBox) String() string
type CaseInsensitive ¶
type CaseInsensitive struct {
Value CharacterExpression
}
func (*CaseInsensitive) MarshalJSON ¶
func (e *CaseInsensitive) MarshalJSON() ([]byte, error)
func (*CaseInsensitive) String ¶ added in v0.13.0
func (e *CaseInsensitive) String() string
type CharacterExpression ¶
type CharacterExpression interface { ScalarExpression // contains filtered or unexported methods }
type Comparison ¶
type Comparison struct { Name string Left ScalarExpression Right ScalarExpression }
func (*Comparison) MarshalJSON ¶
func (e *Comparison) MarshalJSON() ([]byte, error)
func (*Comparison) String ¶ added in v0.13.0
func (e *Comparison) String() string
type Date ¶
func (*Date) MarshalJSON ¶
type Expression ¶
type Expression interface { String() string // contains filtered or unexported methods }
type Filter ¶
type Filter struct {
Expression BooleanExpression
}
func (*Filter) MarshalJSON ¶
func (*Filter) UnmarshalJSON ¶
type Function ¶
type Function struct { Op string `json:"op"` Args []Expression `json:"args"` }
func (*Function) MarshalJSON ¶
type InstantExpression ¶
type InstantExpression interface { TemporalExpression ScalarExpression }
type Interval ¶
type Interval struct { Start InstantExpression End InstantExpression }
func (*Interval) MarshalJSON ¶
type Like ¶
type Like struct { Value CharacterExpression Pattern PatternExpression }
func (*Like) MarshalJSON ¶
type NumericExpression ¶
type NumericExpression interface { ScalarExpression // contains filtered or unexported methods }
type PatternExpression ¶
type PatternExpression interface { Expression // contains filtered or unexported methods }
type ScalarExpression ¶
type ScalarExpression interface { Expression // contains filtered or unexported methods }
type ScalarList ¶
type ScalarList []ScalarExpression
func (ScalarList) String ¶ added in v0.13.0
func (e ScalarList) String() string
type SpatialComparison ¶
type SpatialComparison struct { Name string Left SpatialExpression Right SpatialExpression }
func (*SpatialComparison) MarshalJSON ¶
func (e *SpatialComparison) MarshalJSON() ([]byte, error)
func (*SpatialComparison) String ¶ added in v0.13.0
func (e *SpatialComparison) String() string
type SpatialExpression ¶
type SpatialExpression interface { Expression // contains filtered or unexported methods }
type TemporalComparison ¶
type TemporalComparison struct { Name string Left TemporalExpression Right TemporalExpression }
func (*TemporalComparison) MarshalJSON ¶
func (e *TemporalComparison) MarshalJSON() ([]byte, error)
func (*TemporalComparison) String ¶ added in v0.13.0
func (e *TemporalComparison) String() string
type TemporalExpression ¶
type TemporalExpression interface { Expression // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.