Cassandra packets

All communication between Cassandra clients and servers is done through discrete packets. Request packets are sent by clients, response packets are sent by Cassandra servers, usually (but not always) in response to requests.

For full details, consult the Cassandra documentation.

All packets have the following properties:


All packets also have the following methods:


The packet types most commonly used in user logic are: Query, Prepare, Execute, and ResultRows, though when dealing with result sets, most people use result set filters, which deal with ResultRow objects.

Request packets

Response packets

Common objects

These objects are not packets, but they are part of some packets.