Class ClientIndexGetRequest
java.lang.Object
org.apache.ignite.client.handler.requests.table.ClientIndexGetRequest
Client request: lookup rows by index key.
Returns a (possibly paginated) cursor of BinaryRows matching the supplied index key.
Wire layout (in order):
intindex id;- tx meta (
nil-> server starts an explicit RO tx); BitSetcolumn bitmap for projection (nullor empty = all columns);binaryindex-key bytes encoded as aBinaryTupleover the index columns;intpage size (must be positive - caps the rows-per-page in the response);longclient observable timestamp (used to bump the server-side timestamp tracker so a freshly started RO tx reads at a timestamp consistent with the client's view).
-
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
-
ClientIndexGetRequest
public ClientIndexGetRequest()
-
-
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.
-