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, setCacheManagerForExecutionequals, getExpectedValue, toStringpreparePredicate, requiresCacheManagerForExecutionreadExternal, writeExternalclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencereadExternal, writeExternalpublic ContainsItemPredicate()
public ContainsItemPredicate(Object expectedValue, String relativePath, short templateMatchCode)
public ContainsItemPredicate(Object expectedValue, String relativePath, FunctionCallDescription functionCallDescription, short templateMatchCode)
public boolean execute(Object target)
ContainsPredicateexecute in interface ISpacePredicateexecute in class ContainsPredicatepublic String getFullPath()
protected String getContainsPath()
getContainsPath in class ContainsPredicateprotected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl in class ContainsPredicateIOExceptionClassNotFoundExceptionprotected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl in class ContainsPredicateIOExceptionCopyright © GigaSpaces.