Package com.yahoo.searchlib.expression
Class Int32ResultNodeVector
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.Int32ResultNodeVector
- All Implemented Interfaces:
Cloneable,Comparable<ResultNode>
This result holds nothing.
- Author:
- baldersheim, Simon Thoresen Hult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(ResultNode r) protected intonCmp(ResultNode rhs) This method must be implemented by all subclasses of this to allow ordering of results.protected voidonDeserialize(com.yahoo.vespa.objects.Deserializer buf) protected intprotected voidonSerialize(com.yahoo.vespa.objects.Serializer buf) intsize()Methods inherited from class com.yahoo.searchlib.expression.ResultNodeVector
getFloat, getInteger, getRaw, getString, setMethods inherited from class com.yahoo.searchlib.expression.ResultNode
compareTo, equals, negateMethods 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, visitMembersMethods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Field Details
-
classId
public static final int classId
-
-
Constructor Details
-
Int32ResultNodeVector
public Int32ResultNodeVector()
-
-
Method Details
-
add
-
getVector
-
add
- Specified by:
addin classResultNodeVector
-
size
public int size()- Specified by:
sizein classResultNodeVector
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassIdin classResultNodeVector
-
onSerialize
protected void onSerialize(com.yahoo.vespa.objects.Serializer buf) - Overrides:
onSerializein classcom.yahoo.vespa.objects.Identifiable
-
onDeserialize
protected void onDeserialize(com.yahoo.vespa.objects.Deserializer buf) - Overrides:
onDeserializein classcom.yahoo.vespa.objects.Identifiable
-
onCmp
Description copied from class:ResultNodeThis method must be implemented by all subclasses of this to allow ordering of results. This method is used by theCloneableimplementation.- Specified by:
onCmpin classResultNode- Parameters:
rhs- The other node to compare with.- Returns:
- Comparable result.
-