Class: ThriftHadoopFileSystem::Write_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::BOOL, :name => 'success'},
  OUCH => {:type => ::Thrift::Types::STRUCT, :name => 'ouch', :class => ThriftIOException}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



759
760
# File 'lib/thrift/thrift_hadoop_file_system.rb', line 759

def validate
end