Skip to main content

Class: KeywordTable

Extends

Constructors

new KeywordTable()

new KeywordTable(indexId?, summary?): KeywordTable

Parameters

indexId?: `${string}-${string}-${string}-${string}-${string}`

summary?: string

Returns

KeywordTable

Inherited from

IndexStruct.constructor

Defined in

packages/core/data-structs/dist/index.d.ts:45

Properties

indexId

indexId: string

Inherited from

IndexStruct.indexId

Defined in

packages/core/data-structs/dist/index.d.ts:43


summary

summary: undefined | string

Inherited from

IndexStruct.summary

Defined in

packages/core/data-structs/dist/index.d.ts:44


table

table: Map<string, Set<string>>

Defined in

packages/core/data-structs/dist/index.d.ts:50


type

type: IndexStructType

Defined in

packages/core/data-structs/dist/index.d.ts:51

Methods

addNode()

addNode(keywords, nodeId): void

Parameters

keywords: string[]

nodeId: string

Returns

void

Defined in

packages/core/data-structs/dist/index.d.ts:52


deleteNode()

deleteNode(keywords, nodeId): void

Parameters

keywords: string[]

nodeId: string

Returns

void

Defined in

packages/core/data-structs/dist/index.d.ts:53


getSummary()

getSummary(): string

Returns

string

Inherited from

IndexStruct.getSummary

Defined in

packages/core/data-structs/dist/index.d.ts:47


toJson()

toJson(): Record<string, unknown>

Returns

Record<string, unknown>

Overrides

IndexStruct.toJson

Defined in

packages/core/data-structs/dist/index.d.ts:54