The SWC-DB Thrift Protocol & Supported Languages

The Supported Languages by SWC-DB Thrift

Available SWC-DB Thrift Client Service libraries:

Additional only generated SWC-DB Thrift Client Service:

Languages Support can be extended upto supported languages by Apache-Thrift


The SWC-DB Thrift Modules

Module Services & Functions Data types Constants
Service Service KeySeq  
  • sql_mng_column ColumnType  
  • sql_list_columns EncodingType  
  • sql_compact_columns SchemaFunc  
  • sql_select Comp  
  • sql_select_rslt_on_column SpecFlagsOpt  
  • sql_select_rslt_on_key Flag  
  • sql_select_rslt_on_fraction CellsResult  
  • sql_query Schemas  
  • sql_update Key  
  • exec_sql SpecKey  
  • updater_create SpecKeyIntervals  
  • updater_close SpecValues  
  • update SpecValueSerialFields  
  • update_serial SpecValuesSerial  
  • mng_column UCells  
  • list_columns UCCells  
  • compact_columns CellValuesSerial  
  • scan UCellsSerial  
  • scan_rslt_on_column UCCellsSerial  
  • scan_rslt_on_key CCells  
  • scan_rslt_on_fraction KCells  
  • scan_rslt_on CompactResults  
    Exception  
    Schema  
    SchemaPattern  
    SchemaTagsPatterns  
    SchemaPatterns  
    SpecSchemas  
    SpecFlags  
    SpecFraction  
    SpecTimestamp  
    SpecKeyInterval  
    SpecValue  
    SpecInterval  
    SpecColumn  
    SpecValueSerial_INT64  
    SpecValueSerial_DOUBLE  
    SpecValueSerial_BYTES  
    SpecValueSerial_KEY  
    SpecValueSerial_LI  
    SpecValueSerial_LB  
    SpecValueSerialField  
    SpecValueSerial  
    SpecIntervalSerial  
    SpecColumnSerial  
    SpecScan  
    UCell  
    CellValueSerial  
    UCellSerial  
    Cell  
    CellSerial  
    Cells  
    CCell  
    CCellSerial  
    ColCells  
    KCell  
    KCellSerial  
    kCells  
    FCell  
    FCellSerial  
    FCells  
    CellsGroup  
    CompactResult  
    Result  

Enumerations

Enumeration: KeySeq

Column Key Sequences

Name Value Description
UNKNOWN 0 Unknown/Unrecognized Type
LEXIC 1 The Lexical Key Order Sequence
VOLUME 2 The Volumetric Key Order Sequence
FC_LEXIC 3 The by Fractions Count on Lexical Key Order Sequence
FC_VOLUME 4 The by Fractions Count on Volumetric Key Order Sequence

Enumeration: ColumnType

Column Value Types

Name Value Description
UNKNOWN 0 Unknown/Unrecognized Type
PLAIN 1 A Plain Column Value
COUNTER_I64 2 A Counter Column Value with integrity of signed-64bit
COUNTER_I32 3 A Counter Column Value with integrity of signed-32bit
COUNTER_I16 4 A Counter Column Value with integrity of signed-16bit
COUNTER_I8 5 A Counter Column Value with integrity of signed-8bit
SERIAL 6 A Serial Column Value
CELL_DEFINED 15 Not used - experimental

Enumeration: EncodingType

Data Encoding Types

Name Value Description
DEFAULT 0 Encoding by Ranger DEFAULT configurations
PLAIN 1 No Encoding
ZLIB 2 Encode with zlib
SNAPPY 3 Encode with snappy
ZSTD 4 Encode with zstandard
UNKNOWN 255 Unrecognized Type

Enumeration: SchemaFunc

Manage Columns schema function Flags

Name Value Description
CREATE 3 Create Column Function
REMOVE 5 Delete Column Function
MODIFY 7 Modify Column Function

Enumeration: Comp

The available logical Comparators, plus extended logic options applied with ‘v' for VOLUME

