Package org.apache.ignite.client
Enum Class ClientOperationType
- All Implemented Interfaces:
Serializable,Comparable<ClientOperationType>,Constable
Client operation type.
Used for custom RetryPolicy implementations - see RetryPolicyContext, IgniteClientConfiguration.retryPolicy().
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGet cache (IgniteCaches.cache(String)).Get caches (IgniteCaches.caches()).Connect channel.Cancel compute job.Change compute job priority (JobExecution.changePriorityAsync(int)).Compute Execute (IgniteCompute.submitAsync(JobTarget, JobDescriptor, Object)).Compute Execute MapReduce (IgniteCompute.submitMapReduce(org.apache.ignite.compute.TaskDescriptor<T, R>, T)).Get compute job state (JobExecution.stateAsync()).Continuous query partition scan (ContinuousQuerySource.queryContinuously(Subscriber, ContinuousQueryOptions)).Create or get a map (IgniteStructures.getOrCreateMap(org.gridgain.structure.MapConfiguration)).Get all primary replicas mapping to cluster nodes (PartitionDistribution.primaryReplicasAsync()).SQL Cursor Next Page (AsyncResultSet.fetchNextPage()).SQL Cursor Next ResultSet.SQL Execute (IgniteSql.executeAsync(Transaction, String, Object...)).SQL Execute batch (IgniteSql.executeBatchAsync(Transaction, String, BatchedArguments)).SQL Execute (IgniteSql.executeScriptAsync(String, Object...)).Send streamer batch (DataStreamerTarget.streamData(java.util.concurrent.Flow.Publisher<org.apache.ignite.table.DataStreamerItem<T>>, org.apache.ignite.table.DataStreamerOptions)).Send streamer batch with receiver (DataStreamerTarget.streamData(java.util.concurrent.Flow.Publisher<org.apache.ignite.table.DataStreamerItem<T>>, org.apache.ignite.table.DataStreamerOptions)).Get table (IgniteTables.table(String)).Get tables (IgniteTables.tables()).Contains All Keys (KeyValueView.containsAll(Transaction, Collection)).Contains Key (KeyValueView.contains(Transaction, Object)).Delete (RecordView.delete(Transaction, Object)).Delete All (RecordView.deleteAll(Transaction, Collection)).Delete All Exact (RecordView.deleteAllExact(Transaction, Collection)).Delete Exact (RecordView.deleteExact(Transaction, Object)).Get (RecordView.get(Transaction, Object)).Get All (RecordView.getAll(Transaction, Collection)).Get and Delete (RecordView.getAndDelete(Transaction, Object)).Get and Replace (RecordView.getAndReplace(Transaction, Object)).Get and Upsert (RecordView.getAndUpsert(Transaction, Object)).Insert (RecordView.insert(Transaction, Object)).Insert All (RecordView.insertAll(Transaction, Collection)).Replace (RecordView.replace(Transaction, Object)).Replace Exact (RecordView.replace(Transaction, Object, Object)).Upsert (RecordView.upsert(Transaction, Object)).Upsert (RecordView.upsertAll(Transaction, Collection)). -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientOperationTypeReturns the enum constant of this class with the specified name.static ClientOperationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHANNEL_CONNECT
Connect channel. -
TABLES_GET
Get tables (IgniteTables.tables()). -
TABLE_GET
Get table (IgniteTables.table(String)). -
TUPLE_UPSERT
Upsert (RecordView.upsert(Transaction, Object)). -
TUPLE_GET
Get (RecordView.get(Transaction, Object)). -
TUPLE_UPSERT_ALL
Upsert (RecordView.upsertAll(Transaction, Collection)). -
TUPLE_GET_ALL
Get All (RecordView.getAll(Transaction, Collection)). -
TUPLE_GET_AND_UPSERT
Get and Upsert (RecordView.getAndUpsert(Transaction, Object)). -
TUPLE_INSERT
Insert (RecordView.insert(Transaction, Object)). -
TUPLE_INSERT_ALL
Insert All (RecordView.insertAll(Transaction, Collection)). -
TUPLE_REPLACE
Replace (RecordView.replace(Transaction, Object)). -
TUPLE_REPLACE_EXACT
Replace Exact (RecordView.replace(Transaction, Object, Object)). -
TUPLE_GET_AND_REPLACE
Get and Replace (RecordView.getAndReplace(Transaction, Object)). -
TUPLE_DELETE
Delete (RecordView.delete(Transaction, Object)). -
TUPLE_DELETE_ALL
Delete All (RecordView.deleteAll(Transaction, Collection)). -
TUPLE_DELETE_EXACT
Delete Exact (RecordView.deleteExact(Transaction, Object)). -
TUPLE_DELETE_ALL_EXACT
Delete All Exact (RecordView.deleteAllExact(Transaction, Collection)). -
TUPLE_GET_AND_DELETE
Get and Delete (RecordView.getAndDelete(Transaction, Object)). -
TUPLE_CONTAINS_KEY
Contains Key (KeyValueView.contains(Transaction, Object)). -
TUPLE_CONTAINS_ALL_KEYS
Contains All Keys (KeyValueView.containsAll(Transaction, Collection)). -
COMPUTE_EXECUTE
Compute Execute (IgniteCompute.submitAsync(JobTarget, JobDescriptor, Object)). -
COMPUTE_EXECUTE_MAPREDUCE
Compute Execute MapReduce (IgniteCompute.submitMapReduce(org.apache.ignite.compute.TaskDescriptor<T, R>, T)). -
COMPUTE_GET_STATE
Get compute job state (JobExecution.stateAsync()). -
COMPUTE_CANCEL
Cancel compute job. -
COMPUTE_CHANGE_PRIORITY
Change compute job priority (JobExecution.changePriorityAsync(int)). -
SQL_EXECUTE
SQL Execute (IgniteSql.executeAsync(Transaction, String, Object...)). -
SQL_EXECUTE_SCRIPT
SQL Execute (IgniteSql.executeScriptAsync(String, Object...)). -
SQL_CURSOR_NEXT_PAGE
SQL Cursor Next Page (AsyncResultSet.fetchNextPage()). -
SQL_CURSOR_NEXT_RESULT_SET
SQL Cursor Next ResultSet. -
STREAMER_BATCH_SEND
Send streamer batch (DataStreamerTarget.streamData(java.util.concurrent.Flow.Publisher<org.apache.ignite.table.DataStreamerItem<T>>, org.apache.ignite.table.DataStreamerOptions)). -
STREAMER_WITH_RECEIVER_BATCH_SEND
Send streamer batch with receiver (DataStreamerTarget.streamData(java.util.concurrent.Flow.Publisher<org.apache.ignite.table.DataStreamerItem<T>>, org.apache.ignite.table.DataStreamerOptions)). -
SQL_EXECUTE_BATCH
SQL Execute batch (IgniteSql.executeBatchAsync(Transaction, String, BatchedArguments)). -
PRIMARY_REPLICAS_GET
Get all primary replicas mapping to cluster nodes (PartitionDistribution.primaryReplicasAsync()). -
CONTINUOUS_QUERY_SCAN_PARTITION
Continuous query partition scan (ContinuousQuerySource.queryContinuously(Subscriber, ContinuousQueryOptions)). -
CACHES_GET
Get caches (IgniteCaches.caches()). -
CACHE_GET
Get cache (IgniteCaches.cache(String)). -
MAP_GET_OR_CREATE
Create or get a map (IgniteStructures.getOrCreateMap(org.gridgain.structure.MapConfiguration)).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-