carpenter/builder

Types

pub type TableBuilder(k, v) {
  TableBuilder(
    name: String,
    privacy: Option(privacy.Privacy),
    write_concurrency: Option(write_concurrency.WriteConcurrency),
    read_concurrency: Option(Bool),
    decentralized_counters: Option(Bool),
    compressed: Bool,
  )
}

Constructors

  • TableBuilder(
      name: String,
      privacy: Option(privacy.Privacy),
      write_concurrency: Option(write_concurrency.WriteConcurrency),
      read_concurrency: Option(Bool),
      decentralized_counters: Option(Bool),
      compressed: Bool,
    )

Functions

pub fn build_table(
  builder: TableBuilder(a, b),
  table_type: String,
) -> Atom
pub fn compression(
  builder: TableBuilder(a, b),
  compressed: Bool,
) -> TableBuilder(a, b)
pub fn decentralized_counters(
  builder: TableBuilder(a, b),
  counters: Bool,
) -> TableBuilder(a, b)
pub fn new(name: String) -> TableBuilder(a, b)
pub fn ordered_set(
  builder: TableBuilder(a, b),
) -> OrderedSet(a, b)
pub fn privacy(
  builder: TableBuilder(a, b),
  privacy: Privacy,
) -> TableBuilder(a, b)
pub fn read_concurrency(
  builder: TableBuilder(a, b),
  con: Bool,
) -> TableBuilder(a, b)
pub fn set(builder: TableBuilder(a, b)) -> Set(a, b)
pub fn write_concurrency(
  builder: TableBuilder(a, b),
  con: WriteConcurrency,
) -> TableBuilder(a, b)
pub fn write_concurrency_prop(prop: WriteConcurrency) -> Dynamic
Search Document