T - filter typepublic class Assessment<T,V> extends Object
SpatialRelation.DISJOINT with a 0 (zero) estimate means that there is no way the spatial object could
overlap with points in the data set. That implies that the user doesn't care
if the spatial object is filtered out or not from the final query
expression, since it will not contain any points anyway.SpatialRelation.DISJOINT with a positive estimate means that the spatial object is disjoint with the
query region, but the spatial object is estimated to contain estimate data set points. This gap size estimate is later used to decide
which consecutive ranges should be joined into one contiguous range, trying
to minimise the number of included points that are not useful to the user,
when there is a constraint on the number of ranges of the query expression
being created.SpatialRelation.COVERED with a non-null filter means that the spatial object's sub-space identified by
the filter is fully included in the query region, or that the user doesn't
want to zoom any deeper in the multidimensional space and that filtering of
unneeded points can be done later, outside the space filling framework.
Although the filter object is not allowed to be null, it will commonly
represent a no-op filtering.SpatialRelation.OVERLAPS means that the spatial object overlaps,
but is neither disjoint nor included in the query region, or that the user
can't figure out what's the exact relationship and wants to zoom into the
region.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
V |
getEstimate() |
T |
getFilter() |
SpatialRelation |
getOutcome() |
int |
hashCode() |
boolean |
isPotentialOverSelectivity() |
static <T,V> Assessment<T,V> |
makeCovered(T coverFilter,
boolean overSelectivityPossible,
V zero) |
static <T,V> Assessment<T,V> |
makeDisjoint(V gapEstimate) |
static <T,V> Assessment<T,V> |
makeOverlaps(V zero) |
String |
toString() |
public static <T,V> Assessment<T,V> makeDisjoint(V gapEstimate)
public static <T,V> Assessment<T,V> makeOverlaps(V zero)
public static <T,V> Assessment<T,V> makeCovered(T coverFilter, boolean overSelectivityPossible, V zero)
public SpatialRelation getOutcome()
public V getEstimate()
public T getFilter()
public boolean isPotentialOverSelectivity()
Copyright © 2014. All Rights Reserved.