public class GridH2QueryRequest extends Object
| 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.
|
| 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 MvccSnapshot mvccSnapshot()
public GridH2QueryRequest mvccSnapshot(MvccSnapshot mvccSnapshot)
mvccSnapshot - MVCC snapshot version.this.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 GridH2SelectForUpdateTxDetails txDetails()
SELECT FOR UPDATE, or null if not applicable.public void txDetails(GridH2SelectForUpdateTxDetails txDetails)
txDetails - TX details holder for SELECT FOR UPDATE, or null if not applicable.public void marshall(Marshaller m)
public void unmarshall(Marshaller m,
GridKernalContext ctx)
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
public byte fieldsCount()
public void onAckReceived()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019