Protocol::CassandraCQL - wire protocol support functions for Cassandra CQL3
This module provides the basic constants and other support functions required to communicate with a Cassandra database using
It is not in itself a CQL client; it simply provides the necessary support functions to allow one to be written.
For a complete client, see instead Net::Async::CassandraCQL.
The following families of constants are defined, along with export tags:
Bitmask of flags used in message frames.
Opcodes used in message frames.
Result codes used in
Type codes used in
TYPE_PREPARED column metadata.
Consistency levels used in
Attempts to parse a complete message frame from the given byte string. If it succeeds, it returns the header fields and the body as an opaque byte string. If it fails, it returns an empty list.
it will remove the bytes of the message from the
which must therefore be mutable.
Attempts to read a complete frame from the given filehandle, blocking until it is available. If an IO error happens, returns an empty list. The results are undefined if this method is called on a non-blocking filehandle.
Returns a byte string containing a complete message with the given fields as the header and body.
Sends a complete frame to the given filehandle.
CONSISTENCY_* value for the given name (without the initial
Returns the name of the given
without the initial
Math::BigIntfor 64bit values
This code was paid for by
Paul Evans <firstname.lastname@example.org>