public class EdgeFilter extends GraphFilterWithExpression
Modifier and Type | Field and Description |
---|---|
static EdgeFilter |
ALL
Edge filter set equal to true for all edges.
|
static EdgeFilter |
NONE
Edge filter set equal to false for all edges.
|
Modifier and Type | Method and Description |
---|---|
EdgeFilter |
asEdgeFilter()
Gets this filter object as edge filter, if possible.
|
static EdgeFilter |
fromCollection(oracle.pgx.common.IdentifiableEdgeCollection edgeCollection)
Instantiates a new edge collection edge filter.
|
static EdgeFilter |
fromExpression(java.lang.String filterExpression)
Instantiates a new edge filter using an expression.
|
static EdgeFilter |
fromPgqlResultSet(oracle.pgx.common.IdentifiableResultSet resultSet, java.lang.String columnName)
Instantiates a new result set edge filter.
|
java.lang.String |
toString() |
asGraphFilterWithExpression, equals, fromTypeAndExpression, getFilterExpression, hasExpression, hashCode
asBinaryGraphFilterOperation, asVertexFilter, getType, intersect, isBinaryOperation, isCollectionFilter, isPathFindingFilter, isResultSetFilter, union
public static final EdgeFilter ALL
public static final EdgeFilter NONE
public EdgeFilter asEdgeFilter()
GraphFilter
GraphFilter.getType()
== FilterType.EDGEasEdgeFilter
in class GraphFilter
public static EdgeFilter fromCollection(oracle.pgx.common.IdentifiableEdgeCollection edgeCollection)
edgeCollection
- the collection on which the filter actspublic static EdgeFilter fromExpression(java.lang.String filterExpression)
filterExpression
- the edge-filter expressionpublic static EdgeFilter fromPgqlResultSet(oracle.pgx.common.IdentifiableResultSet resultSet, java.lang.String columnName)
resultSet
- the result set on which the filter actscolumnName
- the column name to be fetched from the result setpublic java.lang.String toString()
toString
in class java.lang.Object