Class: Cql::Protocol::VoidResultResponse

Inherits:
ResultResponse show all
Defined in:
lib/cql/protocol/responses/void_result_response.rb

Instance Attribute Summary

Attributes inherited from ResultResponse

#trace_id

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ResultResponse

#initialize

Methods included from Decoding

#read_byte!, #read_bytes!, #read_consistency!, #read_decimal!, #read_double!, #read_float!, #read_inet!, #read_int!, #read_long!, #read_long_string!, #read_option!, #read_short!, #read_short_bytes!, #read_string!, #read_string_list!, #read_string_map!, #read_string_multimap!, #read_uuid!, #read_varint!

Constructor Details

This class inherits a constructor from Cql::Protocol::ResultResponse

Class Method Details

.decode!(buffer, trace_id = nil) ⇒ Object



6
7
8
# File 'lib/cql/protocol/responses/void_result_response.rb', line 6

def self.decode!(buffer, trace_id=nil)
  new(trace_id)
end

Instance Method Details

#to_sObject



10
11
12
# File 'lib/cql/protocol/responses/void_result_response.rb', line 10

def to_s
  %(RESULT VOID)
end

#void?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/cql/protocol/responses/void_result_response.rb', line 14

def void?
  true
end