Class EdgeFilter


  • public class EdgeFilter
    extends GraphFilterWithExpression
    A class that wraps a filter expression supposed to be evaluated on each edge of the graph
    • Field Detail

      • ALL

        public static final EdgeFilter ALL
        Edge filter set equal to true for all edges.
      • NONE

        public static final EdgeFilter NONE
        Edge filter set equal to false for all edges.
    • Method Detail

      • fromExpression

        public static EdgeFilter fromExpression​(java.lang.String filterExpression)
        Instantiates a new edge filter using an expression.
        Parameters:
        filterExpression - the edge-filter expression
        Returns:
        the new filter
        Since:
        20.0
      • fromPgqlResultSet

        public static EdgeFilter fromPgqlResultSet​(oracle.pgx.common.IdentifiableResultSet resultSet,
                                                   java.lang.String columnName)
        Instantiates a new result set edge filter.
        Parameters:
        resultSet - the result set on which the filter acts
        columnName - the column name to be fetched from the result set
        Returns:
        the new filter
        Since:
        20.0
      • fromCollection

        public static EdgeFilter fromCollection​(oracle.pgx.common.IdentifiableEdgeCollection edgeCollection)
        Instantiates a new edge collection edge filter.
        Parameters:
        edgeCollection - the collection on which the filter acts
        Returns:
        the new filter
        Since:
        20.0
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object