Class LinearScanPrimitiveSimilarityRangeByObject<O>

  • Type Parameters:
    O - relation object type
    All Implemented Interfaces:
    LinearScanQuery, RangeSearcher<O>

    public class LinearScanPrimitiveSimilarityRangeByObject<O>
    extends java.lang.Object
    implements RangeSearcher<O>, LinearScanQuery
    Default linear scan range query class.

    Subtle optimization: for primitive similarities, retrieve the query object only once from the relation.

    Since:
    0.7.5
    Author:
    Erich Schubert
    • Constructor Detail

      • LinearScanPrimitiveSimilarityRangeByObject

        public LinearScanPrimitiveSimilarityRangeByObject​(PrimitiveSimilarityQuery<O> similarityQuery)
        Constructor.
        Parameters:
        similarityQuery - Similarity function to use