public abstract class GraphFilter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
BinaryGraphFilterOperation |
asBinaryGraphFilterOperation()
Gets this filter object as binary graph filter operation, if possible.
|
EdgeFilter |
asEdgeFilter()
Gets this filter object as edge filter, if possible.
|
GraphFilterWithExpression |
asGraphFilterWithExpression()
Gets this filter object as graph filter with expression, if possible.
|
VertexFilter |
asVertexFilter()
Gets this filter object as vertex filter, if possible.
|
boolean |
equals(java.lang.Object o) |
FilterType |
getType()
Gets the type of the filter.
|
boolean |
hasExpression()
Checks if this GraphFilter object has an expression associated with it.
|
int |
hashCode() |
FilterIntersection |
intersect(GraphFilter other)
Intersects this filter with another graph-filter object.
|
boolean |
isBinaryOperation()
Checks if this GraphFilter object represents is binary operation.
|
boolean |
isCollectionFilter()
Checks if the filter is using a collection
|
boolean |
isPathFindingFilter()
Checks if the filter is a path finding filter
|
boolean |
isResultSetFilter()
Checks if the filter is acting on a result set
|
FilterUnion |
union(GraphFilter other)
Unions this filter with another graph-filter object.
|
public BinaryGraphFilterOperation asBinaryGraphFilterOperation()
hasExpression() evaluates to true.public EdgeFilter asEdgeFilter()
getType() ==
FilterType.EDGEpublic GraphFilterWithExpression asGraphFilterWithExpression()
isBinaryOperation() evaluates to true.public VertexFilter asVertexFilter()
getType() ==
FilterType.VERTEXpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic final FilterType getType()
public boolean hasExpression()
public int hashCode()
hashCode in class java.lang.Objectpublic final FilterIntersection intersect(GraphFilter other)
other - the other graph-filterpublic boolean isBinaryOperation()
public boolean isCollectionFilter()
public boolean isPathFindingFilter()
public boolean isResultSetFilter()
public final FilterUnion union(GraphFilter other)
other - the other graph-filter