[−][src]Module weld::data
Structures that can be passed into Weld.
This currently defines the type layout specified for the single threaded backend. In general, type layouts vary from backend to backend especially for builders.
Primitives
Primitives in Weld match their Rust counterparts, except for booleans. Booleans in Weld are
guaranteed to be one byte in size, but are defined as _Bool
from stdbool.h
in Rust when
defined in a struct with repr(C)
.
Vectors
Vectors will always have the same layout: a pointer followed by a 64-bit length.
Builders
Builders are backend-specific and have layouts that may change at any time. Therefore, the builder definitions here should be used as opaque sized types rather than as structs whose fields can be accessed.
Structs
Appender | The |
Dict | The dictionary type. |
DictMerger | The |
GroupMerger | The |
WeldVec | A dynamically sized constant vector. |
Type Definitions
WeldBool | A boolean in Weld. |