Class: Blur::TableDescriptor

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

Constant Summary collapse

ISENABLED =
1
ANALYZERDEFINITION =
2
SHARDCOUNT =
3
TABLEURI =
4
COMPRESSIONCLASS =
5
COMPRESSIONBLOCKSIZE =
6
CLUSTER =
7
NAME =
8
FIELDS =
{
  ISENABLED => {:type => ::Thrift::Types::BOOL, :name => 'isEnabled', :default => true},
  ANALYZERDEFINITION => {:type => ::Thrift::Types::STRUCT, :name => 'analyzerDefinition', :class => ::Blur::AnalyzerDefinition},
  SHARDCOUNT => {:type => ::Thrift::Types::I32, :name => 'shardCount', :default => 1},
  TABLEURI => {:type => ::Thrift::Types::STRING, :name => 'tableUri'},
  COMPRESSIONCLASS => {:type => ::Thrift::Types::STRING, :name => 'compressionClass', :default => %q"org.apache.hadoop.io.compress.DefaultCodec"},
  COMPRESSIONBLOCKSIZE => {:type => ::Thrift::Types::I32, :name => 'compressionBlockSize', :default => 32768},
  CLUSTER => {:type => ::Thrift::Types::STRING, :name => 'cluster'},
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



633
# File 'lib/active_blur/thrift/blur_types.rb', line 633

def struct_fields; FIELDS; end

#validateObject



635
636
# File 'lib/active_blur/thrift/blur_types.rb', line 635

def validate
end