Name Value Description
NONE 0 [ ] : none (no comparison applied)
PF 1 [ =^ ] : -pf [prefix] (starts-with)
GT 2 [ > ] : -gt (greater-than)
GE 3 [ >= ] : -ge (greater-equal)
EQ 4 [ = ] : -eq (equal)
LE 5 [ <= ] : -le (lower-equal)
LT 6 [ < ] : -lt (lower-than)
NE 7 [ != ] : -ne (not-equal)
RE 8 [ re ] : -re [r,regexp] (regular-expression)
VGT 9 [ v> ] : -vgt (vol greater-than)
VGE 10 [ v>= ] : -vge (vol greater-equal)
VLE 11 [ v<= ] : -vle (vol lower-equal)
VLT 12 [ v< ] : -vlt (vol lower-than)
SBS 13 [ %> ] : -subset [sbs] (subset)
SPS 14 [ <% ] : -supset [sps] (superset)
POSBS 15 [ ~> ] : -posubset [posbs] (eq/part ordered subset)
POSPS 16 [ <~ ] : -posupset [posps] (eq/part ordered superset)
FOSBS 17 [ -> ] : -fosubset [fosbs] (eq/full ordered subset)
FOSPS 18 [ <- ] : -fosupset [fosps] (eq/full ordered superset)

Enumeration: SpecFlagsOpt

The Scan options Flags Specifications for the SpecFlags ‘options' bit

Name Value Description
NONE 0 No Flag Applied
LIMIT_BY_KEYS 1 Cells Limit by Keys
OFFSET_BY_KEYS 4 Cells Offset by Keys
ONLY_KEYS 8 Select Cells Only Keys without Value data
ONLY_DELETES 10 Select Cells Only with DELETE(cell-flag)

Enumeration: Flag

The Cell Flag

Name Value Description
NONE 0 Unknown/Undefined
INSERT 1 The Cell is an insert
DELETE_LE 2 The Cell is a delete versions lower-equal
DELETE_EQ 3 The Cell is a delete version equal

Enumeration: CellsResult

The Cells Results types for using with CellsGroup requests

Name Value Description
IN_LIST 0 Correspond to result on Cells (Cells in list)
ON_COLUMN 1 Correspond to result on CCells (Columns Cells)
ON_KEY 2 Correspond to result on KCells (Keys Cells)
ON_FRACTION 3 Correspond to result on FCells (Fraction Cells)

Type declarations

Typedef: Schemas

A list-container of Schemas

Base type: list<Schema>

Typedef: Key

A Cell Key defined as binary(bytes) items in a list-container

Base type: list<binary>

Typedef: SpecKey

The Key Specifications defined as SpecFraction items in a list-container

Base type: list<SpecFraction>

Typedef: SpecKeyIntervals

The Key Intervals Specifications defined as SpecKeyInterval items in a list-container

Base type: list<SpecKeyInterval>

Typedef: SpecValues

The Cell Value Specifications defined as SpecValue items in a list-container

Base type: list<SpecValue>

Typedef: SpecValueSerialFields

The Serial Cell Value Specifications defined as SpecValueSerialField items in a list-container

Base type: list<SpecValueSerialField>

Typedef: SpecValuesSerial

The Cell Value Specifications defined as SpecValueSerial items in a list-container

Base type: list<SpecValueSerial>

Typedef: UCells

The Cells for Update defined as UCell items in a list-container

Base type: list<UCell>

Typedef: UCCells

The Cells for Update for a Column Id defined as UCells items in a map-container by CID

Base type: map<i64, UCells>

Typedef: CellValuesSerial

The Serial Cell Value Fields defined as CellValueSerial items in a list-container

Base type: list<CellValueSerial>

Typedef: UCellsSerial

The Cells for Update defined as UCellSerial items in a list-container

Base type: list<UCellSerial>

Typedef: UCCellsSerial

The Cells for Update for a Column Id defined as UCellsSerial items in a map-container by CID

Base type: map<i64, UCellsSerial>

Typedef: CCells

The Columns Cells for results on Columns of scan, defined as ColCells items in a map-container by Column Name

Base type: map<string, ColCells>

Typedef: KCells

The Keys Cells for results on Key of scan, defined as kCells items in a list-container

Base type: list<kCells>

Typedef: CompactResults

The Compact Results, defined as CompactResult items in a list-container

Base type: list<CompactResult>


Data structures

Exception: Exception

The SWC::Thrift::Exception a base for any Exceptions both for the Thrift-Protocol and SWC-DB Errors.

Key Field Type Description Requiredness Default value
1 code i32 The corresponding Thrift-Procotol or SWC-DB Error Code default  
2 message string The message describing the error code default  

Struct: Schema

The Schema Definition

