public abstract class AbstractSpaceQuery<T> extends Object implements ISpaceQuery<T>, ICustomQuery, SmartExternalizable
Modifier | Constructor and Description |
---|---|
protected |
AbstractSpaceQuery()
Default constructor for Externalizable.
|
protected |
AbstractSpaceQuery(Class<?> entryClass,
ISpacePredicate predicate)
Creates a space query using the specified class and predicate.
|
protected |
AbstractSpaceQuery(String entryTypeName,
ISpacePredicate predicate)
Creates a space query using the specified type name and predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
addCustomIndex(IQueryIndexScanner customIndex) |
List<IQueryIndexScanner> |
getCustomIndexes() |
String |
getEntryTypeName()
Gets the query entry type name.
|
ISpacePredicate |
getPredicate()
Gets the query predicate.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
matches, toSQLQuery
enabledSmartExternalizableWithReference
protected AbstractSpaceQuery()
protected AbstractSpaceQuery(String entryTypeName, ISpacePredicate predicate)
entryTypeName
- Entry type name.predicate
- Predicate.protected AbstractSpaceQuery(Class<?> entryClass, ISpacePredicate predicate)
entryClass
- Entry class.predicate
- Predicate.public String getEntryTypeName()
public ISpacePredicate getPredicate()
public void addCustomIndex(IQueryIndexScanner customIndex)
customIndex
- public List<IQueryIndexScanner> getCustomIndexes()
getCustomIndexes
in interface ICustomQuery
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © GigaSpaces.