| Package | Description |
|---|---|
| cz.jirutka.rsql.parser | |
| cz.jirutka.rsql.parser.model |
| Modifier and Type | Method and Description |
|---|---|
Expression |
RSQLParser.conjunction()
conjunction -> constraint ( <AND> conjunction )? |
Expression |
RSQLParser.constraint()
constraint -> <SELECTOR> <COMPARISON> <ARGUMENT>
| <LPAREN> disjunction <RPAREN> |
Expression |
RSQLParser.disjunction()
disjunction -> conjunction ( <OR> disjunction )? |
Expression |
RSQLParser.input()
input -> disjunction |
static Expression |
RSQLParser.parse(String expression)
Parse given query expression and build query tree.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ComparisonExpression
Represents a comparison expression (constraint) which consists of triplet:
selector - operator - argument.
|
class |
LogicalExpression
Represents a logical expression which is composed of two
expressions (comparison or
another logical). |
| Modifier and Type | Method and Description |
|---|---|
Expression |
LogicalExpression.getLeft() |
Expression |
LogicalExpression.getRight() |
| Constructor and Description |
|---|
LogicalExpression(Expression left,
Logical operator,
Expression right)
Construct a new Logical expression.
|
Copyright © 2011–2014. All rights reserved.