Top Level Namespace

Defined Under Namespace

Modules: Digest, Metadata Classes: BatchGetRowRequest, BatchGetRowResponse, BatchWriteRowRequest, BatchWriteRowResponse, CapacityUnit, ColumnPaginationFilter, ComparatorType, CompositeColumnValueFilter, Condition, ConnectionPool, ConsumedCapacity, CreateTableRequest, CreateTableResponse, DeleteRowRequest, DeleteRowResponse, DeleteTableRequest, DeleteTableResponse, DescribeTableRequest, DescribeTableResponse, Direction, Error, Filter, FilterType, GetRangeRequest, GetRangeResponse, GetRowRequest, GetRowResponse, ListTableRequest, ListTableResponse, LoadTableRequest, LoadTableResponse, LogicalOperator, OTSProtocol, OperationType, PartitionRange, PlainBufferCodedInputStream, PlainBufferCodedOutputStream, PlainBufferCrc8, PlainBufferInputStream, PlainBufferOutputStream, PrimaryKeyOption, PrimaryKeySchema, PrimaryKeyType, PutRowRequest, PutRowResponse, ReservedThroughput, ReservedThroughputDetails, ReturnContent, ReturnType, RowExistenceExpectation, RowInBatchGetRowResponse, RowInBatchWriteRowRequest, RowInBatchWriteRowResponse, SingleColumnValueFilter, TableInBatchGetRowRequest, TableInBatchGetRowResponse, TableInBatchWriteRowRequest, TableInBatchWriteRowResponse, TableMeta, TableOptions, TableStore, TableStoreClient, TableStoreClientError, TableStoreError, TableStoreServiceError, TimeRange, UnloadTableRequest, UnloadTableResponse, UpdateRowRequest, UpdateRowResponse, UpdateTableRequest, UpdateTableResponse

Constant Summary collapse

HEADER =
0x75
TAG_ROW_PK =

tag type

0x1
TAG_ROW_DATA =
0x2
TAG_CELL =
0x3
TAG_CELL_NAME =
0x4
TAG_CELL_VALUE =
0x5
TAG_CELL_TYPE =
0x6
TAG_CELL_TIMESTAMP =
0x7
TAG_DELETE_ROW_MARKER =
0x8
TAG_ROW_CHECKSUM =
0x9
TAG_CELL_CHECKSUM =
0x0A
DELETE_ALL_VERSION =

cell op type

0x1
DELETE_ONE_VERSION =
0x3
VT_INTEGER =

variant type

0x0
VT_DOUBLE =
0x1
VT_BOOLEAN =
0x2
VT_STRING =
0x3
VT_NULL =
0x6
VT_BLOB =
0x7
VT_INF_MIN =
0x9
VT_INF_MAX =
0xa
VT_AUTO_INCREMENT =
0xb
LITTLE_ENDIAN_32_SIZE =

othber

4
LITTLE_ENDIAN_64_SIZE =
8
MAX_BUFFER_SIZE =
64 * 1024 * 1024
SYS_BITS =
OS.bits.to_i
LITTLE_ENDIAN_SIZE =
LITTLE_ENDIAN_32_SIZE
VERSION =
'0.0.1'
ALL_DATA_TYPE =
[
    'OTSClient',
    # Data Types
    'INF_MIN',
    'INF_MAX',
    'PK_AUTO_INCR',
    'TableMeta',
    'TableOptions',
    'CapacityUnit',
    'ReservedThroughput',
    'ReservedThroughputDetails',
    'ColumnType',
    'ReturnType',
    'Column',
    'Direction',
    'UpdateTableResponse',
    'DescribeTableResponse',
    'RowDataItem',
    'Condition',
    'Row',
    'RowItem',
    'PutRowItem',
    'UpdateRowItem',
    'DeleteRowItem',
    'BatchGetRowRequest',
    'TableInBatchGetRowItem',
    'BatchGetRowResponse',
    'BatchWriteRowType',
    'BatchWriteRowRequest',
    'TableInBatchWriteRowItem',
    'BatchWriteRowResponse',
    'BatchWriteRowResponseItem',
    'TableStoreClientError',
    'TableStoreServiceError',
    'DefaultRetryPolicy',
    'LogicalOperator',
    'ComparatorType',
    'ColumnConditionType',
    'ColumnCondition',
    'CompositeColumnCondition',
    'SingleColumnCondition',
    'RowExistenceExpectation',
]
ALL =
[
    'INF_MIN',
    'INF_MAX',
    'PK_AUTO_INCR',
    'TableMeta',
    'TableOptions',
    'CapacityUnit',
    'ReservedThroughput',
    'ReservedThroughputDetails',
    'ColumnType',
    'ReturnType',
    'Column',
    'Direction',
    'UpdateType',
    'UpdateTableResponse',
    'DescribeTableResponse',
    'RowDataItem',
    'Condition',
    'Row',
    'RowItem',
    'PutRowItem',
    'UpdateRowItem',
    'DeleteRowItem',
    'BatchGetRowRequest',
    'TableInBatchGetRowItem',
    'BatchGetRowResponse',
    'BatchWriteRowType',
    'BatchWriteRowRequest',
    'TableInBatchWriteRowItem',
    'BatchWriteRowResponse',
    'BatchWriteRowResponseItem',
    'LogicalOperator',
    'ComparatorType',
    'ColumnConditionType',
    'ColumnCondition',
    'CompositeColumnCondition',
    'SingleColumnCondition',
    'RowExistenceExpectation',
]
NETWORK_IO_TIME_COUNT_FLAG =
false
NETWORK_IO_TIME =
0
INTEGER =
1
STRING =
2
BINARY =
3
AUTO_INCREMENT =
1
IGNORE =
0
EXPECT_EXIST =
1
EXPECT_NOT_EXIST =
2
RT_NONE =
0
RT_PK =
1
PUT =
1
UPDATE =
2
DELETE =
3
FORWARD =
0
BACKWARD =
1