public class GeometryIndexProvider extends AbstractFeatureIndexProvider
AbstractFeatureIndexProvider.LongList| Constructor and Description |
|---|
GeometryIndexProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all indexed data.
|
void |
delete(java.lang.Object value,
FeatureReferenceProviderServices fref)
Deletes a value from the index, given its reference
|
protected Envelope |
getEnvelope(java.lang.Object value) |
void |
initialize()
Initializes this provider
|
void |
insert(java.lang.Object value,
FeatureReferenceProviderServices fref)
Inserts a value into the index
|
boolean |
isMatchSupported()
Returns true if the provider supports the match function
|
boolean |
isNearestSupported()
Returns true if the provider supports the nearest function
|
boolean |
isNearestToleranceSupported()
Returns true if the provider supports the nearest with tolerance function
|
boolean |
isRangeSupported()
Returns true if the provider supports the range function
|
java.util.List |
match(java.lang.Object value)
Performs a search in the index and returns a list with all the values that match the given value
|
java.util.List |
nearest(int count,
java.lang.Object value)
Performs a search in the index and returns the list of up to n values which are nearest to the given value.
|
java.util.List |
nearest(int count,
java.lang.Object value,
java.lang.Object tolerance)
Performs a search in the index and returns the list of up to n values which are nearest to the given value and within the distance specified by tolerance.
|
java.util.List |
range(java.lang.Object value1,
java.lang.Object value2)
Performs a search in the index and returns a list with the values that intersect with the given interval
|
allowNulls, getFeatureIndexProviderServices, setFeatureIndexProviderServicespublic void initialize()
FeatureIndexProviderinitialize in interface FeatureIndexProviderinitialize in class AbstractFeatureIndexProviderprotected Envelope getEnvelope(java.lang.Object value)
public void insert(java.lang.Object value,
FeatureReferenceProviderServices fref)
FeatureIndexProviderpublic void delete(java.lang.Object value,
FeatureReferenceProviderServices fref)
FeatureIndexProviderpublic java.util.List match(java.lang.Object value)
throws FeatureIndexException
FeatureIndexProviderFeatureIndexException - TODOpublic java.util.List nearest(int count,
java.lang.Object value)
FeatureIndexProviderpublic boolean isMatchSupported()
FeatureIndexProviderpublic boolean isNearestSupported()
FeatureIndexProviderpublic boolean isNearestToleranceSupported()
FeatureIndexProviderpublic boolean isRangeSupported()
FeatureIndexProviderpublic java.util.List nearest(int count,
java.lang.Object value,
java.lang.Object tolerance)
throws FeatureIndexException
FeatureIndexProviderFeatureIndexExceptionpublic java.util.List range(java.lang.Object value1,
java.lang.Object value2)
throws FeatureIndexException
FeatureIndexProviderFeatureIndexException - TODOpublic void clear()
throws DataException
FeatureIndexProviderDataException - if there is an error clearing the index