Class: ThriftHadoopFileSystem::GetFileBlockLocations_result

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/thrift_hadoop_file_system.rb

Constant Summary collapse

SUCCESS =
0
OUCH =
1
FIELDS =
{
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => BlockLocation}},
  OUCH => {:type => ::Thrift::Types::STRUCT, :name => 'ouch', :class => ThriftIOException}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



1179
# File 'lib/thrift/thrift_hadoop_file_system.rb', line 1179

def struct_fields; FIELDS; end

#validateObject



1181
1182
# File 'lib/thrift/thrift_hadoop_file_system.rb', line 1181

def validate
end