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

( payload )

Frees a custom payload instance.

Requires Cassandra: 2.2+

Parameters:
Name Type Details
in payload
void

cass_custom_payload_set

( payload, name, value, value_size )

Sets an item to the custom payload.

Requires Cassandra: 2.2+

Parameters:
Name Type Details
in payload
in name
in value
in value_size
void

cass_custom_payload_set_n

( payload, name, name_length, value, value_size )

Same as CassCustomPayload::cass_custom_payload_set, but with lengths for string parameters.

Requires Cassandra: 2.2+

Parameters:
Name Type Details
in payload
in name
in name_length
in value
in value_size
void

cass_custom_payload_remove

( payload, name )

Removes an item from the custom payload.

Requires Cassandra: 2.2+

Parameters:
Name Type Details
in payload
in name
void

cass_custom_payload_remove_n

( payload, name, name_length )

Same as CassCustomPayload::cass_custom_payload_set, but with lengths for string parameters.

Requires Cassandra: 2.2+

Parameters:
Name Type Details
in payload
in name
in name_length