Interface ContainerUnloader


  • public interface ContainerUnloader
    Interface for unloading a container.

    Gives access to the draft graph elements, columns attributes. Also gives access to basic settings and properties about the container's content.

    Unloaders are used by Processor to load data from the container to the main data structure.

    Author:
    Mathieu Bastian
    See Also:
    Processor
    • Method Detail

      • getNodeCount

        int getNodeCount()
      • getEdgeCount

        int getEdgeCount()
      • getMutualEdgeCount

        int getMutualEdgeCount()
        Returns the number of mutual (directed) edges in the container;
        Returns:
        mutual edge count
      • hasNodeColumn

        boolean hasNodeColumn​(String key)
      • hasEdgeColumn

        boolean hasEdgeColumn​(String key)
      • containsAutoNodes

        boolean containsAutoNodes()
        Returns true if the container contains nodes that were auto-created from edges.
        Returns:
        true if contains auto nodes, false otherwise
      • getNodeColumn

        ColumnDraft getNodeColumn​(String key)
        Returns the node column draft with key as identifier.
        Parameters:
        key - node column key
        Returns:
        column draft or null if not found
      • getEdgeColumn

        ColumnDraft getEdgeColumn​(String key)
        Returns the edge column draft with key as identifier.
        Parameters:
        key - edge column key
        Returns:
        column draft or null if not found
      • getTimeZone

        org.joda.time.DateTimeZone getTimeZone()
      • getSource

        String getSource()
      • getEdgeTypeLabelClass

        Class getEdgeTypeLabelClass()
      • getTimestamp

        Double getTimestamp()
      • allowSelfLoop

        boolean allowSelfLoop()
      • allowAutoNode

        boolean allowAutoNode()
      • allowParallelEdges

        boolean allowParallelEdges()
      • isAutoScale

        boolean isAutoScale()
      • isFillLabelWithId

        boolean isFillLabelWithId()