PHP 클래스 Cassandra\DefaultSession

또한 보기: Cassandra\Session
상속: implements cassandra\Session
파일 보기 프로젝트 열기: datastax/php-driver

공개 메소드들

메소드 설명
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.