public class ContainsItemPredicate extends ContainsPredicate
_containsIndexes, _fieldPath, _propertyInfo, _spacePredicate, _templateMatchCode, _tokens
_convertedValueWrapper, _expectedValue, functionCallDescription
Constructor and Description |
---|
ContainsItemPredicate()
Default constructor for Externalizable.
|
ContainsItemPredicate(Object expectedValue,
String relativePath,
FunctionCallDescription functionCallDescription,
short templateMatchCode) |
ContainsItemPredicate(Object expectedValue,
String relativePath,
FunctionCallDescription functionCallDescription,
short templateMatchCode,
String relation,
String typeName,
String fullPath) |
ContainsItemPredicate(Object expectedValue,
String relativePath,
short templateMatchCode) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Object target)
Iterate through the the field's path tokens and when reached to a collection, iterate through
its items for property matching (collection[*].property = ?) or call match for regular
contains (collection[*] = ?).
|
protected String |
getContainsPath() |
String |
getFullPath() |
protected void |
readExternalImpl(ObjectInput in) |
protected void |
writeExternalImpl(ObjectOutput out) |
executePredicate, getContainsIndexes, getFieldPath, getOperatorName, getPreparedExpectedValue, getPropertyInfo, getTokens, initialize, match, performMatching, setCacheManagerForExecution
equals, getExpectedValue, toString
preparePredicate, requiresCacheManagerForExecution
readExternal, writeExternal
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readExternal, writeExternal
public ContainsItemPredicate()
public ContainsItemPredicate(Object expectedValue, String relativePath, short templateMatchCode)
public ContainsItemPredicate(Object expectedValue, String relativePath, FunctionCallDescription functionCallDescription, short templateMatchCode)
public boolean execute(Object target)
ContainsPredicate
execute
in interface ISpacePredicate
execute
in class ContainsPredicate
public String getFullPath()
protected String getContainsPath()
getContainsPath
in class ContainsPredicate
protected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl
in class ContainsPredicate
IOException
ClassNotFoundException
protected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl
in class ContainsPredicate
IOException
Copyright © GigaSpaces.