-
Notifications
You must be signed in to change notification settings - Fork 22
Range Clauses (Spider)
[Table of Contents](https://github.com/dell-oss/Doradus/wiki/Spider Databases: Table-of-Contents) | Previous | Next
Doradus Query Language: Range Clauses
Range clauses can be used to select a scalar field whose value falls within a specific range. (Range clauses are not allowed on link fields or the _ID
field.) The math operators =
, <
, <=
, and >=
are allowed for numeric fields:
Size > 10000 LastName <= Q
Doradus also allows bracketed ranges with both inclusive ([ ]) and exclusive ({ }) bounds. For example:
Size = [1000 TO 50000}
This is shorthand for:
Size >= 1000 AND Size < 50000
Text fields can also use bracketed range clauses:
FirstName={Anne TO Fred]
This clause selects all objects whose FirstName
is greater than but not equal Ann
and less than or equal to Fred
.
For range clauses, ":" and “=” are identical – both perform an equals search. Hence, the previous example is the same as:
FirstName:{Anne TO Fred]
Technical Documentation
[Doradus OLAP Databases](https://github.com/dell-oss/Doradus/wiki/Doradus OLAP Databases)
- Architecture
- OLAP Database Overview
- OLAP Data Model
- Doradus Query Language (DQL)
- OLAP Object Queries
- OLAP Aggregate Queries
- OLAP REST Commands
- Architecture
- Spider Database Overview
- Spider Data Model
- Doradus Query Language (DQL)
- Spider Object Queries
- Spider Aggregate Queries
- Spider REST Commands
- [Installing and Running Doradus](https://github.com/dell-oss/Doradus/wiki/Installing and Running Doradus)
- [Deployment Guidelines](https://github.com/dell-oss/Doradus/wiki/Deployment Guidelines)
- [Doradus Configuration and Operation](https://github.com/dell-oss/Doradus/wiki/Doradus Configuration and Operation)
- [Cassandra Configuration and Operation](https://github.com/dell-oss/Doradus/wiki/Cassandra Configuration and Operation)