-
Notifications
You must be signed in to change notification settings - Fork 20
Clause Connectors AND, OR, and Parentheses (Spider)
[Table of Contents](https://github.com/dell-oss/Doradus/wiki/Spider Databases: Table-of-Contents) | [Previous](https://github.com/dell-oss/Doradus/wiki/Clause Negation NOT (Spider)) | Next
Doradus Query Language: Clause Connectors AND, OR, and Parentheses
Clauses are *implicitly* connected with "and" semantics by separating them with at least one whitespace character. For example:
LastName:Wright Department:Sales
This query consists of two clauses and is identical to the following query expression:
LastName:Wright AND Department:Sales
Clauses can be explicitly connected with the uppercase keywords AND
and OR
. When a DQL query has a mixture of AND
and OR
clauses, the AND
clauses have higher evaluation precedence. For example:
Origin=3 AND Platform=2 OR SendDate='2011-10-01' AND Size=1000
This is evaluated as if the following parentheses were used:
(Origin=3 AND Platform=2) OR (SendDate='2011-10-01' AND Size=1000)
Parentheses can be used to change the evaluation order. For example:
Origin=3 AND (Platform=2 OR SendDate='2011-10-01') AND Size=1000
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)