Passed
Push — master ( 3d7afe...8baea4 )
by Eugene
05:38
created

Keys::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the Tarantool Client package.
5
 *
6
 * (c) Eugene Leonovich <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Tarantool\Client;
15
16
/**
17
 * @see https://www.tarantool.io/en/doc/2.1/dev_guide/internals/box_protocol/
18
 */
19
final class Keys
20
{
21
    public const CODE = 0x00;
22
    public const SYNC = 0x01;
23
    public const SCHEMA_ID = 0x05;
24
    public const SPACE_ID = 0x10;
25
    public const INDEX_ID = 0x11;
26
    public const LIMIT = 0x12;
27
    public const OFFSET = 0x13;
28
    public const ITERATOR = 0x14;
29
    public const KEY = 0x20;
30
    public const TUPLE = 0x21;
31
    public const FUNCTION_NAME = 0x22;
32
    public const USER_NAME = 0x23;
33
    public const EXPR = 0x27;
34
    public const OPERATIONS = 0x28;
35
    public const DATA = 0x30;
36
    public const METADATA = 0x32;
37
    public const ERROR = 0x31;
38
    public const SQL_TEXT = 0x40;
39
    public const SQL_BIND = 0x41;
40
    public const SQL_INFO = 0x42;
41
42
    public const GREETING_SIZE = 128;
43
    public const LENGTH_SIZE = 5;
44
45
    private function __construct()
46
    {
47
    }
48
}
49