Preparing search index...
The search index is not available Kosmos v26.1.1
Methods
add Edge
add Edge( context: KosmosUserContext < object > , access: AccessControl , edgeName: any , src_uuid: any , src_label: any , dest_uuid: any , dest_label: any , properties: any , unique: any , validate?: boolean , extraInfo?: { destVertex: any ; srcVertex: any ; } ) : Promise < void >
Parameters
edgeName: any
src_uuid: any
src_label: any
dest_uuid: any
dest_label: any
properties: any
unique: any
Optional validate: boolean
Optional extraInfo: { destVertex: any ; srcVertex: any ; }
dest Vertex: any
src Vertex: any
Returns Promise < void >
all Edges By Type From Vertex
all Edges By Type From Vertex( context: KosmosUserContext < object > , access: AccessControl , parentId: any , sourceType: any , edgeType: any , vertexType: any , after: any , firstPlusOne: any , orderByProperty?: string , orderBy?: FilterOrderDirection ) : Promise < void >
Parameters
parentId: any
sourceType: any
edgeType: any
vertexType: any
after: any
firstPlusOne: any
Optional orderByProperty: string
Returns Promise < void >
check Action Access
check Action Access( context: KosmosUserContext < object > , label: string , uuid: string , action: string ) : Promise < void >
Parameters
label: string
uuid: string
action: string
Returns Promise < void >
close
close( ) : void
Returns void
create Vertex
create Vertex( context: KosmosUserContext < object > , access: AccessControl , type: any , data: any , connectToVertices: any , traitData: TraitDataObject < unknown , Record < string , any > , Promise < any > > , dataSourceWrapper: DataSourceWrapper , validate?: boolean ) : Promise < void >
Parameters
type: any
data: any
connectToVertices: any
traitData: TraitDataObject < unknown , Record < string , any > , Promise < any > >
Optional validate: boolean
Returns Promise < void >
delete Edge
delete Edge( context: KosmosUserContext < object > , access: AccessControl , edge_id: any , validate?: boolean ) : Promise < void >
Parameters
edge_id: any
Optional validate: boolean
Returns Promise < void >
delete Vertex
delete Vertex( context: KosmosUserContext < object > , type: any , uuid: any ) : Promise < void >
Returns Promise < void >
find Edge
find Edge( context: KosmosUserContext < object > , access: AccessControl , src_uuid: any , dest_uuid: any , edge_name: any ) : Promise < void >
Parameters
src_uuid: any
dest_uuid: any
edge_name: any
Returns Promise < void >
find Edge By Edge Label And Destination Type
find Edge By Edge Label And Destination Type( context: KosmosUserContext < object > , access: AccessControl , label: any , sourceId: any , direction: any , edgeProperties: any , destinationType: any , vertexProperties: any ) : Promise < void >
Parameters
label: any
sourceId: any
direction: any
edgeProperties: any
destinationType: any
vertexProperties: any
Returns Promise < void >
find Edge By Label
find Edge By Label( context: KosmosUserContext < object > , access: AccessControl , entity_uuid: any , edge_name: any , out?: boolean , properties?: {} , mapElements?: boolean ) : Promise < void >
Parameters
entity_uuid: any
edge_name: any
Optional out: boolean
Optional properties: {}
Optional mapElements: boolean
Returns Promise < void >
find Vertex
find Vertex( context: KosmosUserContext < object > , access: AccessControl , uuid: any , includeLabel: undefined | boolean , type: any ) : Promise < any >
Parameters
uuid: any
includeLabel: undefined | boolean
type: any
Returns Promise < any >
find Vertex By Edge Label And Destination Type
find Vertex By Edge Label And Destination Type( context: KosmosUserContext < object > , access: AccessControl , label: any , sourceId: any , direction: any , edgeProperties: any , destinationType: any , vertexProperties: any ) : Promise < void >
Parameters
label: any
sourceId: any
direction: any
edgeProperties: any
destinationType: any
vertexProperties: any
Returns Promise < void >
get Destination Vertex Edge
get Destination Vertex Edge( vertex: string , edge: string ) : string
Parameters
vertex: string
edge: string
Returns string
list Edges By Type From Vertex
list Edges By Type From Vertex( context: KosmosUserContext < object > , sourceUUID: any , sourceType: any , edgeType: any , offset: any , limit: undefined | number , destinationType: any , bypassAccess: undefined | boolean , filter: any , orderByProperty?: string , orderBy?: FilterOrderDirection , edgeProperties?: { name: string ; value: any ; } [] ) : Promise < void >
Parameters
sourceUUID: any
sourceType: any
edgeType: any
offset: any
limit: undefined | number
destinationType: any
bypassAccess: undefined | boolean
filter: any
Optional orderByProperty: string
Optional edgeProperties: { name: string ; value: any ; } []
Returns Promise < void >
list Inverse Edges By Type From Vertex
list Inverse Edges By Type From Vertex( context: KosmosUserContext < object > , sourceUUID: any , sourceType: any , edgeType: any , offset: undefined | number , limit: undefined | number , destinationType: any , filter: any , orderByProperty?: string , orderBy?: FilterOrderDirection ) : Promise < void >
Parameters
sourceUUID: any
sourceType: any
edgeType: any
offset: undefined | number
limit: undefined | number
destinationType: any
filter: any
Optional orderByProperty: string
Returns Promise < void >
update Edge Properties
update Edge Properties( context: KosmosUserContext < object > , access: AccessControl , edge_id: any , properties: any , validate?: boolean ) : Promise < void >
Parameters
edge_id: any
properties: any
Optional validate: boolean
Returns Promise < void >
update Vertex
update Vertex( context: KosmosUserContext < object > , access: AccessControl , type: any , data: any , connectToVertices: any , disconnectFromVertices: any , traitData: TraitDataObject < unknown , Record < string , any > , Promise < any > > , dataSourceWrapper: DataSourceWrapper , validate?: boolean ) : Promise < void >
Parameters
type: any
data: any
connectToVertices: any
disconnectFromVertices: any
traitData: TraitDataObject < unknown , Record < string , any > , Promise < any > >
Optional validate: boolean
Returns Promise < void >
This is the close method which is triggered on connection close