class Swcdb::Thrift::Gen::Schema
The Schema
Definition
Constants
- BLK_CELLS
- BLK_ENCODING
- BLK_SIZE
- CELL_TTL
- CELL_VERSIONS
- CID
- COL_NAME
- COL_SEQ
- COL_TAGS
- COL_TYPE
- COMPACT_PERCENT
- CS_MAX
- CS_REPLICATION
- CS_SIZE
- FIELDS
- LOG_COMPACT_COINTERVALING
- LOG_FRAGMENT_PRELOAD
- LOG_ROLLOUT_RATIO
- REVISION
Public Instance Methods
struct_fields()
click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 327 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 329 def validate unless @col_seq.nil? || ::Swcdb::Thrift::Gen::KeySeq::VALID_VALUES.include?(@col_seq) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field col_seq!') end unless @col_type.nil? || ::Swcdb::Thrift::Gen::ColumnType::VALID_VALUES.include?(@col_type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field col_type!') end unless @blk_encoding.nil? || ::Swcdb::Thrift::Gen::EncodingType::VALID_VALUES.include?(@blk_encoding) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field blk_encoding!') end end