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 |
addAttribute(java.lang.String key, java.lang.String value)
Adds a file-system specific attribute to this config
|
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 |
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 |
setNodeIdType(IdType nodeIdType)
Alias for
setVertexIdType(IdType) |
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 |
setVertexIdType(IdType vertexIdType)
Sets the vertex id type.
|
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.
|
addEdgeProperty, addEdgeProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, build, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateVertexIdIndex, setCreateVertexIdMapping, setDateFormat, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setFetchIntervalSec, setFilter, setFilterStrategy, setLabelValueDelimiter, setLoadEdgeLabel, setLoadVertexLabels, setPropertyValueDelimiter, setStrictMode, setUpdateIntervalSec, setUpdateThreshold, setUseVertexPropertyValueAsLabel
public T addAttribute(java.lang.String key, java.lang.String value)
key
- the attribute's keyvalue
- the attribute's valuepublic 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 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 setNodeIdType(IdType nodeIdType)
setVertexIdType(IdType)
nodeIdType
-public 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 setVertexIdType(IdType vertexIdType)
vertexIdType
- the vertex id typepublic 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.