public abstract class AbstractFileGraphConfigBuilder<T extends AbstractFileGraphConfigBuilder<T,GC>,GC extends AbstractFileGraphConfig> extends AbstractGraphConfigBuilder<T,GC>
Constructor and Description |
---|
AbstractFileGraphConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
addEdgeUri(java.lang.String uri)
Adds a unified resource identifier (URI) pointing to a file with graph edges data.
|
T |
addUri(java.lang.String uri)
Adds a unified resource identifier (URI) pointing to a file with graph data.
|
T |
addVertexUri(java.lang.String uri)
Adds a unified resource identifier (URI) pointing to a file with graph vertices data.
|
T |
copyFrom(GC graphConfig)
Sets this builder with all the values of the given graph config.
|
T |
hasHeader(boolean hasHeader)
Defines if file has a header or not
|
T |
setEdgeUris(java.lang.Iterable<java.lang.String> uris)
Sets the unified resource identifier (URI) list pointing to multiple files with graph edges data.
|
T |
setEdgeUris(java.lang.String... uris)
Sets the unified resource identifier (URI) list pointing to multiple files with graph edges data.
|
T |
setFormat(Format format)
Sets the file format.
|
T |
setSeparator(java.lang.String separator)
Sets the separator.
|
T |
setUri(java.lang.String uri)
Sets the unified resource identifier (URI) pointing to a file with graph data.
|
T |
setUris(java.lang.Iterable<java.lang.String> uris)
Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
|
T |
setUris(java.lang.String... uris)
Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
|
T |
setVertexUris(java.lang.Iterable<java.lang.String> uris)
Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
|
T |
setVertexUris(java.lang.String... uris)
Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
|
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, setVertexIdType
public T addEdgeUri(java.lang.String uri)
uris
- the uripublic T addUri(java.lang.String uri)
uri
- the uripublic T addVertexUri(java.lang.String uri)
uri
- the uripublic T copyFrom(GC graphConfig)
AbstractGraphConfigBuilder
copyFrom
in class AbstractGraphConfigBuilder<T extends AbstractFileGraphConfigBuilder<T,GC>,GC extends AbstractFileGraphConfig>
graphConfig
- the graph configuration from which to copy the valuespublic T hasHeader(boolean hasHeader)
hasHeader
- the flag to setpublic T setEdgeUris(java.lang.Iterable<java.lang.String> uris)
uris
- the list of urispublic T setEdgeUris(java.lang.String... uris)
uris
- the array of urispublic T setFormat(Format format)
format
- the formatpublic T setSeparator(java.lang.String separator)
separator
- the separatorpublic T setUri(java.lang.String uri)
uri
- the uripublic T setUris(java.lang.Iterable<java.lang.String> uris)
uris
- the list of urispublic T setUris(java.lang.String... uris)
uris
- the array of urispublic T setVertexUris(java.lang.Iterable<java.lang.String> uris)
uris
- the list of urispublic T setVertexUris(java.lang.String... uris)
uris
- the array of urisCopyright © 2017 Oracle Corp. All Rights Reserved.