Méthode |
Description |
|
close ( float | null $timeout = null ) : void |
Closes current session and all of its connections. |
|
closeAsync ( ) : cassandra\Future |
Asynchronously closes current session once all pending requests have finished. |
|
execute ( cassandra\Statement $statement, ExecutionOptions $options = null ) : Rows |
Executes a given statement and returns a result. |
|
executeAsync ( cassandra\Statement $statement, ExecutionOptions $options = null ) : cassandra\Future |
Executes a given statement and returns a future result. |
|
metrics ( ) : array |
Returns current performance/diagnostic metrics. |
|
prepare ( string $cql, ExecutionOptions $options = null ) : PreparedStatement |
Creates a prepared statement from a given CQL string. |
|
prepareAsync ( string $cql, ExecutionOptions $options = null ) : cassandra\Future |
Asynchronously prepares a statement and returns a future prepared statement. |
|
schema ( ) : cassandra\Schema |
Returns current schema. |
|