Package com.yahoo.searchlib.expression
Class IntegerResultNodeVector
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.IntegerResultNodeVector
- All Implemented Interfaces:
Cloneable
,Comparable<ResultNode>
This result holds nothing.
- Author:
- baldersheim, Simon Thoresen Hult
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(ResultNode r) protected int
onCmp
(ResultNode rhs) This method must be implemented by all subclasses of this to allow ordering of results.protected void
onDeserialize
(com.yahoo.vespa.objects.Deserializer buf) protected int
protected void
onSerialize
(com.yahoo.vespa.objects.Serializer buf) int
size()
Methods inherited from class com.yahoo.searchlib.expression.ResultNodeVector
getFloat, getInteger, getRaw, getString, set
Methods inherited from class com.yahoo.searchlib.expression.ResultNode
compareTo, equals, negate
Methods inherited from class com.yahoo.vespa.objects.Identifiable
clone, create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, hashCode, putUtf8, registerClass, serialize, serializeOptional, serializeWithId, toString, visitMembers
Methods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Field Details
-
classId
public static final int classId
-
-
Constructor Details
-
IntegerResultNodeVector
public IntegerResultNodeVector()
-
-
Method Details
-
add
-
getVector
-
add
- Specified by:
add
in classResultNodeVector
-
size
public int size()- Specified by:
size
in classResultNodeVector
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassId
in classResultNodeVector
-
onSerialize
protected void onSerialize(com.yahoo.vespa.objects.Serializer buf) - Overrides:
onSerialize
in classcom.yahoo.vespa.objects.Identifiable
-
onDeserialize
protected void onDeserialize(com.yahoo.vespa.objects.Deserializer buf) - Overrides:
onDeserialize
in classcom.yahoo.vespa.objects.Identifiable
-
onCmp
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 theCloneable
implementation.- Specified by:
onCmp
in classResultNode
- Parameters:
rhs
- The other node to compare with.- Returns:
- Comparable result.
-