GraphFilter is used by
implementations to prune the source graph data being loaded into the OLAP system.
There are two types of filters: a
filter and an
The vertex filter is a
that can only check the id, label, and properties of the vertex.
The edge filter is a
that starts at the vertex are emits all legal incident edges.
If no vertex filter is provided, then no vertices are filtered. If no edge filter is provided, then no edges are filtered.
The use of a GraphFilter can greatly reduce the amount of data processed by the
For instance, for
, there is no reason to load edges, and thus, the edge filter can be