Key Field Type Description Requiredness Default value
1 cid i64 Column ID optional  
2 col_name string Column Name optional  
3 col_tags list<string> Column Tags default  
4 col_seq KeySeq Column Key Sequence optional  
5 col_type ColumnType Column Type optional  
6 cell_versions i32 Cell Versions optional  
7 cell_ttl i32 Cell Time to Live optional  
8 blk_encoding EncodingType Block Encoding optional  
9 blk_size i32 Block Size in Bytes optional  
10 blk_cells i32 Number of Cells in Block optional  
11 cs_replication i8 CellStore file Replication optional  
12 cs_size i32 CellStore Size in Bytes optional  
13 cs_max i8 Max CellStores in a Range optional  
14 log_rollout_ratio i8 Write Fragment File on ratio reached optional  
15 log_compact_cointervaling i8 Min. Cointervaling Fragments for Compaction optional  
16 log_fragment_preload i8 Number of Fragment to Preload optional  
17 compact_percent i8 Compact at percent reach optional  
18 revision i64 Schema's revision/id optional  

Struct: SchemaPattern

The Schema matching Pattern

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 value string The patern value to match against default  

Struct: SchemaTagsPatterns

The Schema Tags patterns for the SchemaPatterns

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply, unsupported PF, RE and Vol. kind default  
2 values list<SchemaPattern> The tags patterns to match against schema's column tags default  

Struct: SchemaPatterns

The Schema Patterns for the SpecSchemas

Key Field Type Description Requiredness Default value
1 names list<SchemaPattern> The Schema patterns for selecting by Column Name default  
2 tags SchemaTagsPatterns The Schema patterns for selecting by Column Tags default  

Struct: SpecSchemas

The Specs for Schemas for using with list_columns or compact_columns

Key Field Type Description Requiredness Default value
1 cids list<i64> The Column IDs default  
2 names list<string> The Column Names default  
3 patterns SchemaPatterns The Schema's selector patterns default  

Struct: SpecFlags

The Scan Specifications Flags

Key Field Type Description Requiredness Default value
1 limit i64 Limit to this number of cells optional  
2 offset i64 Scan from this number of cells Offset on matching Cell-Interval optional  
3 max_versions i32 Select only this number of Versions of a given Cell-Key optional  
4 max_buffer i32 return results with reach of this Buffer size in bytes optional  
5 options i8 The options bit by SpecFlagsOpt optional  

Struct: SpecFraction

The Fraction Specifications

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 f binary The binary(bytes) to match against a fraction of a Cell-Key default  

Struct: SpecTimestamp

The Timestamp Specifications

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 ts i64 The timestamp in nanoseconds to match against the Cell timestamp/version (not the revision) default  

Struct: SpecKeyInterval

The Key Interval Specifications

Key Field Type Description Requiredness Default value
1 start SpecKey The Key Start Spec, the start of cells-interval key match default  
2 finish SpecKey The Key Finish Spec, the finish of cells-interval key match default  

Struct: SpecValue

The Value Specifications, option to use with Extended Logical Comparators

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 v binary The binary(bytes) to match against the Cell value default  

Struct: SpecInterval

The Cells Interval Specifications with interval-scope Flags

Key Field Type Description Requiredness Default value
1 range_begin Key Begin of Ranges evaluation with this Key inclusive default  
2 range_end Key End of Ranges evaluation with this Key inclusive default  
3 offset_key Key Offset Cell Key of a Scan, select cells from this key inclusive default  
4 offset_rev i64 Offset Cell Timestamp of a Scan, select cells after this timestamp optional  
5 key_intervals SpecKeyIntervals The Key Intervals default  
6 values SpecValues The Cell Value Specifications, cell-value match default  
7 ts_start SpecTimestamp The Timestamp Start Spec, the start of cells-interval timestamp match optional  
8 ts_finish SpecTimestamp The Timestamp Finish Spec, the finish of cells-interval timestamp match optional  
9 flags SpecFlags The Interval Flags Specification optional  

Struct: SpecColumn

The Column Specifications, the Cells-Intervals(SpecInterval/s) specification for a column

Key Field Type Description Requiredness Default value
1 cid i64 The Column ID default  
2 intervals list<SpecInterval> The Cells Interval in a list-container default  

Struct: SpecValueSerial_INT64

The Specifications of INT64 Serial Value Field

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 v i64 The int64 to match against the value field default  

Struct: SpecValueSerial_DOUBLE

The Specifications of DOUBLE Serial Value Field

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 v double The double to match against the value field default  

