module Cassandra::Errors::ValidationError
Mixed into all request validation errors.
Public Class Methods
new(message, payload, warnings, keyspace, statement, options, hosts, consistency, retries)
click to toggle source
@private
Calls superclass method
# File lib/cassandra/errors.rb 585 def initialize(message, 586 payload, 587 warnings, 588 keyspace, 589 statement, 590 options, 591 hosts, 592 consistency, 593 retries) 594 super(message) 595 @payload = payload 596 @warnings = warnings 597 @keyspace = keyspace 598 @statement = statement 599 @options = options 600 @hosts = hosts 601 @consistency = consistency 602 @retries = retries 603 end
Public Instance Methods
execution_info()
click to toggle source
Query execution information, such as number of retries and all tried hosts, etc. @return [Cassandra::Execution::Info]
# File lib/cassandra/errors.rb 607 def execution_info 608 @info ||= Execution::Info.new(@payload, 609 @warnings, 610 @keyspace, 611 @statement, 612 @options, 613 @hosts, 614 @consistency, 615 @retries, 616 nil) 617 end