Class: Hexspace::TGetResultSetMetadataResp
- Inherits:
-
Object
- Object
- Hexspace::TGetResultSetMetadataResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb
Constant Summary collapse
- STATUS =
1
- SCHEMA =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Hexspace::TStatus}, SCHEMA => {:type => ::Thrift::Types::STRUCT, :name => 'schema', :class => ::Hexspace::TTableSchema, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1867 |
# File 'lib/hexspace/tcli_service_types.rb', line 1867 def struct_fields; FIELDS; end |
#validate ⇒ Object
1869 1870 1871 |
# File 'lib/hexspace/tcli_service_types.rb', line 1869 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status end |