A future returned from Session::prepareAsync() This future will resolve with a Cassandra\PreparedStatement or an exception.

See Also:

Implements

Methods

Cassandra\PreparedStatement

get

( mixed $timeout )

Waits for a given future resource to resolve and throws errors if any.

Parameters:
Name Type Details
$timeout int|double

A timeout in seconds

Throws:
Type Details
Exception\InvalidArgumentException
Exception\TimeoutException
Returns:
Type Details
Cassandra\PreparedStatement

A prepared statement