Function
| Static Public Summary | ||
| public |
as() |
|
| public |
Provides an configured BookmarkManager instance. |
since 5.0 |
| public |
isDate(obj: Object): boolean Test if given object is an instance of Date class. |
|
| public |
isDateTime(obj: Object): boolean Test if given object is an instance of DateTime class. |
|
| public |
isDuration(obj: Object): boolean Test if given object is an instance of Duration class. |
|
| public |
isLocalDateTime(obj: Object): boolean Test if given object is an instance of LocalDateTime class. |
|
| public |
isLocalTime(obj: Object): boolean Test if given object is an instance of LocalTime class. |
|
| public |
isNode(obj: Object): boolean Test if given object is an instance of Node class. |
|
| public |
isPath(obj: Object): boolean Test if given object is an instance of Path class. |
|
| public |
isPathSegment(obj: Object): boolean Test if given object is an instance of PathSegment class. |
|
| public |
isPoint(obj: Object): boolean Test if given object is an instance of Point class. |
|
| public |
isRelationship(obj: Object): boolean Test if given object is an instance of Relationship class. |
|
| public |
isTime(obj: Object): boolean Test if given object is an instance of Time class. |
|
| public |
isUUID(obj: Object): boolean Test if given object is an instance of the UUID class. |
|
| public |
isUnsupportedType(obj: Object): boolean Test if given object is an instance of the UnsupportedType class. |
|
| public |
isVector(obj: Object): boolean Test if given object is an instance of the Vector class. |
|
| public |
localKeyEncapsulationService(masterKey: Uint8Array): KeyEncapsulationService this function is experimental. Part of the Client-Side Encrytion preview feature
Returns a new KeyEncapsulationService implementation that uses the provided AES-256 SecretKey as a master key for encapsulating and decapsulating data keys. |
|
| public |
Creates a UUID from a uuid string or length 16 Uint8Array, allowing it to be sent as a parameter of a Neo4j query. |
|
| public |
vector(typedArray: Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | BigInt64Array): Vector Cast a TypedArray to a Vector |
|
Static Public
public bookmarkManager(config: BookmarkManagerConfig): BookmarkManager since 5.0 source
import {bookmarkManager} from 'neo4j-driver-core/lib/bookmark-manager.js'Provides an configured BookmarkManager instance.
Params:
| Name | Type | Attribute | Description |
| config | BookmarkManagerConfig |
|
public isDate(obj: Object): boolean source
import {isDate} from 'neo4j-driver-core/lib/temporal-types.js'Test if given object is an instance of Date class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | The object to test. |
public isDateTime(obj: Object): boolean source
import {isDateTime} from 'neo4j-driver-core/lib/temporal-types.js'Test if given object is an instance of DateTime class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | The object to test. |
public isDuration(obj: Object): boolean source
import {isDuration} from 'neo4j-driver-core/lib/temporal-types.js'Test if given object is an instance of Duration class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isLocalDateTime(obj: Object): boolean source
import {isLocalDateTime} from 'neo4j-driver-core/lib/temporal-types.js'Test if given object is an instance of LocalDateTime class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | The object to test. |
public isLocalTime(obj: Object): boolean source
import {isLocalTime} from 'neo4j-driver-core/lib/temporal-types.js'Test if given object is an instance of LocalTime class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isNode(obj: Object): boolean source
import {isNode} from 'neo4j-driver-core/lib/graph-types.js'Test if given object is an instance of Node class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isPath(obj: Object): boolean source
import {isPath} from 'neo4j-driver-core/lib/graph-types.js'Test if given object is an instance of Path class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isPathSegment(obj: Object): boolean source
import {isPathSegment} from 'neo4j-driver-core/lib/graph-types.js'Test if given object is an instance of PathSegment class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isPoint(obj: Object): boolean source
import {isPoint} from 'neo4j-driver-core/lib/spatial-types.js'Test if given object is an instance of Point class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isRelationship(obj: Object): boolean source
import {isRelationship} from 'neo4j-driver-core/lib/graph-types.js'Test if given object is an instance of Relationship class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isTime(obj: Object): boolean source
import {isTime} from 'neo4j-driver-core/lib/temporal-types.js'Test if given object is an instance of Time class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isUUID(obj: Object): boolean source
import {isUUID} from 'neo4j-driver-core/lib/uuid.js'Test if given object is an instance of the UUID class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isUnsupportedType(obj: Object): boolean source
import {isUnsupportedType} from 'neo4j-driver-core/lib/unsupported-type.js'Test if given object is an instance of the UnsupportedType class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public isVector(obj: Object): boolean source
import {isVector} from 'neo4j-driver-core/lib/vector.js'Test if given object is an instance of the Vector class.
Params:
| Name | Type | Attribute | Description |
| obj | Object | the object to test. |
public localKeyEncapsulationService(masterKey: Uint8Array): KeyEncapsulationService source
import {localKeyEncapsulationService} from 'neo4j-driver-core/lib/encryption/local-key-encapsulation.js'Returns a new KeyEncapsulationService implementation that uses the provided AES-256 SecretKey as a master key for encapsulating and decapsulating data keys.
Params:
| Name | Type | Attribute | Description |
| masterKey | Uint8Array | the AES-256 master key |
Return:
| KeyEncapsulationService | the new key encapsulation service |
public uuid(rawUUID: Uint8Array | string): UUID source
import {uuid} from 'neo4j-driver-core/lib/uuid.js'Creates a UUID from a uuid string or length 16 Uint8Array, allowing it to be sent as a parameter of a Neo4j query.
Created UUID objects are frozen with Object.freeze() in constructor and thus immutable.
Params:
| Name | Type | Attribute | Description |
| rawUUID | Uint8Array | string | a uuid string or length 16 Uint8Array with the values of the UUID. |
public vector(typedArray: Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | BigInt64Array): Vector source
import {vector} from 'neo4j-driver-core/lib/vector.js'Cast a TypedArray to a Vector
Params:
| Name | Type | Attribute | Description |
| typedArray | Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | BigInt64Array | The value to use. |
