Class: KeywordTable
Extends
Constructors
new KeywordTable()
new KeywordTable(
indexId
?,summary
?):KeywordTable
Parameters
• indexId?: `${string}-${string}-${string}-${string}-${string}`
• summary?: string
Returns
Inherited from
Defined in
packages/core/data-structs/dist/index.d.ts:45
Properties
indexId
indexId:
string
Inherited from
Defined in
packages/core/data-structs/dist/index.d.ts:43
summary
summary:
undefined
|string
Inherited from
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
Defined in
packages/core/data-structs/dist/index.d.ts:47
toJson()
toJson():
Record
<string
,unknown
>
Returns
Record
<string
, unknown
>
Overrides
Defined in
packages/core/data-structs/dist/index.d.ts:54