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.
|
static GraphFilter |
createFromFilterExpressionConfig(FilterExpressionConfig filterConfig) |
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.
|
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 static GraphFilter createFromFilterExpressionConfig(FilterExpressionConfig filterConfig)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final FilterType getType()
public boolean hasExpression()
public int hashCode()
hashCode
in class java.lang.Object
public final FilterIntersection intersect(GraphFilter other)
other
- the other graph-filterpublic boolean isBinaryOperation()
public final FilterUnion union(GraphFilter other)
other
- the other graph-filterCopyright © 2017 Oracle Corp. All Rights Reserved.