class ThriftFlumeEvent

Constants

BODY
FIELDS
HEADERS
HOST
NANOS
PRIORITY
TIMESTAMP

Public Instance Methods

struct_fields() click to toggle source
# File lib/flume-logger/flume-ng/flume_types.rb, line 28
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/flume-logger/flume-ng/flume_types.rb, line 30
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field headers is unset!') unless @headers
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field body is unset!') unless @body
end