Class: Impala::Protocol::Beeswax::ResultsMetadata
- Inherits:
-
Object
- Object
- Impala::Protocol::Beeswax::ResultsMetadata
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/beeswax_types.rb
Overview
Applicable only for SELECT.
Constant Summary collapse
- SCHEMA =
1
- TABLE_DIR =
2
- IN_TABLENAME =
3
- DELIM =
4
- FIELDS =
{ # The schema of the results SCHEMA => {:type => ::Thrift::Types::STRUCT, :name => 'schema', :class => ::Impala::Protocol::HiveMetastore::Schema}, # The directory containing the results. Not applicable for partition table. TABLE_DIR => {:type => ::Thrift::Types::STRING, :name => 'table_dir'}, # If the results are straight from an existing table, the table name. IN_TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'in_tablename'}, # Field delimiter DELIM => {:type => ::Thrift::Types::STRING, :name => 'delim'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
123 |
# File 'lib/impala/protocol/beeswax_types.rb', line 123 def struct_fields; FIELDS; end |
#validate ⇒ Object
125 126 |
# File 'lib/impala/protocol/beeswax_types.rb', line 125 def validate end |