Class: Hexspace::TTableSchema
- Inherits:
-
Object
- Object
- Hexspace::TTableSchema
- 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_fields ⇒ Object
577 |
# File 'lib/hexspace/tcli_service_types.rb', line 577 def struct_fields; FIELDS; end |
#validate ⇒ Object
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 |