Graph module.

Classes

Types

Constants

direction

Represents the edge direction.

t

Represents a collection of tokens for more concise Traversal definitions.

Functions

graph.asDouble

()

Wraps a number or null value to hint the client driver that the data type of the value is a double

Static
This function is static

graph.asFloat

()

Wraps a number or null value to hint the client driver that the data type of the value is a double

Static
This function is static

graph.asInt

()

Wraps a number or null value to hint the client driver that the data type of the value is an int

Static
This function is static

graph.asTimestamp

()

Wraps a Date or null value to hint the client driver that the data type of the value is a timestamp

Static
This function is static

graph.asUdt

(object value, Object udtInfo)

Wraps an Object or null value to hint the client driver that the data type of the value is a user-defined type.

Static
This function is static
Parameters:
Name Type Description
value object

The object representing the UDT.

udtInfo Object

The UDT metadata as defined by the driver.