Requires Cassandra: 2.2+

Functions

CassCustomPayload *

cass_custom_payload_new

( )

Creates a new custom payload.

Requires Cassandra: 2.2+

Returns:
Type Details
CassCustomPayload *

Returns a custom payload that must be freed.

See Also:
void

cass_custom_payload_free

( CassCustomPayload * payload )

Frees a custom payload instance.

Requires Cassandra: 2.2+

Parameters:
Name Type Details
in payload CassCustomPayload *
void

cass_custom_payload_set

( CassCustomPayload * payload, const char * name, const cass_byte_t * value, size_t value_size )

Sets an item to the custom payload.

Requires Cassandra: 2.2+

Parameters:
Name Type Details
in payload CassCustomPayload *
in name const char *
in value const cass_byte_t *
in value_size size_t