Modifier and Type | Method and Description |
---|---|
static <NumericalType extends Number> |
Conditions.add(QueryExpression<NumericalType> addend1,
QueryExpression<NumericalType>... addends) |
static <NumericalType extends Number> |
Conditions.add(QueryExpression<NumericalType> addend1,
QueryExpression<NumericalType>... addends) |
static Conjunction |
Conditions.and(QueryExpression<Boolean> operand1,
QueryExpression<Boolean>... operands) |
static Conjunction |
Conditions.and(QueryExpression<Boolean> operand1,
QueryExpression<Boolean>... operands) |
void |
QueryTextGenerator.appendOperand(QueryExpression operand,
int precedence,
StringBuilder builder)
Appends the given operand as child of an operation with the given precedence to the given
StringBuilder . |
static <ElementType,CollectionType extends Collection<ElementType>> |
Conditions.contains(QueryExpression<CollectionType> set,
QueryExpression<ElementType> element) |
static <ElementType,CollectionType extends Collection<ElementType>> |
Conditions.contains(QueryExpression<CollectionType> set,
QueryExpression<ElementType> element) |
String |
QueryTextGenerator.createSelectQuery(String tableName,
String tableAlias,
QueryExpression condition)
Creates the string of a select query for the given parameters.
|
static <NumericalType extends Number> |
Conditions.divide(QueryExpression<NumericalType> expression1,
QueryExpression<NumericalType>... expressions) |
static <NumericalType extends Number> |
Conditions.divide(QueryExpression<NumericalType> expression1,
QueryExpression<NumericalType>... expressions) |
static <Type> Equality |
Conditions.equals(QueryExpression<Type> expression1,
QueryExpression<Type> expression2) |
static <Type> Equality |
Conditions.equals(QueryExpression<Type> expression1,
QueryExpression<Type> expression2) |
static <ComparableType extends Comparable<?>> |
Conditions.lessThan(QueryExpression<ComparableType> expression1,
QueryExpression<ComparableType> expression2) |
static <ComparableType extends Comparable<?>> |
Conditions.lessThan(QueryExpression<ComparableType> expression1,
QueryExpression<ComparableType> expression2) |
static ExpressionMatches |
Conditions.matches(QueryExpression<String> expression,
String filter) |
static Negation |
Conditions.not(QueryExpression<Boolean> predicate) |
static <ElementType,CollectionType extends Collection<ElementType>> |
Conditions.notContained(QueryExpression<CollectionType> set,
QueryExpression<ElementType> element) |
static <ElementType,CollectionType extends Collection<ElementType>> |
Conditions.notContained(QueryExpression<CollectionType> set,
QueryExpression<ElementType> element) |
static Disjunction |
Conditions.or(QueryExpression<Boolean> predicate1,
QueryExpression<Boolean>... predicates) |
static Disjunction |
Conditions.or(QueryExpression<Boolean> predicate1,
QueryExpression<Boolean>... predicates) |
static <NumericalType extends Number> |
Conditions.subtract(QueryExpression<NumericalType> expression1,
QueryExpression<NumericalType>... expressions) |
static <NumericalType extends Number> |
Conditions.subtract(QueryExpression<NumericalType> expression1,
QueryExpression<NumericalType>... expressions) |
static <NumericalType extends Number> |
Conditions.times(QueryExpression<NumericalType> expression1,
QueryExpression<NumericalType>... expressions) |
static <NumericalType extends Number> |
Conditions.times(QueryExpression<NumericalType> expression1,
QueryExpression<NumericalType>... expressions) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryFunction<Operand1ExpressionType,Operand2ExpressionType,ResultExpressionType>
Abstract base class for binary functions i.e.
|
class |
BinaryOperation<ExpressionType>
Abstract base class for binary operations i.e.
|
class |
InternalBinaryFunction<OperandExpressionType,ResultExpressionType>
Abstract base class for internal binary functions i.e.
|
class |
UnaryOperator<OperandExpressionType,ResultExpressionType>
Base class for unary operations.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanLiteral
A
QueryExpression that represents a boolean constant. |
class |
Contains<ElementType,CollectionType extends Collection<ElementType>>
A
QueryExpression that checks whether its first argument is contained in the second one. |
class |
Equality<ComparableType>
A
QueryExpression that checks the equality of its arguments. |
class |
ExpressionMatches
A
QueryExpression that checks whether a given expression matches a saperion style
filter. |
class |
FieldEquality<Type>
A
QueryExpression that that the equality of a field with a given parameter. |
class |
FieldIsLessThan<ParameterType extends Comparable<?>>
A
QueryExpression that checks whether a field is less than a given value. |
class |
GreaterEqual<ComparableType extends Comparable<?>>
A
QueryExpression that checks whether the first argument is greater than or equal
to the second one. |
class |
GreaterThan<ComparableType extends Comparable<?>>
A
QueryExpression that checks the first argument is greater than the second. |
class |
Inequality<Type1,Type2>
A
QueryExpression that checks the inequality of its arguments. |
class |
IsEmpty<ElementType,CollectionType extends Collection<ElementType>>
A
QueryExpression that checks whether its operand is an empty list. |
class |
IsNotEmpty<ElementType,CollectionType extends Collection<ElementType>>
A
QueryExpression that checks whether its operand is a non-empty list. |
class |
IsNotNull<Type>
A
QueryExpression that checks whether its operand is not null. |
class |
IsNull<Type>
A
QueryExpression that checks whether its operand is null. |
class |
LessEqual<ComparableType extends Comparable<?>>
A
QueryExpression that checks whether the first argument is less than or equal
to the second one. |
class |
LessThan<ComparableType extends Comparable<?>>
A
QueryExpression that checks the first argument is less than the second. |
class |
MemberOf<ElementType,CollectionType extends Collection<ElementType>>
A
QueryExpression that checks whether its first operand is a member
of the second one. |
class |
NotContained<ElementType,CollectionType extends Collection<ElementType>>
A
QueryExpression that checks whether its first argument is not contained in the second one. |
class |
NotMemberOf<ElementType,CollectionType extends Collection<ElementType>>
A
QueryPredicate that checks whether its first operand is not a member
of the second one. |
class |
StringFieldStartsWith
A
QueryExpression that checks whether a string field starts with
a given value. |
Modifier and Type | Class and Description |
---|---|
class |
Conjunction
A
QueryExpression that conjuncts two
QueryConditions i.e. |
class |
Disjunction
A
QueryExpression that disjuncts two
QueryConditions i.e. |
class |
Negation
A
QueryExpression that is the negation of another
QueryExpression i.e. |
Constructor and Description |
---|
Conjunction(QueryExpression<Boolean> operand1,
QueryExpression<Boolean> operand2) |
Conjunction(QueryExpression<Boolean> operand1,
QueryExpression<Boolean> operand2) |
Disjunction(QueryExpression<Boolean> operand1,
QueryExpression<Boolean> operand2) |
Disjunction(QueryExpression<Boolean> operand1,
QueryExpression<Boolean> operand2) |
Negation(QueryExpression<Boolean> negatedCondition) |
Modifier and Type | Class and Description |
---|---|
class |
Addition<NumericalType extends Number>
A
QueryExpression that represents the addition of two terms. |
class |
Division<NumericalType extends Number>
A
QueryExpression that represents the division of two terms. |
class |
FieldReference<ExpressionType>
A
QueryExpression that is actually an expression in a condition. |
class |
FilterParameter
A special kind of
QueryParameter that knows about saperion style filters
(Wildcards * and ?) and interprets the given string as a parameter to a "LIKE" string. |
class |
Multiplication<NumericalType extends Number>
A
QueryExpression that represents the multiplication of two terms. |
class |
QueryParameter<Type>
A
QueryExpression that is actually an expression in a condition. |
class |
Subtraction<NumericalType extends Number>
A
QueryExpression that represents the subtraction of two terms. |
Constructor and Description |
---|
Addition(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Addition(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Division(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Division(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Multiplication(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Multiplication(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Subtraction(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Subtraction(QueryExpression<NumericalType> operand1,
QueryExpression<NumericalType> operand2) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
DatabaseSession.getUniqueDocument(DDC definition,
QueryExpression<Boolean> condition)
Gets the database properties of the unique document that fulfill the given condition.
|
List<Map<String,Object>> |
DatabaseSession.rawSearch(DDC definition,
QueryExpression<Boolean> filter)
Gets the list of database properties of the documents that match the given filter.
|
List<Map<String,Object>> |
DatabaseSession.searchDocuments(DDC definition,
QueryExpression<Boolean> filter)
Gets the list of database properties of the documents that match the given filter.
|
Copyright © 2016 SAPERION AG. All rights reserved.