mix fact.create (Fact v0.2.0)

View Source

Creates a new database.

Usage

Options

There are a lot of options to control how the database stores information. However many of these options currently only support a single value. Each represents a seam within the system, and each can be supplied with a set of implementation specific options. Each seam implementation is configured using {family}@{version} format, while options are specified using a comma-delimited list of key value pairs {key1}={value1},{key2}={value2}.

Maybe this all just a big old YAGNI...but I think it will prove its worth in time.

Event options

  • --event-id - Controls how event ids are generated. (default: uuid@4)
  • --event-id-options - Configuration options for the selected event id format. (default: "")
  • --event-schema - Controls the schema of events. (default: standard@1)
  • --event-schema-options - Configuration options for the selected event schema. (default: "")

Index file options

  • --index-file-decoder - Controls how record are decoded after reading. (default: raw@1)
  • --index-file-decoder-options - Configuration options for the selected record file decoder. (default: "")
  • --index-file-encoder - Controls how record are encoded for writing. (default: delimited@1)
  • --index-file-encoder-options - Configuration options for the selected record file encoder. (default: "")
  • --index-file-name - Controls how record files are named. (default: raw@1)
  • --index-file-name-options - Configuration options for the selected record file name seam. (default: "")
  • --index-file-reader - Controls how record files are read. (default: fixed_length@1)
  • --index-file-reader-options - Configuration options for the selected record file reader. (default: "")
  • --index-file-writer - Controls how record files are written. (default: standard@1)
  • --index-file-writer-options - Configuration options for the selected record file writer. (default: "")

Index checkpoint file options

  • --index-checkpoint-file-decoder - Controls how record are decoded after reading. (default: integer@1)
  • --index-checkpoint-file-decoder-options - Configuration options for the selected record file decoder. (default: "")
  • --index-checkpoint-file-encoder - Controls how record are encoded for writing. (default: integer@1)
  • --index-checkpoint-file-encoder-options - Configuration options for the selected record file encoder. (default: "")
  • --index-checkpoint-file-name - Controls how record files are named. (default: fixed@1)
  • --index-checkpoint-file-name-options - Configuration options for the selected record file name seam. (default: "")
  • --index-checkpoint-file-reader - Controls how record files are read. (default: full@1)
  • --index-checkpoint-file-reader-options - Configuration options for the selected record file reader. (default: "")
  • --index-checkpoint-file-writer - Controls how record files are written. (default: standard@1)
  • --index-checkpoint-file-writer-options - Configuration options for the selected record file writer. (default: "")

Ledger file options

  • --ledger-file-decoder - Controls how record are decoded after reading. (default: raw@1)
  • --ledger-file-decoder-options - Configuration options for the selected record file decoder. (default: "")
  • --ledger-file-encoder - Controls how record are encoded for writing. (default: delimited@1)
  • --ledger-file-encoder-options - Configuration options for the selected record file encoder. (default: "")
  • --ledger-file-name - Controls how record files are named. (default: fixed@1)
  • --ledger-file-name-options - Configuration options for the selected record file name seam. (default: "")
  • --ledger-file-reader - Controls how record files are read. (default: fixed_length@1)
  • --ledger-file-reader-options - Configuration options for the selected record file reader. (default: "")
  • --ledger-file-writer - Controls how record files are written. (default: standard@1)
  • --ledger-file-writer-options - Configuration options for the selected record file writer. (default: "")

Lock file options

  • --lock-file-decoder - Controls how record are decoded after reading. (default: json@1)
  • --lock-file-decoder-options - Configuration options for the selected record file decoder. (default: "")
  • --lock-file-encoder - Controls how record are encoded for writing. (default: json@1)
  • --lock-file-encoder-options - Configuration options for the selected record file encoder. (default: "")
  • --lock-file-name - Controls how record files are named. (default: fixed@1)
  • --lock-file-name-options - Configuration options for the selected record file name seam. (default: "")
  • --lock-file-reader - Controls how record files are read. (default: full@1)
  • --lock-file-reader-options - Configuration options for the selected record file reader. (default: "")
  • --lock-file-writer - Controls how record files are written. (default: standard@1)
  • --lock-file-writer-options - Configuration options for the selected record file writer. (default: "")

Record file options

  • --record-file-decoder - Controls how record are decoded after reading. (default: json@1)
  • --record-file-decoder-options - Configuration options for the selected record file decoder. (default: "")
  • --record-file-encoder - Controls how record are encoded for writing. (default: json@1)
  • --record-file-encoder-options - Configuration options for the selected record file encoder. (default: "")
  • --record-file-name - Controls how record files are named. (default: event_id@1)
  • --record-file-name-options - Configuration options for the selected record file name seam. (default: "")
  • --record-file-reader - Controls how record files are read. (default: full@1)
  • --record-file-reader-options - Configuration options for the selected record file reader. (default: "")
  • --record-file-writer - Controls how record files are written. (default: standard@1)
  • --record-file-writer-options - Configuration options for the selected record file writer. (default: "")

Storage options

  • --storage - Controls how the files are organized within the file system. (default: standard@1)
  • --storage-options - Configuration options for the selected storage. (default: "")