Net::Async::CassandraCQL::Query - a Cassandra CQL prepared query
Net::Async::CassandraCQL::Query
Prepared query objects are returned by the prepare of Net::Async::CassandraCQL to represent a prepared query in the server. They can be executed multiple times, if required, by passing the values of the placeholders to the execute method.
prepare
execute
This is a subclass of Protocol::CassandraCQL::ColumnMeta.
Returns the query ID.
Returns the original query string used to prepare the query.
Executes the query on the Cassandra connection object that created it, returning a future yielding the result the same way as the query or execute methods.
query
The contents of the $data reference will be encoded according to the types given in the underlying column metadata. $data may be given as a positional ARRAY reference, or a named HASH reference where the keys give column names.
$data
This code was paid for by
Perceptyx http://www.perceptyx.com/
Shadowcat Systems http://www.shadow.cat
Paul Evans <leonerd@leonerd.org.uk>
To install Net::Async::CassandraCQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::CassandraCQL
CPAN shell
perl -MCPAN -e shell install Net::Async::CassandraCQL
For more information on module installation, please visit the detailed CPAN module installation guide.