Class PregelContext<CONFIG extends PregelConfig>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CONFIG config  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PregelContext​(CONFIG config)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      CONFIG config()
      Allows access to the user-defined Pregel configuration.
      abstract boolean isMultiGraph()
      Indicates whether the input graph is a multi-graph.
      abstract long nodeCount()
      Number of nodes in the input graph.
      abstract long relationshipCount()
      Number of relationships in the input graph.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PregelContext

        protected PregelContext​(CONFIG config)
    • Method Detail

      • config

        public CONFIG config()
        Allows access to the user-defined Pregel configuration.
      • isMultiGraph

        public abstract boolean isMultiGraph()
        Indicates whether the input graph is a multi-graph.
      • nodeCount

        public abstract long nodeCount()
        Number of nodes in the input graph.
      • relationshipCount

        public abstract long relationshipCount()
        Number of relationships in the input graph.