public class GridCacheQueryRequest<K,V> extends GridCacheMessage<K,V> implements GridCacheDeployable
CACHE_MSG_INDEX_FIELD_NAME, MAX_CACHE_MSG_LOOKUP_INDEXBIT_SET_NOT_READ, BOOLEAN_ARR_NOT_READ, BYTE_ARR_LIST_NOT_READ, BYTE_ARR_NOT_READ, CACHE_VER_NOT_READ, CHAR_ARR_NOT_READ, CLOCK_DELTA_VER_NOT_READ, commState, DHT_PART_EXCHANGE_ID_NOT_READ, DOUBLE_ARR_NOT_READ, DR_INT_REQ_ENTRY_NOT_READ, ENUM_NOT_READ, FLOAT_ARR_NOT_READ, GRID_UUID_NOT_READ, INT_ARR_NOT_READ, LONG_ARR_NOT_READ, LONG_LIST_NOT_READ, MSG_NOT_READ, NULL, SHORT_ARR_NOT_READ, STR_NOT_READ, UUID_NOT_READ, VAL_BYTES_NOT_READ| Constructor and Description |
|---|
GridCacheQueryRequest()
Required by
Externalizable |
GridCacheQueryRequest(long id,
boolean fields) |
GridCacheQueryRequest(long id,
String cacheName,
GridCacheQueryType type,
boolean fields,
String clause,
String clsName,
GridBiPredicate<Object,Object> keyValFilter,
GridPredicate<GridCacheEntry<Object,Object>> prjFilter,
GridReducer<Object,Object> rdc,
GridClosure<Object,Object> trans,
int pageSize,
boolean incBackups,
Object[] args,
boolean incMeta) |
GridCacheQueryRequest(long id,
String cacheName,
int pageSize,
boolean incBackups,
boolean fields,
boolean all)
Request to load page.
|
allowForStartup, classError, deployInfo, ignoreClassErrors, lookupIndex, marshalBooleanLinkedMap, marshalCollection, marshalFilter, marshalInfo, marshalInfos, marshalTx, marshalValuesCollection, messageId, nextIndexId, onClassError, prepare, prepareFilter, prepareObject, prepareObjects, topologyVersion, unmarshalBooleanLinkedMap, unmarshalCollection, unmarshalFilter, unmarshalInfo, unmarshalInfos, unmarshalTx, unmarshalValueBytesCollectionarrayIterator, messageReader, messageWriterequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridCacheQueryRequest()
Externalizablepublic GridCacheQueryRequest(long id,
boolean fields)
id - Request to cancel.fields - Fields query flag.public GridCacheQueryRequest(long id,
String cacheName,
int pageSize,
boolean incBackups,
boolean fields,
boolean all)
id - Request ID.cacheName - Cache name.pageSize - Page size.incBackups - true if need to include backups.fields - Fields query flag.all - Whether to load all pages.public GridCacheQueryRequest(long id,
String cacheName,
GridCacheQueryType type,
boolean fields,
String clause,
String clsName,
GridBiPredicate<Object,Object> keyValFilter,
GridPredicate<GridCacheEntry<Object,Object>> prjFilter,
GridReducer<Object,Object> rdc,
GridClosure<Object,Object> trans,
int pageSize,
boolean incBackups,
Object[] args,
boolean incMeta)
id - Request id.cacheName - Cache name.type - Query type.fields - true if query returns fields.clause - Query clause.clsName - Query class name.keyValFilter - Key-value filter.prjFilter - Projection filter.rdc - Reducer.trans - Transformer.pageSize - Page size.incBackups - true if need to include backups.args - Query arguments.incMeta - Include meta data or not.public void prepareMarshal(GridCacheContext<K,V> ctx) throws GridException
prepareMarshal in class GridCacheMessage<K,V>ctx - Cache context.GridException - If failed.public void finishUnmarshal(GridCacheContext<K,V> ctx, ClassLoader ldr) throws GridException
GridCacheMessage.prepareMarshal(GridCacheContext) method.finishUnmarshal in class GridCacheMessage<K,V>ctx - Context.ldr - Class loader.GridException - If failed.public long id()
public String cacheName()
public GridCacheQueryType type()
public boolean fields()
true if query returns fields.public String clause()
public String className()
public boolean includeBackups()
public boolean cancel()
public GridBiPredicate<Object,Object> keyValueFilter()
public GridPredicate<GridCacheEntry<Object,Object>> projectionFilter()
public GridReducer<Object,Object> reducer()
public GridClosure<Object,Object> transformer()
public int pageSize()
public Object[] arguments()
public boolean includeMetaData()
public boolean allPages()
public GridTcpCommunicationMessageAdapter clone()
clone in class GridTcpCommunicationMessageAdapterprotected void clone0(GridTcpCommunicationMessageAdapter _msg)
this.clone0 in class GridCacheMessage<K,V>_msg - Message to clone from.public boolean writeTo(ByteBuffer buf)
writeTo in class GridCacheMessage<K,V>buf - Byte buffer.public boolean readFrom(ByteBuffer buf)
readFrom in class GridCacheMessage<K,V>buf - Byte buffer.public byte directType()
directType in class GridTcpCommunicationMessageAdapterpublic String toString()
toString in class GridCacheMessage<K,V>Copyright © 2014. All rights reserved.