Struct: SpecValueSerial_BYTES

The Specifications of BYTES Serial Value Field

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 v binary The binary(bytes) to match against the value field default  

Struct: SpecValueSerial_KEY

The Specifications of KEY Serial Value Field

Key Field Type Description Requiredness Default value
1 seq KeySeq The Key Sequence to use default  
2 v SpecKey The Specification of the Key to match against the value field default  

Struct: SpecValueSerial_LI

The Specifications of LIST_INT64(LI) Serial Value Field

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 v list<SpecValueSerial_INT64> The List of Int64 to match against the value field default  

Struct: SpecValueSerial_LB

The Specifications of LIST_BYTES(LB) Serial Value Field

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 v list<SpecValueSerial_BYTES> The List of Bytes to match against the value field default  

Struct: SpecValueSerialField

Key Field Type Description Requiredness Default value
1 field_id i32 The Field Id of the Value Field default  
2 spec_int64 SpecValueSerial_INT64 The specifications of Int64 for the field optional  
3 spec_double SpecValueSerial_DOUBLE The specifications of Double for the field optional  
4 spec_bytes SpecValueSerial_BYTES The specifications of Bytes for the field default  
5 spec_key SpecValueSerial_KEY The specifications of Cell-Key for the field default  
6 spec_li SpecValueSerial_LI The specifications of List Int64 for the field default  
7 spec_lb SpecValueSerial_LB The specifications of List Bytes for the field default  

Struct: SpecValueSerial

The Serial Value Specifications

Key Field Type Description Requiredness Default value
1 comp Comp Logical comparator to Apply default  
2 fields SpecValueSerialFields The Serial Value Specifications to match against the SERIAL Cell value fields default  

Struct: SpecIntervalSerial

The Serial Value Cells Interval Specifications with interval-scope Flags

Key Field Type Description Requiredness Default value
1 range_begin Key Begin of Ranges evaluation with this Key inclusive default  
2 range_end Key End of Ranges evaluation with this Key inclusive default  
3 offset_key Key Offset Cell Key of a Scan, select cells from this key inclusive default  
4 offset_rev i64 Offset Cell Timestamp of a Scan, select cells after this timestamp optional  
5 key_intervals SpecKeyIntervals The Key Intervals default  
6 values SpecValuesSerial The Serial Cell Value Specifications, cell-value fields match default  
7 ts_start SpecTimestamp The Timestamp Start Spec, the start of cells-interval timestamp match optional  
8 ts_finish SpecTimestamp The Timestamp Finish Spec, the finish of cells-interval timestamp match optional  
9 flags SpecFlags The Interval Flags Specification optional  

Struct: SpecColumnSerial

The Column Specifications, the Cells-Intervals(SpecInterval/s) specification for a SERIAL Type Column

Key Field Type Description Requiredness Default value
1 cid i64 The Column ID default  
2 intervals list<SpecIntervalSerial> The Serial Cells Interval in a list-container default  

Struct: SpecScan

The Scan Specifications, the Columns-Intervals(SpecColumn/s) with global-scope Flags

Key Field Type Description Requiredness Default value
1 columns list<SpecColumn> The Column Intervals(SpecColumn) in a list-container default  
2 columns_serial list<SpecColumnSerial> The Serial Column Intervals(SpecColumnSerial) in a list-container default  
3 flags SpecFlags The Global Flags Specification optional  

Struct: UCell

The Cell data for using with Update

Key Field Type Description Requiredness Default value
1 f Flag The Cell Flag default  
2 k Key The Cell Key default  
3 ts i64 The Cell Timestamp in nanoseconds optional  
4 ts_desc bool The Cell Version is in timestamp descending optional  
5 v binary The Cell Value default  
6 encoder EncodingType Optionally the Cell Value Encoding Type: ZLIB/SNAPPY/ZSTD optional  

Struct: CellValueSerial

The Serial Value Cell field

Key Field Type Description Requiredness Default value
1 field_id i32 The Field ID, a single ID can have any/all the field types default  
2 v_int64 i64 The INT64 type field optional  
3 v_double double The DOUBLE type field optional  
4 v_bytes binary The BYTES type field default  
5 v_key Key The Cell KEY type field default  
6 v_li list<i64> The LIST INT64 type field default  
7 v_lb list<binary> The LIST BYTES type field default  

Struct: UCellSerial

The Cell data for using with Update of SERIAL Column Type

