Class: Impala::Protocol::TVersionedObject

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/statestore_types_types.rb

Constant Summary collapse

SERVICE_ID =
1
KEY =
2
TYPE =
3
VERSION =
4
VALUE =
5
FIELDS =
{
SERVICE_ID => { :type => ::Thrift::Types::STRING, :name => 'service_id' },
KEY => { :type => ::Thrift::Types::STRING, :name => 'key' },
TYPE => { :type => ::Thrift::Types::STRING, :name => 'type' },
VERSION => { :type => ::Thrift::Types::I64, :name => 'version' },
VALUE => { :type => ::Thrift::Types::STRING, :name => 'value', :binary => true }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



28
# File 'lib/impala/protocol/statestore_types_types.rb', line 28

def struct_fields; FIELDS; end

#validateObject



30
31
# File 'lib/impala/protocol/statestore_types_types.rb', line 30

def validate
end