Class FileGraphStoringConfigBuilder


  • public final class FileGraphStoringConfigBuilder
    extends java.lang.Object
    A file graph storing configuration builder.
    • Constructor Detail

      • FileGraphStoringConfigBuilder

        public FileGraphStoringConfigBuilder()
      • FileGraphStoringConfigBuilder

        public FileGraphStoringConfigBuilder​(java.lang.String basePath)
    • 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"