Class: Hexspace::TTableSchema

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb

Constant Summary collapse

COLUMNS =
1
FIELDS =
{
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Hexspace::TColumnDesc}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



577
# File 'lib/hexspace/tcli_service_types.rb', line 577

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


579
580
581
# File 'lib/hexspace/tcli_service_types.rb', line 579

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field columns is unset!') unless @columns
end