Class: ThriftHadoopFileSystem::BlockLocation
- Inherits:
-
Object
- Object
- ThriftHadoopFileSystem::BlockLocation
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/thrift/hadoopfs_types.rb
Constant Summary collapse
- HOSTS =
1
- NAMES =
2
- OFFSET =
3
- LENGTH =
4
- FIELDS =
{ HOSTS => {:type => ::Thrift::Types::LIST, :name => 'hosts', :element => {:type => ::Thrift::Types::STRING}}, NAMES => {:type => ::Thrift::Types::LIST, :name => 'names', :element => {:type => ::Thrift::Types::STRING}}, OFFSET => {:type => ::Thrift::Types::I64, :name => 'offset'}, LENGTH => {:type => ::Thrift::Types::I64, :name => 'length'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
87 |
# File 'lib/thrift/hadoopfs_types.rb', line 87 def struct_fields; FIELDS; end |
#validate ⇒ Object
89 90 |
# File 'lib/thrift/hadoopfs_types.rb', line 89 def validate end |