forked from aerospike/aerospike-client-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
field_type.go
48 lines (41 loc) · 1.49 KB
/
field_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright 2013-2017 Aerospike, Inc.
//
// Licensed 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.
package aerospike
// FieldType represents the type of the field in Aerospike Wire Protocol
type FieldType int
// FieldType constants used in the Aerospike Wire Protocol.
const (
NAMESPACE FieldType = 0
TABLE FieldType = 1
KEY FieldType = 2
//BIN FieldType = 3;
DIGEST_RIPE FieldType = 4
//GU_TID FieldType = 5;
DIGEST_RIPE_ARRAY FieldType = 6
TRAN_ID FieldType = 7 // user supplied transaction id, which is simply passed back
SCAN_OPTIONS FieldType = 8
SCAN_TIMEOUT FieldType = 9
INDEX_NAME FieldType = 21
INDEX_RANGE FieldType = 22
INDEX_FILTER FieldType = 23
INDEX_LIMIT FieldType = 24
INDEX_ORDER_BY FieldType = 25
INDEX_TYPE = 26
UDF_PACKAGE_NAME FieldType = 30
UDF_FUNCTION FieldType = 31
UDF_ARGLIST FieldType = 32
UDF_OP FieldType = 33
QUERY_BINLIST FieldType = 40
PREDEXP FieldType = 43
)