Crate dbcrossbarlib

source ·
Expand description

A library for reading and writing table schemas in various formats.

At the moment, the most interesting type here is the schema module, which defines a portable SQL schema.

Re-exports

Modules

  • Configuration file support.
  • Drivers for various schema sources and destinations.
  • Given a stream of streams CSV data, rechunk the stream sizes.
  • Our “interchange” format for database table schemas.
  • Glue code for working with tokio’s async I/O.

Structs

Enums

  • The format of a stream of data.
  • When called from the CLI, should we display a list of individual locators for each data stream?
  • What to do if the destination already exists.
  • This is used to mark an *Arguments structure that has not yet been verified for compatibility with a specific driver. See the type state pattern for details.
  • This is used to mark an *Arguments structure that has not yet been verified for compatibility with a specific driver. See the type state pattern for details.

Traits

  • This is a marker trait used by SharedArguments, SourceArguments and DestinationArguments. We use it to keep track whether or not the arguments have been verified against a driver’s Features list.
  • Specify the the location of data or a schema.

Type Definitions

  • A value of an unknown type implementing Locator.
  • Standard result type for this library.