Class: IndexList
The underlying structure of each index.
Hierarchy
↳
IndexList
Constructors
constructor
• new IndexList(indexId?
, summary?
)
Parameters
Name | Type | Default value |
---|---|---|
indexId | string | undefined |
summary | undefined | undefined |
Inherited from
Defined in
indices/BaseIndex.ts:19
Properties
indexId
• indexId: string
Inherited from
Defined in
indices/BaseIndex.ts:16
nodes
• nodes: string
[] = []
Defined in
indices/BaseIndex.ts:85
summary
• Optional
summary: string
Inherited from
Defined in
indices/BaseIndex.ts:17
type
• type: IndexStructType
= IndexStructType.LIST
Defined in
indices/BaseIndex.ts:86
Methods
addNode
▸ addNode(node
): void
Parameters
Name | Type |
---|---|
node | BaseNode |
Returns
void
Defined in
indices/BaseIndex.ts:88
getSummary
▸ getSummary(): string
Returns
string
Inherited from
Defined in
indices/BaseIndex.ts:31
toJson
▸ toJson(): Record
<string
, unknown
>
Returns
Record
<string
, unknown
>
Overrides
Defined in
indices/BaseIndex.ts:92