Class: Relevanced::GetDocumentSimilarity_result

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/gen-rb/relevanced.rb

Constant Summary collapse

SUCCESS =
0
CENTROIDERR =
1
DOCERR =
2
FIELDS =
{
  SUCCESS => {:type => ::Thrift::Types::DOUBLE, :name => 'success'},
  CENTROIDERR => {:type => ::Thrift::Types::STRUCT, :name => 'centroidErr', :class => ::ECentroidDoesNotExist},
  DOCERR => {:type => ::Thrift::Types::STRUCT, :name => 'docErr', :class => ::EDocumentDoesNotExist}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



966
# File 'lib/gen-rb/relevanced.rb', line 966

def struct_fields; FIELDS; end

#validateObject



968
969
# File 'lib/gen-rb/relevanced.rb', line 968

def validate
end