public class OracleDataLoaderConfigBase extends OracleFileSplitterConfig
Constructor and Description |
---|
OracleDataLoaderConfigBase() |
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize()
Get the batch size of Oracle update in batching mode for JDBC-based loading.
|
long |
getBatchSizeToDebug()
The batch size to use when reporting the loading progress
|
static OracleDataLoaderConfigBase |
getInstance(long lVertexSrcOffsetlines, long lEdgeSrcOffsetlines, long lVertexSrcMaxlines, long lEdgeSrcMaxlines, long lVertexIDOffset, long lEdgeIDOffset, int iDop, int iPartitions, int iOffset, int batchSize, DataLoaderListener dll)
Creates a new OracleDataLoader config object .
|
boolean |
isSkipGhostVerticesOn()
Specifies if edges with ghost vertices (vertices not defined in the graph) should not be loaded
|
void |
setBatchSize(int batchSize)
Set the batch size used in the data loader
|
void |
setSkipGhostVertices(boolean skip)
Specifies if edges with ghost vertices (vertices not defined in the graph) should not be loaded
|
getDataLoaderListener, getDOP, getEdgeIDOffset, getEdgeSrcMaxlines, getEdgeSrcOffsetlines, getInstance, getInstance, getPartitionsOffset, getTotalPartitions, getVertexIDOffset, getVertexSrcMaxlines, getVertexSrcOffsetlines, setBatchSizeToDebug, setDataLoaderListener, setDOP, setEdgeIDOffset, setEdgeSrcMaxlines, setEdgeSrcOffsetlines, setPartitionsOffset, setTotalPartitions, setVertexIDOffset, setVertexSrcMaxlines, setVertexSrcOffsetlines
public int getBatchSize()
public long getBatchSizeToDebug()
OracleFileSplitterConfig
getBatchSizeToDebug
in class OracleFileSplitterConfig
public static OracleDataLoaderConfigBase getInstance(long lVertexSrcOffsetlines, long lEdgeSrcOffsetlines, long lVertexSrcMaxlines, long lEdgeSrcMaxlines, long lVertexIDOffset, long lEdgeIDOffset, int iDop, int iPartitions, int iOffset, int batchSize, DataLoaderListener dll)
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.public boolean isSkipGhostVerticesOn()
public void setBatchSize(int batchSize)
batchSize
- the batch size of Oracle update in batching mode for JDBC-based loading. Default value is 1000.public void setSkipGhostVertices(boolean skip)
skip
- if true then edges with ghost vertices (vertices that do not already exist in the graph) will be skipped.Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.