ExRiak v0.4.0 ExRiak.SecondaryIndex.Result View Source

Struct representing a secondary index result.

This is the struct version of the :index_results_v1 record.

See :riakc_pb_socket.

Link to this section Summary

Functions

Converts a :index_results_v1 record to a ExRiak.SecondaryIndex.Result struct

Converts a ExRiak.SecondaryIndex.Result struct to a :index_results_v1 record

Link to this section Types

Link to this type index_results_v1_record() View Source
index_results_v1_record() :: {:index_results_v1, [key()] | :undefined, [term_result()] | :undefined, ExRiak.SecondaryIndex.continuation() | :undefined}
Link to this type t() View Source
t() :: %ExRiak.SecondaryIndex.Result{continuation: ExRiak.SecondaryIndex.continuation() | :undefined, keys: [key()] | :undefined, terms: [term_result()] | :undefined}

Link to this section Functions

Link to this function from_record(record) View Source
from_record(index_results_v1_record()) :: t()

Converts a :index_results_v1 record to a ExRiak.SecondaryIndex.Result struct.

Converts a ExRiak.SecondaryIndex.Result struct to a :index_results_v1 record.