ExScylla.Execution.ExecutionProfile (ex_scylla v0.5.1)
Wrapper around rust module See rust documentation for more usage details: https://docs.rs/scylla/0.9.0/scylla/transport/execution_profile/struct.ExecutionProfile.html
Summary
Types
Link to this type
opaque()
@type opaque() :: any()
Functions
Link to this function
builder()
@spec builder() :: ExScylla.Types.execution_profile_builder()
Example
iex> ep = ExecutionProfile.builder()
...> |> ExecutionProfileBuilder.build()
iex> true = is_reference(ep)
Link to this function
into_handle(ep)
@spec into_handle(ExScylla.Types.execution_profile()) :: ExScylla.Types.execution_profile_handle()
Example
iex> eph = ExecutionProfile.builder()
...> |> ExecutionProfileBuilder.build()
...> |> ExecutionProfile.into_handle()
iex> true = is_reference(eph)
Link to this function
into_handle_with_label(ep, label)
@spec into_handle_with_label(ExScylla.Types.execution_profile(), String.t()) :: ExScylla.Types.execution_profile_handle()
Example
iex> eph = ExecutionProfile.builder()
...> |> ExecutionProfileBuilder.build()
...> |> ExecutionProfile.into_handle_with_label("my_label")
iex> true = is_reference(eph)
Link to this function
to_builder(ep)
@spec to_builder(ExScylla.Types.execution_profile()) :: ExScylla.Types.execution_profile_builder()
Example
iex> ep = ExecutionProfileBuilder.new()
...> |> ExecutionProfileBuilder.build()
iex> epb = ExecutionProfile.to_builder(ep)
iex> true = is_reference(ep)
iex> true = is_reference(epb)