blob: bfc6c17986219ad5fe4a9a935bd0ad1512a00cc4 [file] [log] [blame]
<?php
/*
* 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\Binary;
class ClientOperation
{
// Key-Value Queries
const CACHE_GET = 1000;
const CACHE_PUT = 1001;
const CACHE_PUT_IF_ABSENT = 1002;
const CACHE_GET_ALL = 1003;
const CACHE_PUT_ALL = 1004;
const CACHE_GET_AND_PUT = 1005;
const CACHE_GET_AND_REPLACE = 1006;
const CACHE_GET_AND_REMOVE = 1007;
const CACHE_GET_AND_PUT_IF_ABSENT = 1008;
const CACHE_REPLACE = 1009;
const CACHE_REPLACE_IF_EQUALS = 1010;
const CACHE_CONTAINS_KEY = 1011;
const CACHE_CONTAINS_KEYS = 1012;
const CACHE_CLEAR = 1013;
const CACHE_CLEAR_KEY = 1014;
const CACHE_CLEAR_KEYS = 1015;
const CACHE_REMOVE_KEY = 1016;
const CACHE_REMOVE_IF_EQUALS = 1017;
const CACHE_REMOVE_KEYS = 1018;
const CACHE_REMOVE_ALL = 1019;
const CACHE_GET_SIZE = 1020;
// Cache Configuration
const CACHE_GET_NAMES = 1050;
const CACHE_CREATE_WITH_NAME = 1051;
const CACHE_GET_OR_CREATE_WITH_NAME = 1052;
const CACHE_CREATE_WITH_CONFIGURATION = 1053;
const CACHE_GET_OR_CREATE_WITH_CONFIGURATION = 1054;
const CACHE_GET_CONFIGURATION = 1055;
const CACHE_DESTROY = 1056;
// SQL and Scan Queries
const QUERY_SCAN = 2000;
const QUERY_SCAN_CURSOR_GET_PAGE = 2001;
const QUERY_SQL = 2002;
const QUERY_SQL_CURSOR_GET_PAGE = 2003;
const QUERY_SQL_FIELDS = 2004;
const QUERY_SQL_FIELDS_CURSOR_GET_PAGE = 2005;
const RESOURCE_CLOSE = 0;
// Binary Types
const GET_BINARY_TYPE = 3002;
const PUT_BINARY_TYPE = 3003;
}