Package | Description |
---|---|
messif.objects.util |
Various utilities for working with collections of objects.
|
messif.operations |
Generic classes for data manipulatioin and querying operations.
|
messif.operations.query |
Implementation of data querying operations.
|
Modifier and Type | Method and Description |
---|---|
RankedAbstractObject |
RankedSortedCollection.add(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Add a distance-ranked object to this collection.
|
RankedAbstractObject |
RankedSortedDistFunctionCollection.add(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Add a distance-ranked object to this collection.
|
RankedAbstractObject |
RankedSortedDistFunctionMultiCollection.add(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Add a distance-ranked object to this collection.
|
protected RankedAbstractObject |
RankedSortedCollection.rankObject(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Internal method that creates a distance-ranked object for adding to this collection.
|
Modifier and Type | Method and Description |
---|---|
AnswerType |
QueryOperation.getAnswerType()
Returns the type of objects this operation stores in its answer.
|
static AnswerType |
AnswerType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnswerType[] |
AnswerType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryOperation.setAnswerType(AnswerType answerType)
Set the type of objects this operation stores in its answer.
|
Constructor and Description |
---|
ListingQueryOperation(AnswerType answerType)
Creates a new instance of ListingQueryOperation.
|
ListingQueryOperation(AnswerType answerType,
java.util.List<AbstractObject> answer)
Creates a new instance of ListingQueryOperation.
|
QueryOperation(AnswerType answerType)
Creates a new instance of QueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType,
RankedSortedCollection answerCollection)
Creates a new instance of RankingMultiQueryOperation.
|
RankingQueryOperation(AnswerType answerType)
Creates a new instance of RankingQueryOperation.
|
RankingQueryOperation(AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RankingQueryOperation.
|
RankingQueryOperation(AnswerType answerType,
RankedSortedCollection answerCollection)
Creates a new instance of RankingQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
boolean storeMetaDistances)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
int maxAnswerSize,
boolean storeMetaDistances)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
RankedSortedCollection answerCollection,
boolean storeMetaDistances)
Creates a new instance of RankingSingleQueryOperation.
|
SingletonQueryOperation(AnswerType answerType)
Creates a new instance of ListingQueryOperation.
|
Constructor and Description |
---|
AggregationFunctionQueryOperation(LocalAbstractObject queryObject,
int k,
AggregationFunction aggregationFunction,
AnswerType answerType,
boolean storeMetaDistances)
Creates a new instance of AggregationFunctionQueryOperation.
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType)
Creates a new instance of ApproxkNNQueryOperation for a given query object and maximal number of objects to return.
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxKNNQueryOperation for a given query object,
maximal number of objects to return and parameters that control the approximation.
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
boolean storeMetaDistances,
AnswerType answerType,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxKNNQueryOperation for a given query object,
maximal number of objects to return and parameters that control the approximation.
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
boolean storeMetaDistances,
AnswerType answerType,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed,
RankedSortedCollection answerCollection)
Creates a new instance of ApproxKNNQueryOperation for a given query object,
maximal number of objects to return and parameters that control the approximation.
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r,
AnswerType answerType)
Creates a new instance of ApproxRangeQueryOperation for a given query object and radius.
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r,
AnswerType answerType,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxRangeQueryOperation for a given query object,
radius and parameters that control the approximation.
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r,
int maxAnswerSize,
AnswerType answerType,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxRangeQueryOperation for a given query object,
radius and parameters that control the approximation.
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r,
int maxAnswerSize,
AnswerType answerType,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed,
RankedSortedCollection answerCollection)
Creates a new instance of ApproxRangeQueryOperation for a given query object,
radius and parameters that control the approximation.
|
BatchKNNQueryOperation(StreamGenericAbstractObjectIterator queryObjects,
int k,
AnswerType answerType)
Creates a list of
KNNQueryOperation for all specified query objects. |
BatchKNNQueryOperation(StreamGenericAbstractObjectIterator queryObjects,
int maxNQueries,
int k,
AnswerType answerType)
Creates a list of
KNNQueryOperation for all specified query objects. |
GetAllObjectsQueryOperation(AnswerType answerType)
Creates a new instance of GetAllObjectsQuery.
|
GetObjectByLocatorOperation(java.lang.String locator,
AnswerType answerType)
Creates a new instance of GetObjectByLocatorOperation for a specified locator.
|
GetObjectByLocatorOperation(java.lang.String locator,
AnswerType answerType,
java.util.Map<java.lang.String,java.io.Serializable> params)
Creates a new instance of GetObjectByLocatorOperation for a specified locator.
|
GetObjectsByLocatorPrefixOperation(java.lang.String locatorPrefix,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType)
Create a new instance of GetObjectsByLocatorPrefixOperation with the specified locator prefix.
|
GetObjectsByLocatorPrefixOperation(java.lang.String locatorPrefix,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType,
int maxAnswerSize)
Create a new instance of GetObjectsByLocatorPrefixOperation with the specified locator prefix.
|
GetObjectsByLocatorsOperation(java.lang.Iterable<?> locators,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType)
Create a new instance of GetObjectsByLocatorsOperation with the specified locators.
|
GetObjectsByLocatorsOperation(java.lang.Iterable<?> locators,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType,
int maxAnswerSize)
Create a new instance of GetObjectsByLocatorsOperation with the specified locators.
|
GetObjectsByLocatorsOperation(LocalAbstractObject queryObjectForDistances,
AnswerType answerType)
Create a new instance of GetObjectsByLocatorsOperation with empty locators set.
|
GetObjectsByLocatorsOperation(LocalAbstractObject queryObjectForDistances,
AnswerType answerType,
int maxAnswerCount)
Create a new instance of GetObjectsByLocatorsOperation with empty locators set.
|
GetRandomObjectQueryOperation(AnswerType answerType)
Creates a new instance of GetRandomObjectQueryOperation.
|
GetRandomObjectsQueryOperation(int count,
AnswerType answerType)
Creates a new instance of GetRandomObjectsQueryOperation.
|
IncrementalNNQueryOperation(LocalAbstractObject queryObject,
int minNN,
AnswerType answerType)
Creates a new instance of IncrementalNNQueryOperation.
|
JoinQueryOperation(float mu,
boolean skipSymmetricPairs,
AnswerType answerType)
Creates a new instance of JoinQueryOperation for a given distance threshold and the flag whether symmetric pairs can be added or not.
|
JoinQueryOperation(float mu,
int k,
boolean skipSymmetricPairs,
AnswerType answerType)
Creates a new instance of JoinQueryOperation for a given distance threshold and maximal number of objects to return.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
boolean storedIndividualDistances,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
KNNQueryByLocatorOperation(java.lang.String queryLocator,
int k,
AnswerType answerType)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return.
|
KNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return.
|
KNNQueryOperation(LocalAbstractObject queryObject,
int k,
boolean storeMetaDistances,
AnswerType answerType)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return.
|
KNNQueryOperation(LocalAbstractObject queryObject,
int k,
boolean storeMetaDistances,
AnswerType answerType,
RankedSortedCollection answerCollection)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return.
|
PartitionedKNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType)
Creates a new instance of KNNQueryOperation given the query object, radius and specifying the answer type.
|
RangeJoinQueryOperation(float mu,
int k,
boolean skipSymmetricPairs,
AnswerType answerType,
Algorithm alg,
int parallelQueries,
java.lang.Class<RankingQueryOperation> queryCls,
java.lang.String... queryParams)
Creates an instance of range join query.
|
RangeJoinQueryOperation(float mu,
int k,
boolean skipSymmetricPairs,
AnswerType answerType,
int parallelQueries,
java.lang.Class<RankingQueryOperation> queryCls,
java.lang.String... queryParams)
Creates an instance of range join query.
|
RangeJoinQueryOperation(float mu,
int k,
boolean skipSymmetricPairs,
AnswerType answerType,
java.lang.String host,
int port,
int parallelQueries,
java.lang.Class<RankingQueryOperation> queryCls,
java.lang.String... queryParams)
Creates an instance of range join query.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
boolean storedIndividualDistances,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType)
Creates a new instance of RangeQueryOperation for a given query object and radius.
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType,
boolean storeMetaDistances)
Creates a new instance of RangeQueryOperation for a given query object and radius.
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RangeQueryOperation for a given query object, radius and maximal number of objects to return.
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType,
int maxAnswerSize,
boolean storeMetaDistances)
Creates a new instance of RangeQueryOperation for a given query object, radius and maximal number of objects to return.
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType,
int maxAnswerSize,
boolean storeMetaDistances,
RankedSortedCollection answerCollection)
Creates a new instance of RangeQueryOperation for a given query object, radius and maximal number of objects to return.
|