Package oracle.pgx.api.filter
Class BinaryGraphFilterOperation
- java.lang.Object
-
- oracle.pgx.api.filter.GraphFilter
-
- oracle.pgx.api.filter.BinaryGraphFilterOperation
-
- Direct Known Subclasses:
FilterIntersection,FilterUnion
public abstract class BinaryGraphFilterOperation extends GraphFilter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryGraphFilterOperationasBinaryGraphFilterOperation()Gets this filter object as binary graph filter operation, if possible.booleanequals(java.lang.Object o)static GraphFilterfromTypeAndFilters(FilterType type, GraphFilter leftFilter, GraphFilter rightFilter)GraphFiltergetLeftFilter()Gets the filter object representing the left side of the operation.GraphFiltergetRightFilter()Gets the filter object representing the right side of the operation.inthashCode()booleanisBinaryOperation()Checks if this GraphFilter object represents is binary operation.java.lang.StringtoString()-
Methods inherited from class oracle.pgx.api.filter.GraphFilter
asEdgeFilter, asGraphFilterWithExpression, asVertexFilter, getType, hasExpression, intersect, isCollectionFilter, isPathFindingFilter, isResultSetFilter, union
-
-
-
-
Method Detail
-
getLeftFilter
public final GraphFilter getLeftFilter()
Gets the filter object representing the left side of the operation.- Returns:
- the left filter
-
getRightFilter
public final GraphFilter getRightFilter()
Gets the filter object representing the right side of the operation.- Returns:
- the right filter
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
asBinaryGraphFilterOperation
public final BinaryGraphFilterOperation asBinaryGraphFilterOperation()
Description copied from class:GraphFilterGets this filter object as binary graph filter operation, if possible. Save to call ifGraphFilter.hasExpression()evaluates to true.- Overrides:
asBinaryGraphFilterOperationin classGraphFilter- Returns:
- the binary graph filter operation
-
isBinaryOperation
public final boolean isBinaryOperation()
Description copied from class:GraphFilterChecks if this GraphFilter object represents is binary operation.- Overrides:
isBinaryOperationin classGraphFilter- Returns:
- true, if this GraphFilter object represents is binary operation
-
fromTypeAndFilters
public static GraphFilter fromTypeAndFilters(FilterType type, GraphFilter leftFilter, GraphFilter rightFilter)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classGraphFilter
-
hashCode
public int hashCode()
- Overrides:
hashCodein classGraphFilter
-
-