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 |
copyFrom(GC graphConfig)
Sets this builder with all the values of the given graph config.
|
T |
setMaxNumConnections(int c)
Sets the maximum number of connections.
|
T |
setName(java.lang.String name)
Sets the Property Graph (PG) name.
|
T |
setVertexIdType(IdType vertexIdType)
Sets the type of vertex IDs
|
addAttribute, addEdgeProperty, addEdgeProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, build, clearEdgeProperties, clearVertexProperties, copyBaseFrom, removeEdgeProperty, removeVertexProperty, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateVertexIdIndex, setCreateVertexIdMapping, setDateFormat, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setFetchIntervalSec, setFilter, setFilterStrategy, setLabelValueDelimiter, setLoadEdgeLabel, setLoadVertexLabels, setLocalDateFormat, setPropertyValueDelimiter, setSkipEdgeLoading, setSkipVertexLoading, setStrictMode, setTimeFormat, setTimestampFormat, setTimestampWithTimezoneFormat, setTimeWithTimezoneFormat, setUpdateIntervalSec, setUpdateThreshold, setUseVertexPropertyValueAsLabel
public AbstractPgGraphConfigBuilder()
public T copyFrom(GC graphConfig)
AbstractGraphConfigBuilder
copyFrom
in class AbstractGraphConfigBuilder<T extends AbstractPgGraphConfigBuilder<T,GC>,GC extends AbstractPgGraphConfig>
graphConfig
- the graph configuration from which to copy the valuespublic T setMaxNumConnections(int c)
c
- the number of connectionspublic T setName(java.lang.String name)
name
- the namepublic T setVertexIdType(IdType vertexIdType)
AbstractGraphConfigBuilder
setVertexIdType
in class AbstractGraphConfigBuilder<T extends AbstractPgGraphConfigBuilder<T,GC>,GC extends AbstractPgGraphConfig>
vertexIdType
- the type of vertex IDsCopyright © 2017 Oracle Corp. All Rights Reserved.