Class EdgeGraphData.PredicateData

java.lang.Object
dev.roanh.gmark.util.EdgeGraphData
dev.roanh.gmark.util.EdgeGraphData.PredicateData
Enclosing class:
EdgeGraphData

private static class EdgeGraphData.PredicateData extends EdgeGraphData
Represents data for a normal graph node constructed from a schema graph edge.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • size

      public int size()
      Description copied from class: EdgeGraphData
      Gets the length of the shortest path through the CPQ represented by this edge graph data object.
      Specified by:
      size in class EdgeGraphData
      Returns:
      The length of the shortest path through this object.
    • getSourceType

      public Type getSourceType()
      Description copied from class: EdgeGraphData
      The type of the source node for the CPQ in this data object.
      Specified by:
      getSourceType in class EdgeGraphData
      Returns:
      The target type for this object.
    • getTargetType

      public Type getTargetType()
      Description copied from class: EdgeGraphData
      The type of the source node for the CPQ in this data object.
      Specified by:
      getTargetType in class EdgeGraphData
      Returns:
      The source type for this object.
    • getSourceSelectivity

      public Selectivity getSourceSelectivity()
      Description copied from class: EdgeGraphData
      The selectivity of the source node for the CPQ in this data object.
      Specified by:
      getSourceSelectivity in class EdgeGraphData
      Returns:
      The source selectivity for this object.
    • getTargetSelectivity

      public Selectivity getTargetSelectivity()
      Description copied from class: EdgeGraphData
      The selectivity of the target node for the CPQ in this data object.
      Specified by:
      getTargetSelectivity in class EdgeGraphData
      Returns:
      The source selectivity for this object.
    • toCPQ

      public CPQ toCPQ()
      Description copied from class: EdgeGraphData
      Converts this edge graph data object to an actual CPQ representing it.
      Specified by:
      toCPQ in class EdgeGraphData
      Returns:
      A CPQ for this edge graph data object.
      See Also: