Encapsulates a graph statement, parameters, options, and idempotency. This is primarily useful for re-issuing the same statement multiple times the same way.

Inherits

Object

Includes

  • Cassandra::Statement

Methods

self.

new

(statement, parameters = nil, options = nil, idempotent = false)

Returns a new instance of Statement

Parameters:
Name Type Details
statement String graph statement
parameters Hash<String, String> (defaults to: nil) (nil) parameters to the statement
options (Hash or Options) (defaults to: nil) (nil) graph options
idempotent Boolean (defaults to: false) (false) whether or not the statement is idempotent

statement

Returns graph statement string

Returns:
Type Details
String graph statement string

parameters

Returns parameters to the statement

Returns:
Type Details
Hash<String, String> parameters to the statement

options

Returns graph options

Returns:
Type Details
Options graph options