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 |
detectGzip(boolean detectGzip)
Defines if gzip detection is enabled or not
|
T |
hasHeader(boolean hasHeader)
Defines if file has a header or not
|
T |
setEdgeDestinationColumn(java.lang.Object column)
Sets the column containing the edge destination.
|
T |
setEdgeIdColumn(java.lang.Object column)
Sets the column containing the edge id.
|
T |
setEdgeLabelColumn(java.lang.Object column)
Sets the column containing the edge label.
|
T |
setEdgeSourceColumn(java.lang.Object column)
Sets the column containing the edge source.
|
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 |
setStoringOptions(FileGraphStoringConfig storingConfig)
Sets the storing options to use when storing the graph data.
|
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 |
setVectorComponentDelimiter(java.lang.Character delimiter)
Set the delimiter for the components of vector properties
|
T |
setVertexIdColumn(java.lang.Object column)
Sets the column containing the vertex id.
|
T |
setVertexLabelsColumn(java.lang.Object column)
Sets the column containing the vertex labels.
|
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, addEdgeProperty, addEdgeStringProperty, addEdgeStringProperty, addEdgeVectorProperty, addEdgeVectorProperty, addEdgeVectorProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, addVertexProperty, addVertexStringProperty, addVertexStringProperty, addVertexVectorProperty, addVertexVectorProperty, addVertexVectorProperty, build, clearEdgeProperties, clearVertexProperties, copyBaseFrom, enableEdgeIdDuplicateCheck, enableVertexIdDuplicateCheck, redactPassword, removeEdgeProperty, removeVertexProperty, setArrayCompactionThreshold, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateLabelHistogram, setCreateVertexIdIndex, setCreateVertexIdMapping, setEdgeIdStrategy, setEdgeIdType, setErrorHandlingOnDuplicateEntityId, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnParsingIssue, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setErrorHandlingOnVectorLengthMismatch, setFetchIntervalSec, setFilter, setFilterStrategy, setKeystoreAlias, setLabelValueDelimiter, setLoadEdgeLabel, setLoadingProgressReportingFrequency, setLoadVertexLabels, setLocalDateFormat, setOptimizedFor, setPartitionDiscardDefaultValues, setPartitionWhileLoading, setPassword, setPropertyValueDelimiter, setSkipEdgeLoading, setSkipVertexLoading, setSnapshotsSource, setStrictMode, setTimeFormat, setTimestampFormat, setTimestampWithTimezoneFormat, setTimeWithTimezoneFormat, setUpdateIntervalSec, setUpdatePropertiesInPlace, setUpdateThreshold, setUseVertexPropertyValueAsLabel, setVertexIdStrategy, setVertexIdType, toGraphConfigBuilder
public T addEdgeUri(java.lang.String uri)
uri
- 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 detectGzip(boolean detectGzip)
detectGzip
- the flag to setpublic T hasHeader(boolean hasHeader)
hasHeader
- the flag to setpublic T setEdgeDestinationColumn(java.lang.Object column)
column
- the column name or indexpublic T setEdgeIdColumn(java.lang.Object column)
column
- the column name or indexpublic T setEdgeLabelColumn(java.lang.Object column)
column
- the column name or indexpublic T setEdgeSourceColumn(java.lang.Object column)
column
- the column name or indexpublic 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 setStoringOptions(FileGraphStoringConfig storingConfig)
storingConfig
- the storing configuration objectpublic 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 setVectorComponentDelimiter(java.lang.Character delimiter)
delimiter
- the delimiter for the components of the vector propertiespublic T setVertexIdColumn(java.lang.Object column)
column
- the column name or indexpublic T setVertexLabelsColumn(java.lang.Object column)
column
- the column name or indexpublic T setVertexUris(java.lang.Iterable<java.lang.String> uris)
uris
- the list of urispublic T setVertexUris(java.lang.String... uris)
uris
- the array of uris