Package | Description |
---|---|
org.sindice.siren.qparser.json.dsl |
DSL for building SIREn's JSON queries.
|
Modifier and Type | Class and Description |
---|---|
class |
NodeQuery
Class that represents a node query object of the JSON query syntax.
|
class |
TwigQuery
Class that represents a twig object of the JSON query syntax.
|
Modifier and Type | Method and Description |
---|---|
AbstractNodeQuery |
AbstractNodeQuery.setLevel(int level)
Sets the node level constraint.
|
AbstractNodeQuery |
AbstractNodeQuery.setRange(int lowerBound,
int upperBound)
Sets the node range constraint.
|
Modifier and Type | Method and Description |
---|---|
TwigQuery |
TwigQuery.optional(AbstractNodeQuery child)
Adds a child clause with a
NodeBooleanClause.Occur#SHOULD operator. |
BooleanQuery |
BooleanQuery.optional(AbstractNodeQuery node)
Adds a boolean clause with a
BooleanClause.Occur.SHOULD operator. |
TwigQuery |
TwigQuery.optional(AbstractNodeQuery descendant,
int level)
Adds a descendant clause with a
NodeBooleanClause.Occur#SHOULD operator. |
TwigQuery |
TwigQuery.with(AbstractNodeQuery child)
Adds a child clause with a
NodeBooleanClause.Occur#MUST operator. |
BooleanQuery |
BooleanQuery.with(AbstractNodeQuery node)
Adds a boolean clause with a
BooleanClause.Occur.MUST operator. |
TwigQuery |
TwigQuery.with(AbstractNodeQuery descendant,
int level)
Adds a descendant clause with a
NodeBooleanClause.Occur#MUST operator. |
TwigQuery |
TwigQuery.without(AbstractNodeQuery child)
Adds a child clause with a
NodeBooleanClause.Occur#MUST_NOT operator. |
BooleanQuery |
BooleanQuery.without(AbstractNodeQuery node)
Adds a boolean clause with a
BooleanClause.Occur.MUST_NOT operator. |
TwigQuery |
TwigQuery.without(AbstractNodeQuery descendant,
int level)
Adds a descendant clause with a
NodeBooleanClause.Occur#MUST_NOT operator. |
Copyright © 2014. All rights reserved.