public class OracleDataLoaderConfig extends OracleDataLoaderConfigBase
Constructor and Description |
---|
OracleDataLoaderConfig()
Creates a new OracleDataLoader config object with default configuration settings.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDirOrSqlldrPath()
Gets the database directory or SQL loader path to use for parallel data loading.
|
static OracleDataLoaderConfig |
getInstance()
Create an OracleDataLoaderConfig with the default settings.
|
static OracleDataLoaderConfig |
getInstance(long lVertexSrcOffsetlines, long lEdgeSrcOffsetlines, long lVertexSrcMaxlines, long lEdgeSrcMaxlines, long lVertexIDOffset, long lEdgeIDOffset, int iDop, int iPartitions, int iOffset, DataLoaderListener dll, OraclePropertyGraphDataLoader.SPLITTER_TYPE splitterFlag, java.lang.String szPrefix, java.lang.String szDirOrSqlldrPath, boolean bRebuildIndex, java.lang.String szTbs, java.lang.String szOptions)
Creates a new OracleDataLoader config object .
|
java.lang.String |
getOptions()
Get the additional options for data loading DML and DDL operations
|
java.lang.String |
getSplittedFilePrefix()
Gets the prefix used for splitted files (chunk files)
|
OraclePropertyGraphDataLoader.SPLITTER_TYPE |
getSplitterFlag()
Gets the splitter type to use for data loading
|
java.lang.String |
getTablespace()
Gets the tablespace where the graph tables will be created
|
boolean |
rebuildIndex()
Gets the flag to disable indexes/constraints on the tables before loading data into the tables, and enable indexes/constraints on the tables after loading data into the tables
|
void |
setDirOrSqlldrPath(java.lang.String szDirOrSqlldrPath)
Specifies the database directory or SQL loader path to use for parallel data loading.
|
void |
setOptions(java.lang.String szOptions)
Set the additional options for data loading DML and DDL operations
|
void |
setRebuildIndex(boolean rebuildIndex)
Sets the flag to disable indexes/constraints on the tables before loading data into the tables, and enable indexes/constraints on the tables after loading data into the tables
|
void |
setSplittedFilePrefix(java.lang.String szPrefix)
Sets the prefix used for splitted files (chunk files)
|
void |
setSplitterFlag(OraclePropertyGraphDataLoader.SPLITTER_TYPE splitterFlag)
Sets the splitter type to use for data loading
|
void |
setTablespace(java.lang.String szTbs)
Sets the tablespace where the graph tables will be created
|
getBatchSize, getBatchSizeToDebug, getInstance, isSkipGhostVerticesOn, setBatchSize, setSkipGhostVertices
getDataLoaderListener, getDOP, getEdgeIDOffset, getEdgeSrcMaxlines, getEdgeSrcOffsetlines, getInstance, getPartitionsOffset, getTotalPartitions, getVertexIDOffset, getVertexSrcMaxlines, getVertexSrcOffsetlines, setBatchSizeToDebug, setDataLoaderListener, setDOP, setEdgeIDOffset, setEdgeSrcMaxlines, setEdgeSrcOffsetlines, setPartitionsOffset, setTotalPartitions, setVertexIDOffset, setVertexSrcMaxlines, setVertexSrcOffsetlines
public OracleDataLoaderConfig()
public java.lang.String getDirOrSqlldrPath()
public static OracleDataLoaderConfig getInstance()
public static OracleDataLoaderConfig getInstance(long lVertexSrcOffsetlines, long lEdgeSrcOffsetlines, long lVertexSrcMaxlines, long lEdgeSrcMaxlines, long lVertexIDOffset, long lEdgeIDOffset, int iDop, int iPartitions, int iOffset, DataLoaderListener dll, OraclePropertyGraphDataLoader.SPLITTER_TYPE splitterFlag, java.lang.String szPrefix, java.lang.String szDirOrSqlldrPath, boolean bRebuildIndex, java.lang.String szTbs, java.lang.String szOptions)
lVertexSrcOffsetlines
- the line offset of vertices. Loading vertices after the offset. Default is 0.lEdgeSrcOffsetlines
- the line offset of edges. Loading edges after the offset. Default is 0.lVertexSrcMaxlines
- the max lines of vertices to be loaded. Default is -1 (i.e., load all vertices)lEdgeSrcMaxlines
- the max lines of edges to be loaded. Default is -1 (i.e., load all edges)lVertexIDOffset
- the offset of vertex ID. That is, the vertex ID would be vertexID+lVertexIDOffset. Default is 0lEdgeIDOffset
- the offset of edge ID. That is, the edge ID would be edgeID+lEdgeIDOffset. Default is 0iDop
- degree of parallelism. It has to be a positive integer.iPartitions
- number of partitions (i.e., data loading clients)iOffset
- offset of partitions. It is from 0 to iPartitions-1dll
- a DataLoaderListener
object.splitterFlag
- the flag to set splitting: REGULARFILE, NAMEDPIPE, PIPEDSTREAM. Default value is REGULARFILEszPrefix
- the prefix used to generate splitted files for regular file or named pipe based splittingszDirOrSqlldrPath
- the database directory for external table based loading or the path to sqlldrbRebuildIndex
- setting the flag to true would disable indexes/constraints on the tables before loading data into the tables, and enable indexes/contraints on the tables after loading data into the tablesszTbs
- tablespace nameszOptions
- the extra optionspublic java.lang.String getOptions()
public java.lang.String getSplittedFilePrefix()
public OraclePropertyGraphDataLoader.SPLITTER_TYPE getSplitterFlag()
public java.lang.String getTablespace()
public boolean rebuildIndex()
public void setDirOrSqlldrPath(java.lang.String szDirOrSqlldrPath)
public void setOptions(java.lang.String szOptions)
szOptions
- the database options to usepublic void setRebuildIndex(boolean rebuildIndex)
rebuildIndex
- setting the flag to true would disable indexes/constraints on the tables before loading data into the tables, and enable indexes/constraints on the tables after loading data into the tablespublic void setSplittedFilePrefix(java.lang.String szPrefix)
public void setSplitterFlag(OraclePropertyGraphDataLoader.SPLITTER_TYPE splitterFlag)
public void setTablespace(java.lang.String szTbs)
Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.