Key Field Type Description Requiredness Default value
1 f Flag The Cell Flag default  
2 k Key The Cell Key default  
3 ts i64 The Cell Timestamp in nanoseconds optional  
4 ts_desc bool The Cell Version is in timestamp descending optional  
5 v CellValuesSerial The Serial Cell Value fields default  
6 encoder EncodingType Optionally the Cell Value Encoding Type: ZLIB/SNAPPY/ZSTD optional  

Struct: Cell

The Cell for results list of scan

Key Field Type Description Requiredness Default value
1 c string The Column Name default  
2 k Key The Cell Key default  
3 ts i64 The Cell Timestamp default  
4 v binary The Cell Value default  

Struct: CellSerial

The Serial Cell for results list of scan

Key Field Type Description Requiredness Default value
1 c string The Column Name default  
2 k Key The Cell Key default  
3 ts i64 The Cell Timestamp default  
4 v CellValuesSerial The Cell Serial Value default  

Struct: Cells

The Cells for results list of scan

Key Field Type Description Requiredness Default value
1 cells list<Cell> The Cells, defined as Cell items in a list-container default  
2 serial_cells list<CellSerial> The Serial Cells, defined as CellSerial items in a list-container default  

Struct: CCell

The Column Cell for results on Columns of scan

Key Field Type Description Requiredness Default value
1 k Key The Cell Key default  
2 ts i64 The Cell Timestamp default  
3 v binary The Cell Value default  

Struct: CCellSerial

The Column Serial Cell for results on Columns of scan

Key Field Type Description Requiredness Default value
1 k Key The Cell Key default  
2 ts i64 The Cell Timestamp default  
3 v CellValuesSerial The Cell Serial Value default  

Struct: ColCells

The Column Cells for results on Columns of scan

Key Field Type Description Requiredness Default value
1 cells list<CCell> The Cells, defined as CCell items in a list-container default  
2 serial_cells list<CCellSerial> The Serial Cells, defined as CCellSerial items in a list-container default  

Struct: KCell

The Key Cell for results on Key of scan

Key Field Type Description Requiredness Default value
1 c string The Column Name default  
2 ts i64 The Cell Timestamp default  
3 v binary The Cell Value default  

Struct: KCellSerial

The Key Serial Cell for results on Key of scan

Key Field Type Description Requiredness Default value
1 c string The Column Name default  
2 ts i64 The Cell Timestamp default  
3 v CellValuesSerial The Cell Serial Value default  

Struct: kCells

The Key Cells for results on Key of scan

Key Field Type Description Requiredness Default value
1 k Key The Cell Key default  
2 cells list<KCell> The Key's Cells, defined as KCell items in a list-container default  
3 serial_cells list<KCellSerial> The Key's Serial Cells, defined as KCellSerial items in a list-container default  

Struct: FCell

The Fraction Cell for results on Fraction of scan

Key Field Type Description Requiredness Default value
1 c string The Column Name default  
2 ts i64 The Cell Timestamp default  
3 v binary The Cell Value default  

Struct: FCellSerial

The Fraction Serial Cell for results on Fraction of scan

Key Field Type Description Requiredness Default value
1 c string The Column Name default  
2 ts i64 The Cell Timestamp default  
3 v CellValuesSerial The Cell Serial Value default  

Struct: FCells

The Fraction Cells for results on Fraction of scan

Key Field Type Description Requiredness Default value
1 f map<binary, FCells> The Fraction Container for the Next Fractions Tree, defined as FCells items in a map-container by current Fraction bytes default  
2 cells list<FCell> The current Fraction's Cells, defined as FCell items in a list-container default  
3 serial_cells list<FCellSerial> The current Fraction's Serial Cells, defined as FCellSerial items in a list-container default  

Struct: CellsGroup

A Grouped Cells result for results of scan, determined by the request's CellsResult enum

Key Field Type Description Requiredness Default value
1 cells Cells The Cells in a list, defined as Cell items in a list-container default  
2 ccells CCells The Columns Cells in a map-container, defined as ColCells items by Column Name default  
3 kcells KCells The Keys Cells in a list, defined as kCells items in a list-container default  
4 fcells FCells The Fraction Cells in struct FCells default  

Struct: CompactResult

The Compact Result

Key Field Type Description Requiredness Default value
1 cid i64 Column ID default  
2 err i32 Error default  

Struct: Result

The Result of ‘exec_sql'

