Class: ThriftHadoopFileSystem::CreateFile_args

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

Constant Summary collapse

PATH =
1
MODE =
2
OVERWRITE =
3
BUFFERSIZE =
4
BLOCK_REPLICATION =
5
BLOCKSIZE =
6
FIELDS =
{
  PATH => {:type => ::Thrift::Types::STRUCT, :name => 'path', :class => Pathname},
  MODE => {:type => ::Thrift::Types::I16, :name => 'mode'},
  OVERWRITE => {:type => ::Thrift::Types::BOOL, :name => 'overwrite'},
  BUFFERSIZE => {:type => ::Thrift::Types::I32, :name => 'bufferSize'},
  BLOCK_REPLICATION => {:type => ::Thrift::Types::I16, :name => 'block_replication'},
  BLOCKSIZE => {:type => ::Thrift::Types::I64, :name => 'blocksize'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



637
638
# File 'lib/thrift/thrift_hadoop_file_system.rb', line 637

def validate
end