Module: Cassandra::Errors::ExecutionError

Overview

Mixed into all request execution errors.

Instance Method Summary collapse

Instance Method Details

#execution_infoCassandra::Execution::Info

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



139
140
141
142
143
144
145
146
147
148
149
# File 'lib/cassandra/errors.rb', line 139

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