Class AbstractFileGraphConfigBuilder<T extends AbstractFileGraphConfigBuilder<T,​GC>,​GC extends AbstractFileGraphConfig>

    • Constructor Detail

      • AbstractFileGraphConfigBuilder

        public AbstractFileGraphConfigBuilder()
    • Method Detail

      • setFormat

        public T setFormat​(Format format)
        Sets the file format.
        Parameters:
        format - the format
        Returns:
        this builder
      • setSeparator

        public T setSeparator​(java.lang.String separator)
        Sets the separator.
        Parameters:
        separator - the separator
        Returns:
        this builder
        See Also:
        "the graph configuration documentation for details about the effects and default of this setting"
      • setVectorComponentDelimiter

        public T setVectorComponentDelimiter​(java.lang.Character delimiter)
        Set the delimiter for the components of vector properties
        Parameters:
        delimiter - the delimiter for the components of the vector properties
        Returns:
        this builder
      • hasHeader

        public T hasHeader​(boolean hasHeader)
        Defines if file has a header or not
        Parameters:
        hasHeader - the flag to set
        Returns:
        this builder
        See Also:
        "the graph configuration documentation for details about the effects and default of this setting"
      • detectGzip

        public T detectGzip​(boolean detectGzip)
        Defines if gzip detection is enabled or not
        Parameters:
        detectGzip - the flag to set
        Returns:
        this builder
        See Also:
        "the graph configuration documentation for details about the effects and default of this setting"
      • setUri

        public T setUri​(java.lang.String uri)
        Sets the unified resource identifier (URI) pointing to a file with graph data.
        Parameters:
        uri - the uri
        Returns:
        this builder
      • addUri

        public T addUri​(java.lang.String uri)
        Adds a unified resource identifier (URI) pointing to a file with graph data.
        Parameters:
        uri - the uri
        Returns:
        this builder
      • addVertexUri

        public T addVertexUri​(java.lang.String uri)
        Adds a unified resource identifier (URI) pointing to a file with graph vertices data.
        Parameters:
        uri - the uri
        Returns:
        this builder
      • addEdgeUri

        public T addEdgeUri​(java.lang.String uri)
        Adds a unified resource identifier (URI) pointing to a file with graph edges data.
        Parameters:
        uri - the uri
        Returns:
        this builder
      • setUris

        public T setUris​(java.lang.Iterable<java.lang.String> uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
        Parameters:
        uris - the list of uris
        Returns:
        this builder
      • setUris

        public T setUris​(java.lang.String... uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
        Parameters:
        uris - the array of uris
        Returns:
        this builder
      • setVertexUris

        public T setVertexUris​(java.lang.Iterable<java.lang.String> uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
        Parameters:
        uris - the list of uris
        Returns:
        this builder
      • setVertexUris

        public T setVertexUris​(java.lang.String... uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with graph vertices data.
        Parameters:
        uris - the array of uris
        Returns:
        this builder
      • setEdgeUris

        public T setEdgeUris​(java.lang.Iterable<java.lang.String> uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with graph edges data.
        Parameters:
        uris - the list of uris
        Returns:
        this builder
      • setEdgeUris

        public T setEdgeUris​(java.lang.String... uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with graph edges data.
        Parameters:
        uris - the array of uris
        Returns:
        this builder
      • setStoringOptions

        public T setStoringOptions​(FileGraphStoringConfig storingConfig)
        Sets the storing options to use when storing the graph data.
        Parameters:
        storingConfig - the storing configuration object
        Returns:
        this builder
      • setVertexIdColumn

        public T setVertexIdColumn​(java.lang.Object column)
        Sets the column containing the vertex id. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder
      • setVertexLabelsColumn

        public T setVertexLabelsColumn​(java.lang.Object column)
        Sets the column containing the vertex labels. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder
      • setEdgeIdColumn

        public T setEdgeIdColumn​(java.lang.Object column)
        Sets the column containing the edge id. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder
      • setEdgeSourceColumn

        public T setEdgeSourceColumn​(java.lang.Object column)
        Sets the column containing the edge source. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder
      • setEdgeDestinationColumn

        public T setEdgeDestinationColumn​(java.lang.Object column)
        Sets the column containing the edge destination. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder
      • setEdgeLabelColumn

        public T setEdgeLabelColumn​(java.lang.Object column)
        Sets the column containing the edge label. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder