public static final class GraphMLReader.Builder extends Object implements GraphReader.ReaderBuilder<GraphMLReader>
Modifier and Type | Method and Description |
---|---|
GraphMLReader.Builder |
batchSize(long batchSize)
Number of mutations to perform before a commit is executed.
|
GraphMLReader |
create()
Creates the
GraphReader implementation given options provided to the GraphReader.ReaderBuilder
implementation. |
GraphMLReader.Builder |
edgeLabelKey(String edgeLabelKey)
The key to use as the edge label.
|
GraphMLReader.Builder |
strict(boolean strict)
When set to true, exceptions will be thrown if a property value cannot be coerced to the expected data
type.
|
GraphMLReader.Builder |
vertexLabelKey(String vertexLabelKey)
the key to use as the vertex label.
|
GraphMLReader.Builder |
xmlInputFactory(XMLInputFactory inputFactory)
the key to use as the inputFactory when a caller wants to pass XMLInputFactory with its own configuration.
|
public GraphMLReader.Builder strict(boolean strict)
public GraphMLReader.Builder edgeLabelKey(String edgeLabelKey)
public GraphMLReader.Builder vertexLabelKey(String vertexLabelKey)
public GraphMLReader.Builder batchSize(long batchSize)
public GraphMLReader.Builder xmlInputFactory(XMLInputFactory inputFactory)
public GraphMLReader create()
GraphReader.ReaderBuilder
GraphReader
implementation given options provided to the GraphReader.ReaderBuilder
implementation.create
in interface GraphReader.ReaderBuilder<GraphMLReader>
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.