Modifier and Type | Method and Description |
---|---|
ISpacePredicate |
AbstractSpaceQuery.getPredicate()
Gets the query predicate.
|
Modifier and Type | Method and Description |
---|---|
static ISpaceQuery |
SpaceQueryBuilder.create(Class<?> entryClass,
ISpacePredicate... predicates)
Creates a space query using the specified class and predicates.
|
static ISpaceQuery |
SpaceQueryBuilder.create(Class<?> entryClass,
ISpacePredicate predicate)
Creates a space query using the specified class and predicate.
|
Constructor and Description |
---|
AbstractSpaceQuery(Class<?> entryClass,
ISpacePredicate predicate)
Creates a space query using the specified class and predicate.
|
AbstractSpaceQuery(String entryTypeName,
ISpacePredicate predicate)
Creates a space query using the specified type name and predicate.
|
CustomSpaceQuery(Class<?> entryClass,
ISpacePredicate predicate) |
CustomSpaceQuery(String entryClassName,
ISpacePredicate predicate) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSpacePredicate
A common basic implementation for space predicate implementations.
|
class |
FalseSpacePredicate
A space predicate that always returns false.
|
class |
TrueSpacePredicate
A space predicate that always returns true.
|
class |
ValueGetterSpacePredicate<T> |
Modifier and Type | Method and Description |
---|---|
ISpacePredicate |
ValueGetterSpacePredicate.getPredicate() |
protected ISpacePredicate |
AbstractSpacePredicate.preparePredicate() |
Modifier and Type | Method and Description |
---|---|
static AllSpacePredicate |
SpacePredicates.all(ISpacePredicate... predicates)
Creates an ALL predicate wrapping the specified predicates.
|
static AndSpacePredicate |
SpacePredicates.and(ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Creates an AND predicate wrapping the specified predicates.
|
static AnySpacePredicate |
SpacePredicates.any(ISpacePredicate... predicates)
Creates an ANY predicate wrapping the specified predicates.
|
static NotSpacePredicate |
SpacePredicates.not(ISpacePredicate predicate)
Creates a NOT predicate wrapping the specified predicate.
|
static OrSpacePredicate |
SpacePredicates.or(ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Creates an OR predicate wrapping the specified predicates.
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.path(String path,
ISpacePredicate predicate)
Creates a predicate to get a property value and test it with another predicate.
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.pathAll(String path,
ISpacePredicate... predicates)
Shortcut for path(path, all(predicates)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.pathAnd(String path,
ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Shortcut for path(path, and(leftPredicate, rightPredicate)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.pathAny(String path,
ISpacePredicate... predicates)
Shortcut for path(path, any(predicates)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.pathNot(String path,
ISpacePredicate predicate)
Shortcut for path(path, not(predicate)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.pathOr(String path,
ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Shortcut for path(path, or(leftPredicate, rightPredicate)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.pathXor(String path,
ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Shortcut for path(path, xor(leftPredicate, rightPredicate)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.property(String propertyName,
ISpacePredicate predicate)
Creates a predicate to get a property value and test it with another predicate.
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.propertyAll(String propertyName,
ISpacePredicate... predicates)
Shortcut for property(propertyName, all(predicates)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.propertyAnd(String propertyName,
ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Shortcut for property(propertyName, and(leftPredicate, rightPredicate)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.propertyAny(String propertyName,
ISpacePredicate... predicates)
Shortcut for property(propertyName, any(predicates)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.propertyNot(String propertyName,
ISpacePredicate predicate)
Shortcut for property(propertyName, not(predicate)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.propertyOr(String propertyName,
ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Shortcut for property(propertyName, or(leftPredicate, rightPredicate)).
|
static ValueGetterSpacePredicate<ServerEntry> |
SpacePredicates.propertyXor(String propertyName,
ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Shortcut for property(propertyName, xor(leftPredicate, rightPredicate)).
|
static XorSpacePredicate |
SpacePredicates.xor(ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Creates an XOR predicate wrapping the specified predicates.
|
Constructor and Description |
---|
ValueGetterSpacePredicate(ISpaceValueGetter<T> valueGetter,
ISpacePredicate predicate) |
Modifier and Type | Class and Description |
---|---|
class |
BetweenSpacePredicate
Represents a Between predicate.
|
class |
ComparableScalarSpacePredicate
A common basic implementation for comparable scalar comparison predicate implementations.
|
class |
ContainsItemPredicate
a contains predicate cascading from a single item
|
class |
ContainsPredicate
Represents a contains predicate.
|
class |
EqualsSpacePredicate
An implementation of equals to comparison: This predicate returns true if and only if the
predicate's argument is equal to the expected value.
|
class |
GreaterEqualsSpacePredicate
An implementation of greater than or equals to comparison: This predicate returns true if and
only if the predicate's argument is greater than or equals to the expected value.
|
class |
GreaterSpacePredicate
An implementation of greater than comparison: This predicate returns true if and only if the
predicate's argument is greater than the expected value.
|
class |
InSpacePredicate
Represents an In predicate.
|
class |
LessEqualsSpacePredicate
An implementation of less than or equals to comparison: This predicate returns true if and only
if the predicate's argument is less than or equals to the expected value.
|
class |
LessSpacePredicate
An implementation of less than comparison: This predicate returns true if and only if the
predicate's argument is less than the expected value.
|
class |
NotEqualsSpacePredicate
An implementation of not equals condition: This predicate returns true if and only if the
predicate's argument is not equal to the expected value.
|
class |
NotNullSpacePredicate
A predicate to test for non-null values.
|
class |
NotRegexSpacePredicate |
class |
NullSpacePredicate
A predicate to test for null values.
|
class |
RegexSpacePredicate |
class |
RelationPredicate |
class |
ScalarSpacePredicate
A common basic implementation for scalar comparison predicate implementations.
|
Modifier and Type | Field and Description |
---|---|
protected ISpacePredicate |
ContainsPredicate._spacePredicate |
Modifier and Type | Class and Description |
---|---|
class |
AllSpacePredicate
An implementation of a logical multiple AND condition: This predicate returns true if and only if
all operands return true.
|
class |
AndSpacePredicate
An implementation of a logical binary AND condition: This predicate returns true if and only if
both left and right operands return true.
|
class |
AnySpacePredicate
An implementation of a logical multiple OR condition: This predicate returns true if and only if
any of the operands return true.
|
class |
BinaryCompositeSpacePredicate
A common basic implementation for binary composite space predicate implementations.
|
class |
CompositeSpacePredicate
A common basic implementation for composite space predicate implementations.
|
class |
MultipleCompositeSpacePredicate |
class |
NotSpacePredicate
An implementation of a logical unary NOT condition: This predicate returns true if and only if
the operand returns false.
|
class |
OrSpacePredicate
An implementation of a logical binary OR condition: This predicate returns true if and only if
either left or right operands return true.
|
class |
UnaryCompositeSpacePredicate
A common basic implementation for unary composite space predicate implementations.
|
class |
XorSpacePredicate
An implementation of a logical binary XOR condition: This predicate returns true if and only if
left or right operands return true, but not both.
|
Modifier and Type | Method and Description |
---|---|
ISpacePredicate |
BinaryCompositeSpacePredicate.getLeftOperand()
Gets the left operand of this binary predicate.
|
ISpacePredicate |
UnaryCompositeSpacePredicate.getOperand()
Gets the operand of this unary predicate.
|
ISpacePredicate |
MultipleCompositeSpacePredicate.getOperand(int index)
Gets the operand at the specified index.
|
ISpacePredicate |
BinaryCompositeSpacePredicate.getRightOperand()
Gets the right operand of this binary predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
MultipleCompositeSpacePredicate.addOperand(ISpacePredicate operand)
Adds an operand at the end of the current operands list.
|
protected abstract boolean |
UnaryCompositeSpacePredicate.execute(Object target,
ISpacePredicate operand)
Executes the operand predicate on the target.
|
protected boolean |
NotSpacePredicate.execute(Object target,
ISpacePredicate operand) |
protected boolean |
AllSpacePredicate.execute(Object target,
ISpacePredicate[] operands) |
protected boolean |
AnySpacePredicate.execute(Object target,
ISpacePredicate[] operands) |
protected abstract boolean |
MultipleCompositeSpacePredicate.execute(Object target,
ISpacePredicate[] operands) |
protected abstract boolean |
BinaryCompositeSpacePredicate.execute(Object target,
ISpacePredicate leftOperand,
ISpacePredicate rightOperand) |
protected boolean |
XorSpacePredicate.execute(Object target,
ISpacePredicate leftOperand,
ISpacePredicate rightOperand) |
protected boolean |
OrSpacePredicate.execute(Object target,
ISpacePredicate leftOperand,
ISpacePredicate rightOperand) |
protected boolean |
AndSpacePredicate.execute(Object target,
ISpacePredicate leftOperand,
ISpacePredicate rightOperand) |
void |
MultipleCompositeSpacePredicate.setOperand(int index,
ISpacePredicate operand)
Sets the operand at the specified index.
|
Constructor and Description |
---|
AllSpacePredicate(ISpacePredicate... operands)
Creates a multiple composite space predicate using the specified operands.
|
AndSpacePredicate(ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Creates a binary predicate using the specified predicates.
|
AnySpacePredicate(ISpacePredicate... operands)
Creates a multiple composite space predicate using the specified operands.
|
BinaryCompositeSpacePredicate(ISpacePredicate leftOperand,
ISpacePredicate rightOperand)
Creates a binary predicate using the specified operands.
|
MultipleCompositeSpacePredicate(ISpacePredicate... operands)
Creates a multiple composite space predicate using the specified operands.
|
NotSpacePredicate(ISpacePredicate operand)
Creates a binary predicate using the specified operands.
|
OrSpacePredicate(ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Creates a binary predicate using the specified predicates.
|
UnaryCompositeSpacePredicate(ISpacePredicate operand)
Creates an unary predicate using the specified operands.
|
XorSpacePredicate(ISpacePredicate leftPredicate,
ISpacePredicate rightPredicate)
Creates a binary predicate using the specified predicates.
|
Constructor and Description |
---|
AllSpacePredicate(List<ISpacePredicate> operands)
Creates a multiple composite space predicate using the specified operands.
|
AnySpacePredicate(List<ISpacePredicate> operands)
Creates a multiple composite space predicate using the specified operands.
|
MultipleCompositeSpacePredicate(List<ISpacePredicate> operands)
Creates a multiple composite space predicate using the specified operands.
|
Modifier and Type | Method and Description |
---|---|
ISpacePredicate |
Range.getPredicate() |
Constructor and Description |
---|
Range(String path,
FunctionCallDescription functionCallDescription,
ISpacePredicate predicate) |
SingleValueRange(String colPath,
FunctionCallDescription functionCallDescription,
Object value,
ISpacePredicate predicate) |
Copyright © GigaSpaces.