Class ClientCacheQueryRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.client.ClientRequest
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCacheRequest
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCacheQueryRequest
-
- All Implemented Interfaces:
ClientListenerRequest
- Direct Known Subclasses:
ClientCacheIndexQueryRequest,ClientCacheScanQueryRequest,ClientCacheSqlFieldsQueryRequest,ClientCacheSqlQueryRequest
public abstract class ClientCacheQueryRequest extends ClientCacheRequest
Abstract query request.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
HANDSHAKE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static <T> IgniteInternalFuture<ClientResponse>chainFuture(IgniteFuture<T> fut, IgniteClosure<T,ClientResponse> clo)Chain cache operation future to return response when operation is completed.booleanisTransactional()Gets a value indicating whether request was made under transaction.inttxId()Gets transaction ID.protected voidupdateAffinityMetrics(ClientConnectionContext ctx, int part)-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.cache.ClientCacheRequest
cache, cacheDescriptor, cacheDescriptor, cacheId, cachex, isKeepBinary, rawCache
-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.ClientRequest
isAsync, process, processAsync, requestId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
beforeStartupRequest
-
-
-
-
Method Detail
-
updateAffinityMetrics
protected void updateAffinityMetrics(ClientConnectionContext ctx, int part)
-
txId
public int txId()
Gets transaction ID.
-
isTransactional
public boolean isTransactional()
Gets a value indicating whether request was made under transaction.- Overrides:
isTransactionalin classClientCacheRequest- Returns:
- Flag value.
-
chainFuture
protected static <T> IgniteInternalFuture<ClientResponse> chainFuture(IgniteFuture<T> fut, IgniteClosure<T,ClientResponse> clo)
Chain cache operation future to return response when operation is completed.
-
-