Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.api.query.qom | |
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.model |
The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
|
org.modeshape.jcr.query.parse |
This package defines the
QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation. |
org.modeshape.jcr.query.validate |
This package provides the interfaces that define the tables and columns that can be queried.
|
org.modeshape.jcr.query.xpath |
The components used to parse JCR XPath queries and translate them into equivalent JCR-SQL2 queries.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Operator> |
NodeTypeSchemata.operatorsFor(org.modeshape.jcr.JcrPropertyDefinition defn) |
Modifier and Type | Method and Description |
---|---|
static Operator |
Operator.forSymbol(String symbol)
Attempt to find the Operator given a symbol.
|
Operator |
Operator.reverse()
Get the equivalent operator if the operands are to be reversed.
|
static Operator |
Operator.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
Operator.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected Operator |
QueryBuilder.RightHandSide.operator |
Modifier and Type | Method and Description |
---|---|
QueryBuilder.RightHandSide |
QueryBuilder.ComparisonBuilder.is(Operator operator)
Define the operator that will be used in the comparison, returning an interface that can be used to define the
right-hand-side of the comparison.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.ComparisonBuilder.is(Operator operator,
Object literalOrSubquery)
Define the right-hand-side of the constraint using the supplied operator.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.ComparisonBuilder.is(Operator operator,
QueryCommand subquery)
Define the right-hand-side of the constraint using the supplied operator.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.ComparisonBuilder.is(Operator operator,
Subquery subquery)
Define the right-hand-side of the constraint using the supplied operator.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.ComparisonBuilder.isVariable(Operator operator,
String variableName)
Define the right-hand-side of the constraint using the supplied operator.
|
Constructor and Description |
---|
QueryBuilder.RightHandSide(QueryBuilder.ComparisonBuilder comparisonBuilder,
Operator operator) |
Modifier and Type | Method and Description |
---|---|
Operator |
Comparison.operator()
Get the operator for this comparison
|
Constructor and Description |
---|
Comparison(DynamicOperand operand1,
Operator operator,
StaticOperand operand2) |
Modifier and Type | Method and Description |
---|---|
protected Operator |
BasicSqlQueryParser.parseComparisonOperator(TokenStream tokens) |
Modifier and Type | Method and Description |
---|---|
protected Comparison |
BasicSqlQueryParser.comparison(DynamicOperand left,
Operator operator,
StaticOperand right) |
Modifier and Type | Field and Description |
---|---|
static Set<Operator> |
ImmutableColumn.ALL_OPERATORS |
static Set<Operator> |
ImmutableColumn.NO_OPERATORS |
Modifier and Type | Method and Description |
---|---|
Set<Operator> |
Schemata.Column.getOperators()
Get the set of operators that can be used in a comparison involving this column.
|
Set<Operator> |
ImmutableColumn.getOperators() |
protected Set<Operator> |
ImmutableSchemata.Builder.operators(SelectorName tableName,
String columnName,
Set<Operator> defaultOperators) |
Modifier and Type | Method and Description |
---|---|
protected void |
Validator.verifyComparison(DynamicOperand operand,
Operator op,
StaticOperand rhs) |
protected void |
Validator.verifyOperator(SelectorName selectorName,
String propertyName,
Operator op) |
Modifier and Type | Method and Description |
---|---|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addColumn(String tableName,
String columnName,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
Object minimum,
Object maximum,
Set<Operator> operations)
Add a column with the supplied name and type to the named table.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.markOperators(String tableName,
String columnName,
Set<Operator> operators)
Record the operators that are allowed for the named column on the named table.
|
protected Set<Operator> |
ImmutableSchemata.Builder.operators(SelectorName tableName,
String columnName,
Set<Operator> defaultOperators) |
Constructor and Description |
---|
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
boolean canContainReferences,
Object minimum,
Object maximum,
Operator... operators) |
Constructor and Description |
---|
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
Object minimum,
Object maximum,
Set<Operator> operators) |
Modifier and Type | Method and Description |
---|---|
Operator |
XPath.Comparison.getOperator() |
protected Operator |
XPathParser.parseGeneralComp(TokenStream tokens) |
Constructor and Description |
---|
XPath.Comparison(XPath.Component left,
Operator operator,
XPath.Component right) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.