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
pub use tokio_glue::ConsumeWithParallelism;
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
Context shared by our various asynchronous operations.
A stream of CSV data, with a unique name.
Data destination arguments.
Driver-specific arguments.
Standard error type for this library.
The
Error
type, a wrapper around a dynamic error type.Arguments used by both the data source and destination.
Data source arguments.
Provides different types of temporary storage.
A locator which has not yet been parsed.
Enums
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.