T
- the type of Property Graph (PG) config objects this builder builds.public abstract class AbstractPgGraphConfigBuilder<T extends AbstractPgGraphConfigBuilder<T,GC>,GC extends AbstractPgGraphConfig> extends AbstractGraphConfigBuilder<T,GC>
Constructor and Description |
---|
AbstractPgGraphConfigBuilder()
Instantiates a new AbstractPgGraphConfigBuilder builder.
|
Modifier and Type | Method and Description |
---|---|
T |
setMaxNumConnections(int c)
Sets the maximum number of connections.
|
T |
setName(java.lang.String name)
Sets the Property Graph (PG) name.
|
T |
setPropertyValueDelimiter(java.lang.String delimiter)
(only relevant for
use_vertex_property_value_as_label ) if null read the whole property value as label. |
T |
setUseVertexPropertyValueAsLabel(java.lang.String labelPropertyName)
Load the given property as vertex label.
|
addEdgeProperty, addEdgeProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, build, hasEdgeLabel, hasVertexLabels, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateVertexIdIndex, setCreateVertexIdMapping, setDateFormat, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setFetchIntervalSec, setFilter, setFilterStrategy, setLoadEdgeLabel, setLoadVertexLabels, setUpdateIntervalSec, setUpdateThreshold
public AbstractPgGraphConfigBuilder()
public T setMaxNumConnections(int c)
c
- the number of connectionspublic T setName(java.lang.String name)
name
- the namepublic T setPropertyValueDelimiter(java.lang.String delimiter)
use_vertex_property_value_as_label
) if null
read the whole property value as label. Otherwise, split the string using the specified delimiter and use all values as vertex labelsdelimiter
- the delimiter to use. If null
read the whole property as labelpublic T setUseVertexPropertyValueAsLabel(java.lang.String labelPropertyName)
labelPropertyName
- the name of the property to load as labelCopyright © 2016, 2017 Oracle Corp. All Rights Reserved.