Exception: Cassandra::Errors::ReadError

Inherits:
StandardError
  • Object
show all
Includes:
ExecutionError
Defined in:
lib/cassandra/errors.rb

Overview

Raised when a read request fails.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ExecutionError

#execution_info

Instance Attribute Details

#consistencySymbol (readonly)



401
402
403
# File 'lib/cassandra/errors.rb', line 401

def consistency
  @consistency
end

#failedInteger (readonly)



407
408
409
# File 'lib/cassandra/errors.rb', line 407

def failed
  @failed
end

#failures_by_nodeHash<IPaddr, Integer> (readonly)



410
411
412
# File 'lib/cassandra/errors.rb', line 410

def failures_by_node
  @failures_by_node
end

#receivedInteger (readonly)



405
406
407
# File 'lib/cassandra/errors.rb', line 405

def received
  @received
end

#requiredInteger (readonly)



403
404
405
# File 'lib/cassandra/errors.rb', line 403

def required
  @required
end

#retrievedBoolean (readonly)



398
399
400
# File 'lib/cassandra/errors.rb', line 398

def retrieved
  @retrieved
end

Instance Method Details

#retrieved?Boolean



445
446
447
# File 'lib/cassandra/errors.rb', line 445

def retrieved?
  @retrieved
end