Class LogicalTypes.BigDecimal

java.lang.Object
org.apache.avro.LogicalType
org.apache.avro.LogicalTypes.BigDecimal
Enclosing class:
LogicalTypes

public static class LogicalTypes.BigDecimal extends LogicalType
  • Method Details

    • validate

      public void validate(Schema schema)
      Description copied from class: LogicalType
      Validate this logical type for the given Schema.

      This will throw an exception if the Schema is incompatible with this type. For example, a date is stored as an int and is incompatible with a fixed Schema.

      Overrides:
      validate in class LogicalType
      Parameters:
      schema - a Schema