Class LeanHit

  • All Implemented Interfaces:
    java.lang.Comparable<LeanHit>

    public class LeanHit
    extends java.lang.Object
    implements java.lang.Comparable<LeanHit>
    • Constructor Detail

      • LeanHit

        public LeanHit​(byte[] gid,
                       int partId,
                       int distributionKey,
                       double relevance)
      • LeanHit

        public LeanHit​(byte[] gid,
                       int partId,
                       int distributionKey,
                       double relevance,
                       byte[] sortData)
    • Method Detail

      • getRelevance

        public double getRelevance()
      • getGid

        public byte[] getGid()
      • getSortData

        public byte[] getSortData()
      • hasSortData

        public boolean hasSortData()
      • getPartId

        public int getPartId()
      • getDistributionKey

        public int getDistributionKey()
      • compareTo

        public int compareTo​(LeanHit o)
        Specified by:
        compareTo in interface java.lang.Comparable<LeanHit>