[][src]Crate repr

Fundamental data representation.

This module contains the types for representing data in Materialize that all layers of the stack can understand. Think of it as the lingua franca: individual layers may use different representations internally, but they all agree to use this representation at their boundaries.

Modules

adt

Abstract data types.

strconv

Routines for converting datum values to and from their string representation.

Structs

CachedRecord

A single record from a source and partition that can be written to disk by the cacher thread, and read back in and sent to the ingest pipeline later.

CachedRecordIter

Iterator through a cached set of records.

ColumnName

The name of a column in a RelationDesc.

ColumnType

The type of a Datum.

DatumList

A sequence of Datums

DatumMap

A mapping from string keys to Datums

RelationDesc

A description of the shape of a relation.

RelationType

The type of a relation.

Row

A packed representation for Datums.

RowArena

RowArena is used to hold on to temporary Rows for functions like eval that need to create complex Datums but don't have a Row to put them in yet.

RowPacker

RowPacker is used to build a Row.

Enums

Datum

A single value.

ScalarBaseType
ScalarType

The type of a Datum.

Functions

datum_size

Number of bytes required by the datum.

Type Definitions

Diff

System-wide record count difference type.

Timestamp

System-wide timestamp type.