
O - Data type.public static class LatLngAsECEFIndex.Factory<O extends NumberVector<?>> extends ProjectedIndex.Factory<O,O>
| Modifier and Type | Class and Description |
|---|---|
static class |
LatLngAsECEFIndex.Factory.Parameterizer<O extends NumberVector<?>>
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
norefine
Disable refinement of distances.
|
inner, kmulti, materialize, proj| Constructor and Description |
|---|
LatLngAsECEFIndex.Factory(IndexFactory<O,?> inner,
boolean materialize,
boolean norefine,
EarthModel model)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectedIndex<O,O> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getInputTypeRestrictionpublic LatLngAsECEFIndex.Factory(IndexFactory<O,?> inner, boolean materialize, boolean norefine, EarthModel model)
inner - Inner indexmaterialize - Flag to materialize the projectionnorefine - Flag to disable refinement of distancesmodel - Earth modelpublic ProjectedIndex<O,O> instantiate(Relation<O> relation)
IndexFactoryinstantiate in interface IndexFactory<O extends NumberVector<?>,ProjectedIndex<O extends NumberVector<?>,O extends NumberVector<?>>>instantiate in class ProjectedIndex.Factory<O extends NumberVector<?>,O extends NumberVector<?>>relation - the relation to index