class WordVectorDTO
Constants
- DOCUMENTWEIGHT
- FIELDS
- MAGNITUDE
- SCORES
Public Instance Methods
struct_fields()
click to toggle source
# File lib/gen-rb/relevanced_protocol_types.rb, line 33 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/gen-rb/relevanced_protocol_types.rb, line 35 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field magnitude is unset!') unless @magnitude raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field documentWeight is unset!') unless @documentWeight raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field scores is unset!') unless @scores end