@terascope/data-mate / vector/interfaces
vector/interfaces
Index
Enumerations
Enumeration | Description |
---|---|
VectorType | The Vector Type, this will change how the data is stored and read |
Interfaces
Interface | Description |
---|---|
SerializeOptions | Options used for JSON serialization |
Type Aliases
DataBuckets<T>
DataBuckets<
T
>:ReadableData
<T
>[] | readonlyReadableData
<T
>[]
Type parameters
Type parameter |
---|
T |
Source
data-mate/src/vector/interfaces.ts:3
DataValueTuple<T>
DataValueTuple<
T
>: readonly [readonlynumber
[],T
|null
]
Type parameters
Type parameter |
---|
T |
Source
data-mate/src/vector/interfaces.ts:64
OldData<T>
Internal
OldData<
T
>:Readonly
<object
>
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 declaration
indices
Internal
readonly
indices: readonly (string
|null
)[]
The index represent the order of the values, the value is the hash of where to find the index
values
Internal
readonly
values:ReadonlyMap
<string
|null
,DataValueTuple
<T
>>
The unique values
Type parameters
Type parameter |
---|
T |