Class RawBucketResultNodeVector

java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.searchlib.expression.ResultNode
com.yahoo.searchlib.expression.ResultNodeVector
com.yahoo.searchlib.expression.RawBucketResultNodeVector
All Implemented Interfaces:
Cloneable, Comparable<ResultNode>

public class RawBucketResultNodeVector extends ResultNodeVector
Author:
baldersheim
  • Field Details

    • classId

      public static final int classId
  • Constructor Details

    • RawBucketResultNodeVector

      public RawBucketResultNodeVector()
  • Method Details

    • onGetClassId

      protected int onGetClassId()
      Overrides:
      onGetClassId in class ResultNodeVector
    • add

    • add

      public ResultNodeVector add(ResultNode r)
      Specified by:
      add in class ResultNodeVector
    • size

      public int size()
      Specified by:
      size in class ResultNodeVector
    • getVector

      public ArrayList<RawBucketResultNode> getVector()
    • onSerialize

      protected void onSerialize(com.yahoo.vespa.objects.Serializer buf)
      Overrides:
      onSerialize in class com.yahoo.vespa.objects.Identifiable
    • onDeserialize

      protected void onDeserialize(com.yahoo.vespa.objects.Deserializer buf)
      Overrides:
      onDeserialize in class com.yahoo.vespa.objects.Identifiable
    • onCmp

      protected int onCmp(ResultNode rhs)
      Description copied from class: ResultNode
      This method must be implemented by all subclasses of this to allow ordering of results. This method is used by the Cloneable implementation.
      Specified by:
      onCmp in class ResultNode
      Parameters:
      rhs - The other node to compare with.
      Returns:
      Comparable result.