Package oracle.pgx.config
Class FileGraphStoringConfigBuilder
- java.lang.Object
-
- oracle.pgx.config.FileGraphStoringConfigBuilder
-
public final class FileGraphStoringConfigBuilder extends java.lang.Object
A file graph storing configuration builder.
-
-
Constructor Summary
Constructors Constructor Description FileGraphStoringConfigBuilder()
FileGraphStoringConfigBuilder(java.lang.String basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileGraphStoringConfig
build()
Build the file graph storing configuration objectFileGraphStoringConfigBuilder
setBasePath(java.lang.String basePath)
Sets the base path.FileGraphStoringConfigBuilder
setCompressionScheme(oracle.pgx.vfs.CompressionScheme scheme)
Sets the compression scheme.FileGraphStoringConfigBuilder
setDelimiter(char delimiter)
Sets the delimiter.FileGraphStoringConfigBuilder
setEdgeExtension(java.lang.String edgeExtension)
Sets the edge extension.FileGraphStoringConfigBuilder
setInitialPartitionIndex(int initialPartitionIndex)
Sets the initial partition index.FileGraphStoringConfigBuilder
setNumPartitions(int numPartitions)
Sets the number of partitions.FileGraphStoringConfigBuilder
setRowExtension(java.lang.String rowExtension)
Sets the row extension.FileGraphStoringConfigBuilder
setVertexExtension(java.lang.String vertexExtension)
Sets the vertex extension.
-
-
-
Method Detail
-
build
public FileGraphStoringConfig build()
Build the file graph storing configuration object- Returns:
- the file graph storing configuration object
-
setInitialPartitionIndex
public FileGraphStoringConfigBuilder setInitialPartitionIndex(int initialPartitionIndex)
Sets the initial partition index.- Parameters:
initialPartitionIndex
- the initial partition index- Returns:
- this builder
-
setVertexExtension
public FileGraphStoringConfigBuilder setVertexExtension(java.lang.String vertexExtension)
Sets the vertex extension.- Parameters:
vertexExtension
- the vertex extension- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
setEdgeExtension
public FileGraphStoringConfigBuilder setEdgeExtension(java.lang.String edgeExtension)
Sets the edge extension.- Parameters:
edgeExtension
- the edge extension- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
setRowExtension
public FileGraphStoringConfigBuilder setRowExtension(java.lang.String rowExtension)
Sets the row extension.- Parameters:
rowExtension
- the row extension- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
setBasePath
public FileGraphStoringConfigBuilder setBasePath(java.lang.String basePath)
Sets the base path.- Parameters:
basePath
- the base path- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
setNumPartitions
public FileGraphStoringConfigBuilder setNumPartitions(int numPartitions)
Sets the number of partitions.- Parameters:
numPartitions
- the number of partitions- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
setDelimiter
public FileGraphStoringConfigBuilder setDelimiter(char delimiter)
Sets the delimiter.- Parameters:
delimiter
- the delimiter- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
setCompressionScheme
public FileGraphStoringConfigBuilder setCompressionScheme(oracle.pgx.vfs.CompressionScheme scheme)
Sets the compression scheme.- Parameters:
scheme
- the compression scheme- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
-