8.2.1 Additional Information on the GraphImporter Parameters

Learn more about the parameters used by the GraphImporter.

Table 8-3 Database Connection Parameters

Parameter Description Setter in API Default Value Optional
dataSource Data source for the database setDataSource NULL Only if passing dbJdbcUrl, dbUsername and dbPassword
dbJdbcUrl JDBC url of the database setDbJdbcUrl "" Only if passing a dataSouce
dbPassword Database password setDbPassword "" Only if passing a dataSouce
dbUsername Database user name setDbUsername "" Only if passing a dataSouce

Table 8-4 GraphImporter Configuration Parameters

Parameter Description Setter in API Default Value Optional
pathName Path to the GraphSON file setPathname "" No
graphName Resulting graph name setGraphName "" Yes
inFormat Input format for the importer setInputFormat GraphImportInputFormat.GRAPHSON Yes
outFormat Output format for the importer setOutputFormat GraphImportOutputFormat.PG_VIEW Yes
batchSize Number of rows read before inserting data to the database setBatchSize 1000 Yes
threads Number of threads to be used to insert to the database setThreads 1 Yes

Table 8-5 SQL Storage Parameters

Parameter Description Setter in API Default Value Optional
stringFieldSize GraphSON String data type is translated as VARCHAR2 in the database.

This parameter represents the VARCHAR2 size for the data storage.

setStringFieldsSize 100 Yes
fractionalSecondsPrecision The fractional seconds precision parameter found in TIMESTAMP data type in the Oracle Database. setFractionalSecondsPrecision 6 Yes

Table 8-6 PGQL Supported Parameters

Parameter Description Setter in API Default Value Optional
parallel Degree of parallelism to use for query and update operations setPathname 0 Yes
dynamicSampling Dynamic sampling value setGraphName 2 Yes
matchOptions Additional options used to influence query translation and execution setMatchOptions NULL Yes
options Additional options used to influence modify translation and execution setOptions NULL Yes