Class: abstract
BaseObjectNodeMapping
Extended by
Constructors
new BaseObjectNodeMapping()
new BaseObjectNodeMapping():
BaseObjectNodeMapping
Returns
Methods
_addObj()
abstract
_addObj(obj
):void
Parameters
• obj: any
Returns
void
Defined in
packages/llamaindex/src/objects/base.ts:29
_fromNode()
abstract
_fromNode(node
):any
Parameters
Returns
any
Defined in
packages/llamaindex/src/objects/base.ts:37
addObj()
addObj(
obj
):void
Parameters
• obj: any
Returns
void
Defined in
packages/llamaindex/src/objects/base.ts:23
fromNode()
fromNode(
node
):any
Parameters
Returns
any
Defined in
packages/llamaindex/src/objects/base.ts:40
fromObjects()
abstract
fromObjects<OT
>(objs
, ...args
):BaseObjectNodeMapping
Type Parameters
• OT
Parameters
• objs: OT
[]
• ...args: any
[]
Returns
Defined in
packages/llamaindex/src/objects/base.ts:13
objNodeMapping()
abstract
objNodeMapping():Record
<any
,any
>
Returns
Record
<any
, any
>
Defined in
packages/llamaindex/src/objects/base.ts:16
persist()
abstract
persist(persistDir
,objNodeMappingFilename
):void
Parameters
• persistDir: string
• objNodeMappingFilename: string
Returns
void
Defined in
packages/llamaindex/src/objects/base.ts:47
toNode()
Parameters
• obj: any
Returns
Defined in
packages/llamaindex/src/objects/base.ts:17
toNodes()
Parameters
• objs: any
[]
Returns
Defined in
packages/llamaindex/src/objects/base.ts:32
validateObject()
validateObject(
obj
):void
Parameters
• obj: any
Returns
void