Skip to main content

Crate re_lenses

Crate re_lenses 

Source
Expand description

Lenses allow you to extract, transform, and restructure component data. They are applied to chunks that contain the target component.

See Lens for more details and assumptions.

Modules§

function_registry
op
Re-exports of all available element-level transform ops.

Structs§

DeriveLensBuilder
Builder for a derive lens that creates new component/time columns from an input component.
Lens
A lens that transforms component data from one form to another.
LensError
Error report from applying lenses to a chunk.
Lenses
A collection that holds multiple lenses and applies them to chunks.
MutateLensBuilder
Builder for a mutate lens that modifies the input component in-place.
Runtime
Context passed to selector execution.
Selector
A parsed selector expression that can be executed against Arrow arrays.

Enums§

CastTo
How to cast a derive lens output column to match its target component.
LensBuilderError
Errors that can occur when constructing a lens via the builder API.
LensRuntimeError
Errors that can occur when executing lenses at runtime.
OutputMode
Controls which components are forwarded when applying lenses.

Traits§

ChunkExt
Extension methods for applying lenses to a Chunk.

Functions§

default_runtime
The default runtime, with all of the built-in functions registered.