Package org.gephi.io.importer.api
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 Summary
-
-
-
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 withkey
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 withkey
as identifier.- Parameters:
key
- edge column key- Returns:
- column draft or null if not found
-
getNodeColumns
Iterable<ColumnDraft> getNodeColumns()
-
getEdgeColumns
Iterable<ColumnDraft> getEdgeColumns()
-
getEdgeDefault
EdgeDirectionDefault getEdgeDefault()
-
getTimeFormat
TimeFormat getTimeFormat()
-
getTimeRepresentation
TimeRepresentation getTimeRepresentation()
-
getTimeZone
org.joda.time.DateTimeZone getTimeZone()
-
getSource
String getSource()
-
getEdgeTypeLabelClass
Class getEdgeTypeLabelClass()
-
getTimestamp
Double getTimestamp()
-
getInterval
Interval getInterval()
-
getElementIdType
ElementIdType getElementIdType()
-
allowSelfLoop
boolean allowSelfLoop()
-
allowAutoNode
boolean allowAutoNode()
-
allowParallelEdges
boolean allowParallelEdges()
-
isAutoScale
boolean isAutoScale()
-
isFillLabelWithId
boolean isFillLabelWithId()
-
getEdgesMergeStrategy
EdgeMergeStrategy getEdgesMergeStrategy()
-
-