Class DocumentFieldNode

    • Field Detail

      • classId

        public static final int classId
    • Constructor Detail

      • DocumentFieldNode

        public DocumentFieldNode()
        Constructs an empty result node. NOTE: This instance is broken until non-optional member data is set.
      • DocumentFieldNode

        public DocumentFieldNode​(String fieldName)
        Constructs an instance of this class with given field name.
        Parameters:
        fieldName - The field whose value to retrieve.
    • Method Detail

      • getDocumentFieldName

        public String getDocumentFieldName()
        Returns the name of the field whose value to retrieve.
        Returns:
        The field name.
      • setDocumentFieldName

        public DocumentFieldNode setDocumentFieldName​(String fieldName)
        Sets the name of the field whose value to retrieve.
        Parameters:
        fieldName - The field name to set.
        Returns:
        This, to allow chaining.
      • onSerialize

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

        protected void onDeserialize​(com.yahoo.vespa.objects.Deserializer buf)
        Overrides:
        onDeserialize in class ExpressionNode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.yahoo.vespa.objects.Identifiable
      • visitMembers

        public void visitMembers​(com.yahoo.vespa.objects.ObjectVisitor visitor)
        Overrides:
        visitMembers in class ExpressionNode