ExScylla.Types (ex_scylla v0.5.1)

Summary

Types

@type batch() :: reference()
Link to this type

batch_type()

@type batch_type() :: :logged | :unlogged | :counter
Link to this type

column_type()

@type column_type() ::
  {:custom, String.t()}
  | :ascii
  | :boolean
  | :blob
  | :counter
  | :date
  | :decimal
  | :double
  | :duration
  | :float
  | :int
  | :big_int
  | :text
  | :timestamp
  | :inet
  | {:list, column_type()}
  | {:map, {column_type(), column_type()}}
  | {:set, column_type()}
  | {:user_defined_type, ExScylla.Types.UserDefinedColumnType.t()}
  | :small_int
  | :tiny_int
  | :time
  | :timeuuid
  | {:tuple, [column_type()]}
  | :uuid
  | :varint
Link to this type

consistency()

@type consistency() ::
  :any
  | :one
  | :two
  | :three
  | :quorum
  | :all
  | :local_quorum
  | :each_quorum
  | :local_one
Link to this type

duration_ms()

@type duration_ms() :: non_neg_integer()
Link to this type

execution_profile()

@type execution_profile() :: reference()
Link to this type

execution_profile_builder()

@type execution_profile_builder() :: reference()
Link to this type

execution_profile_handle()

@type execution_profile_handle() :: reference()
Link to this type

load_balancing_policy()

@type msg() :: String.t()
Link to this type

paging_state()

@type paging_state() :: binary()
Link to this type

parse_error()

@type parse_error() :: {:error, {:parse_value, msg()}}
@type pool_size() :: {:per_host, pos_integer()} | {:per_shard, pos_integer()}
Link to this type

prepared_statement()

@type prepared_statement() :: reference()
@type query() :: reference()
Link to this type

retry_policy()

@type retry_policy() :: :default_retry_policy | :fall_through_retry_policy
Link to this type

serial_consistency()

@type serial_consistency() :: :serial | :local_serial
@type session() :: reference()
Link to this type

session_builder()

@type session_builder() :: reference()
Link to this type

speculative_execution_policy()

Link to this type

transport_compression()

@type transport_compression() :: :lz4 | :snappy
@type ts_micros() :: integer()
@type uuid() :: binary()
@type value() ::
  {:ascii, String.t()}
  | {:boolean, boolean()}
  | {:blob, binary()}
  | {:counter, integer()}
  | {:decimal, String.t()}
  | {:date, non_neg_integer()}
  | {:double, float()}
  | {:duration, ExScylla.Types.CqlDuration.t()}
  | :empty
  | {:float, float()}
  | {:int, integer()}
  | {:big_int, integer()}
  | {:text, String.t()}
  | {:timestamp, integer()}
  | {:inet, :inet.ip_address()}
  | {:list, [value()]}
  | {:map, [{value(), value()}]}
  | {:set, [value()]}
  | {:user_defined_type, ExScylla.Types.UserDefinedType.t()}
  | {:small_int, integer()}
  | {:tiny_int, integer()}
  | {:time, integer()}
  | {:timeuuid, binary()}
  | {:tuple, [value() | nil]}
  | {:uuid, binary()}
  | {:varint, String.t()}
@type values() :: [value()]