Class LogicalTypesTest.Builder

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

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

      • getTimestamp

        public Instant getTimestamp()
        Gets the value of the 'timestamp' field.
        Returns:
        The value.
      • setTimestamp

        public LogicalTypesTest.Builder setTimestamp​(Instant value)
        Sets the value of the 'timestamp' field.
        Parameters:
        value - The value of 'timestamp'.
        Returns:
        This builder.
      • hasTimestamp

        public boolean hasTimestamp()
        Checks whether the 'timestamp' field has been set.
        Returns:
        True if the 'timestamp' field has been set, false otherwise.
      • clearTimestamp

        public LogicalTypesTest.Builder clearTimestamp()
        Clears the value of the 'timestamp' field.
        Returns:
        This builder.