Skip to main content

@terascope/data-mate / vector/interfaces

vector/interfaces

Enumerations

EnumerationDescription
VectorTypeThe Vector Type, this will change how the data is stored and read

Interfaces

InterfaceDescription
SerializeOptionsOptions used for JSON serialization

Type Aliases

DataBuckets<T>

DataBuckets<T>: ReadableData<T>[] | readonly ReadableData<T>[]

Defined in: data-mate/src/vector/interfaces.ts:3

Type Parameters

Type Parameter
T

DataValueTuple<T>

DataValueTuple<T>: readonly [readonly number[], T | null]

Defined in: data-mate/src/vector/interfaces.ts:64

Type Parameters

Type Parameter
T

OldData<T>

OldData<T>: Readonly<{ indices: readonly (string | null)[]; values: ReadonlyMap<string | null, DataValueTuple<T>>; }>

Defined in: data-mate/src/vector/interfaces.ts:47

Internal

A data type agnostic in-memory representation of the data for a Vector and potential indices/unique values.

This should be generated by the builder and should NOT be mutated one created.

Type Parameters

Type Parameter
T