Key Field Type Description Requiredness Default value
1 schemas Schemas Set with result for ‘list columns' query default  
2 cells Cells Set with result for ‘select' query default  
3 compact CompactResults Set with result for ‘compact columns' query default  

Services

Service: Service

The SWC-DB Thrift Service

Function: Service.sql_mng_column

The direct SQL method to Manage Column.

void sql_mng_column(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.sql_list_columns

The direct SQL method to List Columns

Schemas sql_list_columns(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.sql_compact_columns

The direct SQL method to Compact Columns

CompactResults sql_compact_columns(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.sql_select

The direct SQL method to select cells with result in Cells List.

Cells sql_select(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.sql_select_rslt_on_column

The direct SQL method to select cells with result in Columns Cells map.

CCells sql_select_rslt_on_column(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.sql_select_rslt_on_key

The direct SQL method to select cells with result in Key Cells list.

KCells sql_select_rslt_on_key(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.sql_select_rslt_on_fraction

The direct SQL method to select cells with result in Fractons Cells.

FCells sql_select_rslt_on_fraction(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.sql_query

The SQL method to select cells with result set by the request's type of CellsResult.

CellsGroup sql_query(string sql, CellsResult rslt)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute
    2. rslt - The Type of Cells Result for the response

Function: Service.sql_update

The direct SQL method to update cells optionally to work with updater-id.

void sql_update(string sql, i64 updater_id = 0)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute
    2. updater_id - The Updater ID to work with

Function: Service.exec_sql

The SQL method to execute any query.

Result exec_sql(string sql)

throws Exception

  • parameters:
    1. sql - The SQL string to Execute

Function: Service.updater_create

The method to Create an Updater ID with buffering size in bytes.

i64 updater_create(i32 buffer_size)

throws Exception

  • parameters:
    1. buffer_size - The buffer size of the Updater

Function: Service.updater_close

The method to Close an Updater ID.

void updater_close(i64 id)

throws Exception

  • parameters:
    1. id - The Updater ID to close

Function: Service.update

The direct method to update cells with cell in Update-Columns-Cells, optionally to work with updater-id.

void update(UCCells cells, i64 updater_id = 0)

throws Exception

  • parameters:
    1. cells - The Cells to update
    2. updater_id - The Updater ID to use for write

Function: Service.update_serial

The direct method to update cells with cell in Update-Columns-Cells-Serial, optionally to work with updater-id.

void update_serial(UCCellsSerial cells, i64 updater_id = 0)

throws Exception

  • parameters:
    1. cells - The Serial Cells to update
    2. updater_id - The Updater ID to use for write

Function: Service.mng_column

The direct method to Manage Column

void mng_column(SchemaFunc func, Schema schema)

throws Exception

  • parameters:
    1. func - The Action Function to use
    2. schema - The Schema for the Action

Function: Service.list_columns

The direct method to List Columns

Schemas list_columns(SpecSchemas spec)

throws Exception

  • parameters:
    1. spec - The Schemas Specifications to match Schema for response

Function: Service.compact_columns

The direct method to Compact Columns

CompactResults compact_columns(SpecSchemas spec)

throws Exception

  • parameters:
    1. spec - The Schemas Specifications to match columns to Compact

Function: Service.scan

The direct method to select cells with result in Cells List.

Cells scan(SpecScan spec)

throws Exception

  • parameters:
    1. spec - The Scan Specifications for the scan

Function: Service.scan_rslt_on_column

The direct method to select cells with result in Columns Cells map.

CCells scan_rslt_on_column(SpecScan spec)

throws Exception

  • parameters:
    1. spec - The Scan Specifications for the scan

Function: Service.scan_rslt_on_key

The direct method to select cells with result in Key Cells list.

KCells scan_rslt_on_key(SpecScan spec)

throws Exception

  • parameters:
    1. spec - The Scan Specifications for the scan

Function: Service.scan_rslt_on_fraction

The direct method to select cells with result in Fractons Cells.

FCells scan_rslt_on_fraction(SpecScan spec)

throws Exception

  • parameters:
    1. spec - The Scan Specifications for the scan

Function: Service.scan_rslt_on

The method to select cells with result set by the request's type of CellsResult.

CellsGroup scan_rslt_on(SpecScan spec, CellsResult rslt)

throws Exception

  • parameters:
    1. spec - The Scan Specifications for the scan
    2. rslt - The Type of Cells Result for the response
  • exceptions:
    • Exception - The Base Exception