use-wide-column 0.1.0

Wide-column store modeling primitives for RustUse
Documentation
  • Coverage
  • 100%
    34 out of 34 items documented1 out of 34 items with examples
  • Size
  • Source code size: 8.15 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.03 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-nosql
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-wide-column

Wide-column store modeling primitives for RustUse.

Experimental

use-wide-column is experimental while use-nosql remains below 0.3.0.

Example

use use_wide_column::{ColumnName, ColumnValue, PartitionKey, WideColumnRow};

let row = WideColumnRow::new(PartitionKey::new("customer_123"))
    .with_column(ColumnName::new("display_name"), ColumnValue::new("Ada"));

assert_eq!(row.partition_key().as_str(), "customer_123");
assert_eq!(row.columns().len(), 1);

Scope

  • Generic keyspace, column-family, table, partition, clustering, column, and row labels.
  • Vendor-neutral row and column-family containers.

Non-goals

  • Cassandra or Scylla clients.
  • Query execution.
  • Vendor-specific consistency or schema syntax.

License

Licensed under either Apache-2.0 or MIT.