Class ClientIndexScanRequest
java.lang.Object
org.apache.ignite.client.handler.requests.table.ClientIndexScanRequest
Client request: scan rows by an index-key prefix range.
Returns a cursor of BinaryRows whose index-key values lie within the
supplied bounds. Rows are ordered by the full index key (collation-aware).
Wire layout (in order):
intindex id;- tx meta (
nil-> server starts an explicit RO tx); BitSetcolumn bitmap for projection (nullor empty = all columns);- lower bound:
boolpresent, and when presentboolinclusive followed bybinaryprefix bytes (BinaryTuplePrefix-encoded); - upper bound: same shape as the lower bound;
bytedirection (0 = forward, 1 = reverse);intpage size (must be positive);longclient observable timestamp.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<ResponseWriter>process(org.apache.ignite.internal.client.proto.ClientMessageUnpacker in, org.apache.ignite.internal.table.IgniteTablesInternal tables, org.apache.ignite.internal.catalog.CatalogService catalogService, org.apache.ignite.internal.schema.SchemaSyncService schemaSyncService, org.apache.ignite.internal.network.ClusterService clusterService, ClientResourceRegistry resources, ClientHandlerMetricSource metrics, org.apache.ignite.internal.tx.TxManager txManager, ClientPrimaryReplicaTracker primaryReplicaTracker, org.apache.ignite.internal.hlc.ClockService clockService, org.gridgain.internal.license.LicenseFeatureChecker licenseFeatureChecker, org.apache.ignite.internal.hlc.HybridTimestampTracker tsTracker, @Nullable NotificationSender notificationSender, long requestId, Map<Long, Long> reqToTxMap) Processes the request.
-
Constructor Details
-
ClientIndexScanRequest
public ClientIndexScanRequest()
-
-
Method Details
-
process
public static CompletableFuture<ResponseWriter> process(org.apache.ignite.internal.client.proto.ClientMessageUnpacker in, org.apache.ignite.internal.table.IgniteTablesInternal tables, org.apache.ignite.internal.catalog.CatalogService catalogService, org.apache.ignite.internal.schema.SchemaSyncService schemaSyncService, org.apache.ignite.internal.network.ClusterService clusterService, ClientResourceRegistry resources, ClientHandlerMetricSource metrics, org.apache.ignite.internal.tx.TxManager txManager, ClientPrimaryReplicaTracker primaryReplicaTracker, org.apache.ignite.internal.hlc.ClockService clockService, org.gridgain.internal.license.LicenseFeatureChecker licenseFeatureChecker, org.apache.ignite.internal.hlc.HybridTimestampTracker tsTracker, @Nullable @Nullable NotificationSender notificationSender, long requestId, Map<Long, Long> reqToTxMap) Processes the request.
-