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
Metadata information about the results. 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
122 |
# File 'lib/impala/protocol/beeswax_types.rb', line 122 def struct_fields; FIELDS; end |
#validate ⇒ Object
124 125 |
# File 'lib/impala/protocol/beeswax_types.rb', line 124 def validate end |