Class Value.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder<Value>
    Enclosing class:
    Value

    public static class Value.Builder
    extends org.apache.avro.specific.SpecificRecordBuilderBase<Value>
    implements org.apache.avro.data.RecordBuilder<Value>
    RecordBuilder for Value instances.
    • Method Detail

      • getValue

        public CharSequence getValue()
        Gets the value of the 'value' field.
        Returns:
        The value.
      • setValue

        public Value.Builder setValue​(CharSequence value)
        Sets the value of the 'value' field.
        Parameters:
        value - The value of 'value'.
        Returns:
        This builder.
      • hasValue

        public boolean hasValue()
        Checks whether the 'value' field has been set.
        Returns:
        True if the 'value' field has been set, false otherwise.
      • clearValue

        public Value.Builder clearValue()
        Clears the value of the 'value' field.
        Returns:
        This builder.
      • build

        public Value build()
        Specified by:
        build in interface org.apache.avro.data.RecordBuilder<Value>