
O - Outer object type.I - Inner object type.public static class ProjectedIndex.Factory<O,I> extends Object implements IndexFactory<O,ProjectedIndex<O,I>>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ProjectedIndex.Factory.Parameterizer<O,I>
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
(package private) IndexFactory<I,?> | 
inner
Inner index factory. 
 | 
(package private) double | 
kmulti
Multiplier for k. 
 | 
(package private) boolean | 
materialize
Whether to use a materialized view, or a virtual view. 
 | 
(package private) boolean | 
norefine
Disable refinement of distances. 
 | 
(package private) Projection<O,I> | 
proj
Projection to use. 
 | 
| Constructor and Description | 
|---|
ProjectedIndex.Factory(Projection<O,I> proj,
                      IndexFactory<I,?> inner,
                      boolean materialize,
                      boolean norefine,
                      double kmulti)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TypeInformation | 
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query. 
 | 
ProjectedIndex<O,I> | 
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing). 
 | 
Projection<O,I> proj
IndexFactory<I,?> inner
boolean materialize
boolean norefine
double kmulti
public ProjectedIndex.Factory(Projection<O,I> proj, IndexFactory<I,?> inner, boolean materialize, boolean norefine, double kmulti)
proj - Projectioninner - Inner indexmaterialize - Flag for materializingnorefine - Disable refinement of distanceskmulti - Multiplicator for k.public ProjectedIndex<O,I> instantiate(Relation<O> relation)
IndexFactoryinstantiate in interface IndexFactory<O,ProjectedIndex<O,I>>relation - the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactorygetInputTypeRestriction in interface IndexFactory<O,ProjectedIndex<O,I>>