Mapping GraphSON Types to Oracle Database Data Types

The GraphSON data types can be mapped to their corresponding Oracle Database data types.

The following table shows GraphSON data types mapping to Oracle Database data types:

Table 7-6 Mapping GraphSON Types to Oracle Database Types

GraphSON Type Oracle Database Type
String VARCHAR2Foot 1
g:Int32 NUMBER(10)
g:Int64 NUMBER(10)
g:Float FLOAT
g:Double FLOAT
g:Date DATE
g:Timestamp TIMESTAMPFoot 2
g:UUID CHAR(36)

Footnote 1 You can use the stringFieldSize parameter to determine the string size for the database to store on the String columns.

Footnote 2 You can use the fractionalSecondsPrecision parameter to specify the precision on the columns of type Timestamp.