T - The final type of the builder, used for a fluid chaining interface.public interface Partial<T extends QBuilder<T>>
| Modifier and Type | Method and Description |
|---|---|
Condition<T> |
and(Condition<T> c1,
Condition<T> c2,
Condition<T>... cn)
Allows for composing a list of conditions in a "all match" fashion.
|
Condition<T> |
and(List<Condition<T>> conditions)
Allows for composing a list of conditions in a "all match" fashion.
|
BooleanProperty<T> |
bool(String field)
For usage when the field is known to contain values of a boolean type.
|
<S extends QBuilder<S>> |
condition(String field)
For usage when the field is a multivalued field of objects who themselves can
be tested against a condition.
|
DoubleProperty<T> |
doubleNum(String field)
For usage when the field is known to contain values of a numerical double type.
|
<S extends Enum<S>> |
enumeration(String field)
For usage when the field is known to contain values of an enum type.
|
FloatProperty<T> |
floatNum(String field)
For usage when the field is known to contain values of a numerical float type.
|
InstantProperty<T> |
instant(String field)
For usage when the field is known to contain values of a point-in-time type.
|
IntegerProperty<T> |
intNum(String field)
For usage when the field is known to contain values of an integer type.
|
LongProperty<T> |
longNum(String field)
For usage when the field is known to contain values of a long type.
|
Condition<T> |
or(Condition<T> c1,
Condition<T> c2,
Condition<T>... cn)
Allows for composing a list of conditions in a "any match" fashion.
|
Condition<T> |
or(List<Condition<T>> conditions)
Allows for composing a list of conditions in a "any match" fashion.
|
ShortProperty<T> |
shortNum(String field)
For usage when the field is known to contain values of a numerical short type.
|
StringProperty<T> |
string(String field)
For usage when the field is known to contain values of a string type.
|
<S extends Enum<S>> EnumProperty<T,S> enumeration(String field)
field - The name of the field.BooleanProperty<T> bool(String field)
field - The name of the field.StringProperty<T> string(String field)
field - The name of the field.LongProperty<T> longNum(String field)
field - The name of the field.IntegerProperty<T> intNum(String field)
field - The name of the field.ShortProperty<T> shortNum(String field)
field - The name of the field.FloatProperty<T> floatNum(String field)
field - The name of the field.DoubleProperty<T> doubleNum(String field)
field - The name of the field.InstantProperty<T> instant(String field)
field - The name of the field.<S extends QBuilder<S>> ConditionProperty<T,S> condition(String field)
S - The kind of the subquery condition..field - The name of the multivalued field.Condition<T> or(List<Condition<T>> conditions)
conditions - The list of conditions to combine.Condition<T> and(List<Condition<T>> conditions)
conditions - The list of conditions to combine.Condition<T> or(Condition<T> c1, Condition<T> c2, Condition<T>... cn)
c1 - The first condition to combine.c2 - The second condition to combine.cn - Any other conditions to combine.Condition<T> and(Condition<T> c1, Condition<T> c2, Condition<T>... cn)
c1 - The first condition to combine.c2 - The second condition to combine.cn - Any other conditions to combine.Copyright © 2017. All rights reserved.