Class AbstractFileGraphConfig

    • Constructor Detail

      • AbstractFileGraphConfig

        public AbstractFileGraphConfig()
    • Method Detail

      • getUri

        public java.lang.String getUri()
        Get the unified resource identifier for the file with the graph data
        Returns:
        the uri
      • getUris

        public java.util.List<java.lang.String> getUris()
        Get the unified resource identifiers for the files with the graph data
        Returns:
        the list of URIs
      • getStoringOptions

        public FileGraphStoringConfig getStoringOptions()
        Get the storing configuration
        Returns:
        the storing configuration
      • getVertexUris

        public abstract java.util.List<java.lang.String> getVertexUris()
        Get the unified resource identifiers for the files with the graph vertex data
        Returns:
        the list of URIs
      • getEdgeUris

        public abstract java.util.List<java.lang.String> getEdgeUris()
        Get the unified resource identifiers for the files with the graph edge data
        Returns:
        the list of URIs
      • getSeparator

        public abstract java.lang.String getSeparator()
        Get the separator of this graph configuration
        Returns:
        the separator
      • isDetectGzip

        public abstract java.lang.Boolean isDetectGzip()
        Whether GZip file automatic detection is enabled or not.
        Returns:
        true if GZip file automatic detection is enabled, false otherwise.
      • isHeader

        public abstract java.lang.Boolean isHeader()
        Whether the file has a header. i.e. first line of file is meant for headers, e.g. 'EdgeId, SourceId, DestId, EdgeProp1, EdgeProp2'
        Returns:
        Whether the file has a header or not
      • getVertexIdColumn

        public abstract java.lang.Object getVertexIdColumn()
        name or index (starting from 1) of column corresponding to vertex id (for CSV format only)
      • getVertexLabelsColumn

        public abstract java.lang.Object getVertexLabelsColumn()
        name or index (starting from 1) of column corresponding to vertex labels (for CSV format only)
      • getEdgeIdColumn

        public abstract java.lang.Object getEdgeIdColumn()
        name or index (starting from 1) of column corresponding to edge id (for CSV format only)
      • getEdgeSourceColumn

        public abstract java.lang.Object getEdgeSourceColumn()
        name or index (starting from 1) of column corresponding to edge source (for CSV format only)
      • getEdgeDestinationColumn

        public abstract java.lang.Object getEdgeDestinationColumn()
        name or index (starting from 1) of column corresponding to edge destination (for CSV format only)
      • getEdgeLabelColumn

        public abstract java.lang.Object getEdgeLabelColumn()
        name or index (starting from 1) of column corresponding to edge label (for CSV format only)
      • getName

        public java.lang.String getName()
        Description copied from interface: CommonLoadableConfig
        Get the graph name of this graph configuration. Note: for file-based graph configurations, this is the file name of the URI this configuration points to.
        Returns:
        the graph name
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class GraphConfig