View Source Xandra.Prepared (Xandra v0.19.1)
A data structure used to internally represent prepared queries.
See %Xandra.Prepared{}
for information about which fields are
public. All other fields are documented in t/0
to avoid Dialyzer warnings,
but are not meant to be used by users.
Summary
Functions
A struct that represents a prepared query.
Types
@type t() :: %Xandra.Prepared{ bound_columns: [Xandra.Page.column()] | nil, compressor: module() | nil, default_consistency: atom() | nil, id: binary() | nil, keyspace: binary() | nil, protocol_module: module() | nil, request_custom_payload: Xandra.custom_payload() | nil, response_custom_payload: Xandra.custom_payload() | nil, result_columns: list() | nil, result_metadata_id: binary() | nil, statement: Xandra.statement(), tracing_id: binary() | nil, values: Xandra.values() | nil }
The type for a prepared query.
The only public fields here are :tracing_id
and :response_custom_payload
.
See %Xandra.Prepared{}
.
Functions
A struct that represents a prepared query.
These are the publicly-accessible fields of this struct:
:tracing_id
- the tracing ID (as a UUID binary) if tracing was enabled, ornil
if no tracing was enabled. See the "Tracing" section inXandra.execute/4
.:response_custom_payload
- the custom payload sent by the server, if present. If the server doesn't send a custom payload, this field isnil
. Otherwise, it's of typeXandra.custom_payload/0
. See the "Custom payloads" section in the documentation for theXandra
module.