Class: ThriftHadoopFileSystem::FileStatus

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

Constant Summary collapse

PATH =
1
LENGTH =
2
ISDIR =
3
BLOCK_REPLICATION =
4
BLOCKSIZE =
5
MODIFICATION_TIME =
6
PERMISSION =
7
OWNER =
8
GROUP =
9
FIELDS =
{
  PATH => {:type => ::Thrift::Types::STRING, :name => 'path'},
  LENGTH => {:type => ::Thrift::Types::I64, :name => 'length'},
  ISDIR => {:type => ::Thrift::Types::BOOL, :name => 'isdir'},
  BLOCK_REPLICATION => {:type => ::Thrift::Types::I16, :name => 'block_replication'},
  BLOCKSIZE => {:type => ::Thrift::Types::I64, :name => 'blocksize'},
  MODIFICATION_TIME => {:type => ::Thrift::Types::I64, :name => 'modification_time'},
  PERMISSION => {:type => ::Thrift::Types::STRING, :name => 'permission'},
  OWNER => {:type => ::Thrift::Types::STRING, :name => 'owner'},
  GROUP => {:type => ::Thrift::Types::STRING, :name => 'group'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



65
# File 'lib/thrift/hadoopfs_types.rb', line 65

def struct_fields; FIELDS; end

#validateObject



67
68
# File 'lib/thrift/hadoopfs_types.rb', line 67

def validate
end