| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| namespace Apache.Ignite.Internal.Proto |
| { |
| /// <summary> |
| /// Client operation codes. |
| /// </summary> |
| internal enum ClientOp |
| { |
| /** None */ |
| None = 0, |
| |
| /** Heartbeat. */ |
| Heartbeat = 1, |
| |
| /** Get tables. */ |
| TablesGet = 3, |
| |
| /** Get table. */ |
| TableGet = 4, |
| |
| /** Get schemas. */ |
| SchemasGet = 5, |
| |
| /** Upsert tuple. */ |
| TupleUpsert = 10, |
| |
| /** Get tuple. */ |
| TupleGet = 12, |
| |
| /** Upsert all tuples. */ |
| TupleUpsertAll = 13, |
| |
| /** Get all tuples. */ |
| TupleGetAll = 15, |
| |
| /** Get and upsert tuple. */ |
| TupleGetAndUpsert = 16, |
| |
| /** Insert tuple. */ |
| TupleInsert = 18, |
| |
| /** Insert all tuples. */ |
| TupleInsertAll = 20, |
| |
| /** Replace tuple. */ |
| TupleReplace = 22, |
| |
| /** Replace exact tuple. */ |
| TupleReplaceExact = 24, |
| |
| /** Get and replace tuple. */ |
| TupleGetAndReplace = 26, |
| |
| /** Delete tuple. */ |
| TupleDelete = 28, |
| |
| /** Delete all tuples. */ |
| TupleDeleteAll = 29, |
| |
| /** Delete exact tuple. */ |
| TupleDeleteExact = 30, |
| |
| /** Delete all exact tuples. */ |
| TupleDeleteAllExact = 31, |
| |
| /** Get and delete tuple. */ |
| TupleGetAndDelete = 32, |
| |
| /** Contains tuple. */ |
| TupleContainsKey = 33, |
| |
| /** Begin transaction. */ |
| TxBegin = 43, |
| |
| /** Commit transaction. */ |
| TxCommit = 44, |
| |
| /** Rollback transaction. */ |
| TxRollback = 45, |
| |
| /** Execute compute job. */ |
| ComputeExecute = 47, |
| |
| /** Get cluster nodes. */ |
| ClusterGetNodes = 48, |
| |
| /** Execute compute job. */ |
| ComputeExecuteColocated = 49, |
| |
| /** Execute SQL query. */ |
| SqlExec = 50, |
| |
| /** Get next page. */ |
| SqlCursorNextPage = 51, |
| |
| /** Close cursor. */ |
| SqlCursorClose = 52, |
| |
| /** Get partition assignment. */ |
| PartitionAssignmentGet = 53, |
| |
| /** Execute SQL script. */ |
| SqlExecScript = 56, |
| |
| /** SQL parameter metadata. */ |
| SqlParamMeta = 57, |
| |
| /** Get compute job status. */ |
| ComputeGetStatus = 59, |
| |
| /** Cancel compute job. */ |
| ComputeCancel = 60, |
| |
| /** Change compute job priority. */ |
| ComputeChangePriority = 61, |
| |
| /** Send streamer batch. */ |
| StreamerBatchSend = 62, |
| |
| /** Execute SQL batch. */ |
| SqlExecBatch = 63, |
| |
| /** Execute MapReduce task. */ |
| ComputeExecuteMapReduce = 64, |
| |
| /** Get primary replicas. */ |
| PrimaryReplicasGet = 65, |
| |
| /** Send streamer batch with receiver. */ |
| StreamerWithReceiverBatchSend = 66, |
| |
| /** Cancel an operation. */ |
| OperationCancel = 70, |
| |
| /** Get tables with qualified names. */ |
| TablesGetQualified = 71, |
| |
| /** Get table by qualified name. */ |
| TableGetQualified = 72, |
| |
| /** Response to a server->client operation. */ |
| ServerOpResponse = 73 |
| } |
| } |