Module: Cassandra::Statement

Instance Method Summary collapse

Instance Method Details

#idempotent?Boolean

Determines whether or not the statement is safe to retry on timeout

Returns:

  • (Boolean)

    whether the statement is safe to retry on timeout



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

def idempotent?
  !!@idempotent
end