Class: Cassandra::Execution::Info

Inherits:
Object
  • Object
show all
Defined in:
lib/cassandra/execution/info.rb

Instance Attribute Summary collapse

Instance Attribute Details

#consistencySymbol (readonly)

Actual consistency used, it can differ from consistency in #options if a retry policy modified it.

Returns:



32
33
34
# File 'lib/cassandra/execution/info.rb', line 32

def consistency
  @consistency
end

#hostsArray<Cassandra::Host> (readonly)

Returns a list of attempted hosts.

Returns:



29
30
31
# File 'lib/cassandra/execution/info.rb', line 29

def hosts
  @hosts
end

#keyspaceString (readonly)

Returns keyspace used for the query.

Returns:

  • (String)

    keyspace used for the query



23
24
25
# File 'lib/cassandra/execution/info.rb', line 23

def keyspace
  @keyspace
end

#optionsCassandra::Execution::Options (readonly)

Returns original execution options.

Returns:



27
28
29
# File 'lib/cassandra/execution/info.rb', line 27

def options
  @options
end

#retriesInteger (readonly)

Returns number of retries.

Returns:

  • (Integer)

    number of retries



34
35
36
# File 'lib/cassandra/execution/info.rb', line 34

def retries
  @retries
end

#statementCassandra::Statement (readonly)

Returns original statement.

Returns:



25
26
27
# File 'lib/cassandra/execution/info.rb', line 25

def statement
  @statement
end

#traceCassandra::Execution::Trace? (readonly)

Returns Trace if trace: true was passed to Session#execute or Session#execute_async

Returns:



37
38
39
# File 'lib/cassandra/execution/info.rb', line 37

def trace
  @trace
end