View Source ArangoXEcto.Migration.View (ArangoX Ecto v2.0.0)

Used internally by the ArangoXEcto migration.

To define a view in a migration, see ArangoXEcto.Migration.view/2.

Summary

Functions

Creates a new View struct

Types

t()

@type t() :: %ArangoXEcto.Migration.View{
  cleanupIntervalStep: integer() | nil,
  commitIntervalMsec: integer() | nil,
  consolidationIntervalMsec: integer() | nil,
  consolidationPolicy: String.t() | nil,
  links: map(),
  name: String.t(),
  prefix: String.t() | nil,
  primarySort: list(),
  primarySortCompression: boolean(),
  storedValues: list(),
  type: String.t(),
  writebufferActive: boolean() | nil,
  writebufferIdle: boolean() | nil,
  writebufferSizeMax: integer() | nil
}

view_option()

@type view_option() ::
  :consolidationIntervalMsec
  | :consolidationPolicy
  | :commitIntervalMsec
  | :writebufferSizeMax
  | :writebufferIdle
  | :writebufferActive
  | :cleanupIntervalStep
  | :primarySortCompression
  | :prefix

Functions

new(name, opts \\ [])

@spec new(atom() | String.t(), [view_option()]) :: t()

Creates a new View struct