PHP Класс Cassandra\DefaultSession

См. также: Cassandra\Session
Наследование: implements cassandra\Session
Показать файл Открыть проект

Открытые методы

Метод Описание
close ( float | null $timeout = null ) : void {@inheritDoc}
closeAsync ( ) : cassandra\Future {@inheritDoc}
execute ( cassandra\Statement $statement, ExecutionOptions $options = null ) : Rows {@inheritDoc}
executeAsync ( cassandra\Statement $statement, ExecutionOptions $options = null ) : cassandra\Future {@inheritDoc}
metrics ( ) : array {@inheritDoc}
prepare ( string $cql, ExecutionOptions $options = null ) : PreparedStatement {@inheritDoc}
prepareAsync ( string $cql, ExecutionOptions $options = null ) : cassandra\Future {@inheritDoc}
schema ( ) : cassandra\Schema {@inheritDoc}

Описание методов

close() публичный метод

{@inheritDoc}
public close ( float | null $timeout = null ) : void
$timeout float | null Timeout to wait for closure in seconds
Результат void

closeAsync() публичный метод

{@inheritDoc}
public closeAsync ( ) : cassandra\Future
Результат cassandra\Future future

execute() публичный метод

{@inheritDoc}
public execute ( cassandra\Statement $statement, ExecutionOptions $options = null ) : Rows
$statement cassandra\Statement statement to be executed
$options ExecutionOptions execution options (optional)
Результат Rows execution result

executeAsync() публичный метод

{@inheritDoc}
public executeAsync ( cassandra\Statement $statement, ExecutionOptions $options = null ) : cassandra\Future
$statement cassandra\Statement statement to be executed
$options ExecutionOptions execution options (optional)
Результат cassandra\Future future result

metrics() публичный метод

{@inheritDoc}
public metrics ( ) : array
Результат array Performance/Diagnostic metrics.

prepare() публичный метод

{@inheritDoc}
public prepare ( string $cql, ExecutionOptions $options = null ) : PreparedStatement
$cql string CQL statement string
$options ExecutionOptions execution options (optional)
Результат PreparedStatement prepared statement

prepareAsync() публичный метод

{@inheritDoc}
public prepareAsync ( string $cql, ExecutionOptions $options = null ) : cassandra\Future
$cql string CQL string to be prepared
$options ExecutionOptions preparation options
Результат cassandra\Future statement

schema() публичный метод

{@inheritDoc}
public schema ( ) : cassandra\Schema
Результат cassandra\Schema current schema.