public class GridH2QueryRequest extends Object implements Message, GridCacheQueryMarshallable
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_DISTRIBUTED_JOINS
Map query will not destroy context until explicit query cancel request will be received because distributed join
requests can be received.
|
static int |
FLAG_ENFORCE_JOIN_ORDER
Remote map query executor will enforce join order for the received map queries.
|
static int |
FLAG_EXPLAIN
If it is an EXPLAIN command.
|
static int |
FLAG_IS_LOCAL
Restrict distributed joins range-requests to local index segments.
|
static int |
FLAG_LAZY
If lazy execution is enabled.
|
static int |
FLAG_REPLICATED
If it is a REPLICATED query.
|
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridH2QueryRequest()
Required by
Externalizable |
GridH2QueryRequest(GridH2QueryRequest req) |
public static final int FLAG_DISTRIBUTED_JOINS
public static final int FLAG_ENFORCE_JOIN_ORDER
public static final int FLAG_IS_LOCAL
public static final int FLAG_EXPLAIN
public static final int FLAG_REPLICATED
public static final int FLAG_LAZY
public GridH2QueryRequest()
Externalizablepublic GridH2QueryRequest(GridH2QueryRequest req)
req - Request.public Object[] parameters()
public GridH2QueryRequest parameters(Object[] params)
params - Parameters.this.public GridH2QueryRequest tables(Collection<QueryTable> tbls)
tbls - Tables.this.public Collection<QueryTable> tables()
N.B.: Was used in AI 1.9 for snapshots. Unused at the moment, but should be kept for compatibility reasons.
public GridH2QueryRequest requestId(long reqId)
reqId - Request ID.this.public long requestId()
public GridH2QueryRequest caches(List<Integer> caches)
caches - Caches.this.public GridH2QueryRequest topologyVersion(AffinityTopologyVersion topVer)
topVer - Topology version.this.public AffinityTopologyVersion topologyVersion()
public GridH2QueryRequest partitions(Map<UUID,int[]> parts)
parts - Explicit partitions mapping.this.public int[] queryPartitions()
public GridH2QueryRequest queryPartitions(int[] qryParts)
qryParts - Query partitions.this.public GridH2QueryRequest pageSize(int pageSize)
pageSize - Page size.this.public int pageSize()
public GridH2QueryRequest queries(List<GridCacheSqlQuery> qrys)
qrys - SQL Queries.this.public List<GridCacheSqlQuery> queries()
public GridH2QueryRequest flags(int flags)
flags - Flags.this.public boolean isFlagSet(int flags)
flags - Flags to check.true If all the requested flags are set to true.public int timeout()
public GridH2QueryRequest timeout(int timeout)
timeout - New timeout.this.public String schemaName()
public GridH2QueryRequest schemaName(String schemaName)
schemaName - Schema name.this.public void marshall(Marshaller m)
marshall in interface GridCacheQueryMarshallablepublic void unmarshall(Marshaller m, GridKernalContext ctx)
unmarshall in interface GridCacheQueryMarshallablepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic void onAckReceived()
onAckReceived in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018