Exception: Cassandra::Errors::ProtocolError

Inherits:
ClientError
  • Object
show all
Defined in:
lib/cassandra/errors.rb

Overview

Raised when some client message triggered a protocol violation (for instance a QUERY message is sent before a STARTUP one has been sent)

Instance Method Summary collapse

Instance Method Details

#execution_infoCassandra::Execution::Info

Query execution information, such as number of retries and all tried hosts, etc.



526
527
528
529
530
531
532
533
534
535
536
# File 'lib/cassandra/errors.rb', line 526

def execution_info
  @info ||= Execution::Info.new(@payload,
                                @warnings,
                                @keyspace,
                                @statement,
                                @options,
                                @hosts,
                                @consistency,
                                @retries,
                                nil)
end