[][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

ColumnName

The name of a column in a RelationDesc.

ColumnType

The type of a Datum.

DatumDict

A mapping from string keys to Datums

DatumList

A sequence of Datums

PersistedRecord

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

PersistedRecordIter

Iterator through a persisted set of records.

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.

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.