Package | Description |
---|---|
messif.algorithms.impl |
Implementation of basic search algorithms.
|
messif.buckets |
Storage classes capable of holding
objects . |
messif.buckets.index |
Bucket indexes for improved access.
|
messif.netbucket |
Networked objects and buckets.
|
messif.netbucket.replication |
Replication support for remote buckets.
|
messif.objects |
Metric data objects.
|
messif.objects.extraction |
Support for
object extraction. |
messif.objects.impl |
Implementation of basic data objects.
|
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.
|
messif.pivotselection |
Support for selection of representative objects (pivots).
|
Constructor and Description |
---|
SequentialScan(java.lang.Class<? extends LocalBucket> bucketClass,
AbstractObjectIterator<LocalAbstractObject> pivotIter,
int pivotCount,
boolean pivotDistsValidIfGiven)
Creates a new instance of SequantialScan access structure with specific bucket class and filtering pivots.
|
SequentialScan(java.lang.Class<? extends LocalBucket> bucketClass,
java.util.Map<java.lang.String,java.lang.Object> bucketClassParams,
AbstractObjectIterator<LocalAbstractObject> pivotIter,
int pivotCount,
boolean pivotDistsValidIfGiven)
Creates a new instance of SequantialScan access structure with specific bucket class and filtering pivots.
|
SequentialScan(LocalBucket bucket,
AbstractObjectIterator<LocalAbstractObject> pivotIter,
int pivotCount,
boolean pivotDistsValidIfGiven)
Creates a new instance of SequantialScan access structure with the given bucket and filtering pivots.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractObjectIterator<LocalAbstractObject> |
Bucket.getAllObjects()
Returns iterator over all objects from this bucket.
|
AbstractObjectIterator<LocalAbstractObject> |
LocalBucket.getAllObjects() |
AbstractObjectIterator<LocalAbstractObject> |
Bucket.provideObjects()
The iterator for provided objects for ObjectProvider interface.
|
Modifier and Type | Class and Description |
---|---|
class |
SearchAbstractObjectDualIterator<T extends LocalAbstractObject>
Provides a bridge between
Search and AbstractObjectIterator . |
class |
SearchAbstractObjectIterator<T extends LocalAbstractObject>
Provides a bridge between
Search and AbstractObjectIterator . |
Modifier and Type | Method and Description |
---|---|
AbstractObjectIterator<LocalAbstractObject> |
RemoteBucket.getAllObjects()
Returns iterator over all objects from the remote bucket.
|
Constructor and Description |
---|
BucketManipulationReplyMessage(BucketManipulationRequestMessage message,
AbstractObjectIterator<? extends LocalAbstractObject> objects)
Creates a new instance of BucketManipulationReplyMessage for getting
|
Modifier and Type | Method and Description |
---|---|
AbstractObjectIterator<LocalAbstractObject> |
ReplicationBucket.getAllObjects() |
AbstractObjectIterator<LocalAbstractObject> |
ReplicationBucket.provideObjects() |
Modifier and Type | Method and Description |
---|---|
AbstractObjectIterator<E> |
ObjectProvider.provideObjects()
Returns an iterator over the
provided objects. |
Modifier and Type | Class and Description |
---|---|
class |
ExtractorIterator<T extends LocalAbstractObject>
Iterator that provides objects by
Extractor . |
Modifier and Type | Method and Description |
---|---|
static byte[][] |
ObjectByteVector.getMinMaxForEveryCoord(AbstractObjectIterator<? extends ObjectByteVector> iterator)
Computes minimum and maximum values over every coordinate of vectors in the collection's
iterator.
|
static double[][] |
ObjectDoubleVector.getMinMaxForEveryCoord(AbstractObjectIterator<? extends ObjectDoubleVector> iterator)
Computes minimum and maximum values over every coordinate of vectors in the collection's
iterator.
|
static float[][] |
ObjectFloatVector.getMinMaxForEveryCoord(AbstractObjectIterator<? extends ObjectFloatVector> iterator)
Computes minimum and maximum values over every coordinate of vectors in the collection's
iterator.
|
static int[][] |
ObjectIntVector.getMinMaxForEveryCoord(AbstractObjectIterator<? extends ObjectIntVector> iterator)
Computes minimum and maximum values over every coordinate of vectors in the collection's
iterator.
|
static short[][] |
ObjectShortVector.getMinMaxForEveryCoord(AbstractObjectIterator<? extends ObjectShortVector> iterator)
Computes minimum and maximum values over every coordinate of vectors in the collection's
iterator.
|
static byte[] |
ObjectByteVector.getMinMaxOverCoords(AbstractObjectIterator<? extends ObjectByteVector> iterator)
Computes minimum and maximum values over all coordinates of vectors in the collection's
iterator.
|
static double[] |
ObjectDoubleVector.getMinMaxOverCoords(AbstractObjectIterator<? extends ObjectDoubleVector> iterator)
Computes minimum and maximum values over all coordinates of vectors in the collection's
iterator.
|
static float[] |
ObjectFloatVector.getMinMaxOverCoords(AbstractObjectIterator<? extends ObjectFloatVector> iterator)
Computes minimum and maximum values over all coordinates of vectors in the collection's
iterator.
|
static int[] |
ObjectIntVector.getMinMaxOverCoords(AbstractObjectIterator<? extends ObjectIntVector> iterator)
Computes minimum and maximum values over all coordinates of vectors in the collection's
iterator.
|
static short[] |
ObjectShortVector.getMinMaxOverCoords(AbstractObjectIterator<? extends ObjectShortVector> iterator)
Computes minimum and maximum values over all coordinates of vectors in the collection's
iterator.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStreamObjectIterator<E extends LocalAbstractObject>
This class represents an iterator on
LocalAbstractObject s that are read from a file. |
class |
IteratorToAbstractObjectIterator<E extends AbstractObject>
This class provides interface between standard Iterator over AbstractObjects and
the MESSIF
AbstractObjectIterator . |
class |
ObjectIteratorsIterator<E extends AbstractObject>
This class allows iterating over multiple Iterators.
|
class |
ObjectProvidersIterator<E extends AbstractObject>
This class allows iterating over multiple ObjectProviders.
|
class |
StreamGenericAbstractObjectIterator<E extends LocalAbstractObject>
This class represents an iterator on
LocalAbstractObject s that are read from a file. |
class |
StreamsMetaObjectMapIterator
This class is to contruct MetaObjects from several simultaneously opened files (subObjectIterators).
|
Modifier and Type | Field and Description |
---|---|
protected AbstractObjectIterator<? extends E> |
ObjectProvidersIterator.currentIterator
Iterator from current provider
|
Modifier and Type | Method and Description |
---|---|
static <T extends LocalAbstractObject> |
AbstractObjectIterator.emptyIterator()
Returns an iterator on a single object.
|
static <T extends LocalAbstractObject> |
AbstractObjectIterator.getIterator(java.util.Iterator<T> iterator)
Returns an AbstractObjectItator created over a standard iterator.
|
AbstractObjectIterator<E> |
AbstractObjectList.iterator()
Returns an iterator over the elements in this list in proper sequence.
|
AbstractObjectIterator<E> |
GenericMatchingObjectList.iterator()
Returns an iterator for all objects of all partitions of this list.
|
AbstractObjectIterator<E> |
GenericMatchingObjectList.iterator(int partId)
Returns an iterator for objects of the specified partition of this list.
|
AbstractObjectIterator<E> |
AbstractObjectIterator.provideObjects()
Returns an iterator over the
provided objects. |
AbstractObjectIterator<E> |
AbstractObjectList.provideObjects()
The iterator for provided objects for ObjectProvider interface.
|
AbstractObjectIterator<E> |
GenericMatchingObjectList.provideObjects() |
static <T extends LocalAbstractObject> |
AbstractObjectIterator.singleton(T object)
Returns an iterator on a single object.
|
AbstractObjectIterator<E> |
AbstractObjectIterator.skip(int cnt)
Skip the passed number of objects in the iterator.
|
Constructor and Description |
---|
GenericMatchingObjectList(AbstractObjectIterator<E> iterator)
Creates a new instance of MatchingObjectList filled with objects from the iterator.
|
GenericMatchingObjectList(AbstractObjectIterator<E> iterator,
int partId)
Creates a new instance of MatchingObjectList filled with objects from the iterator.
|
RankedSortedDistFunctionMultiCollection(DistanceFunctionMultiObject<? super T> rankingDistanceFunction,
AbstractObjectIterator<T> rankingObjects,
float originalDistanceWeight,
boolean rankInAdd,
int initialCapacity,
int maximalCapacity,
boolean dummyParam)
Constructs an empty collection with the specified initial and maximal capacity.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
QueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
static <T> java.util.Iterator<? extends T> |
QueryOperation.getQueryAnswer(AbstractObjectIterator<? extends LocalAbstractObject> objects,
java.lang.Class<? extends QueryOperation<? extends T>> operationClass,
java.lang.Object... arguments)
Execute query operation on the given objects iterator and return the answer.
|
Modifier and Type | Method and Description |
---|---|
int |
BatchKNNQueryOperation.evaluate(AbstractObjectIterator objects) |
int |
AggregationFunctionQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
GetAllObjectsQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
GetObjectByLocatorOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
GetObjectsByLocatorPrefixOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
GetObjectsByLocatorsOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
GetRandomObjectQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
GetRandomObjectsQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
IncrementalNNQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
JoinQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
KNNMultiQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
KNNQueryByLocatorOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
KNNQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
RangeMultiQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
RangeQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
QuantizeOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
RangeJoinQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this join query on a given set of objects.
|
int |
RangeJoinQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects,
Algorithm alg)
Evaluate this join query on a given set of objects and algorithm to run on.
|
int |
RangeJoinQueryOperation.evaluateInParallel(AbstractObjectIterator<? extends LocalAbstractObject> objects,
Algorithm alg,
int threads)
Evaluate this join query on a given set of objects.
|
int |
RangeJoinQueryOperation.evaluateSerially(AbstractObjectIterator<? extends LocalAbstractObject> objects,
Algorithm alg)
Evaluate this join query on a given set of objects.
|
Modifier and Type | Method and Description |
---|---|
AbstractObjectIterator<LocalAbstractObject> |
ClusterPivotChooser.Cluster.getAllObjects()
Returns all objects of this cluster as an iterator.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
This method carries out the actual pivot selection and must be implemented by
subclasses.
|
protected void |
ClusterPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator) |
protected void |
CoveragePivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator) |
protected void |
FilteredRandomPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
Method for selecting pivots and appending to the list of pivots.
|
protected void |
HierarchicalKMeansPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator) |
protected void |
IncrementalIDistanceChooser.selectPivot(int pivots,
AbstractObjectIterator<? extends LocalAbstractObject> objectIter)
Selects new pivots.
|
protected void |
IncrementalPivotChooser.selectPivot(int pivots,
AbstractObjectIterator<? extends LocalAbstractObject> objectIter)
Selects new pivots.
|
protected void |
KMeansPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
This method only uses the preselected pivots as initial pivots for k-means and rewrites the pivots completely
|
protected void |
OutlierPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator) |
protected void |
RandomPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
Method for selecting pivots and appending to the list of pivots.
|
protected void |
SimpleClusterPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator) |
protected void |
StreamSequencePivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
This method carries out the actual pivot selection, that is, read specified
number of objects from the stream.
|
protected void |
TwoDistantIncrementalPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
Select at least count pivots and
add them by
addPivot method. |