All Superinterfaces:
Schema.Node
Enclosing interface:
Schema

public static interface Schema.Field extends Schema.Node
Field Definition.
  • Method Details

    • getType

      Returns the field type.
      Returns:
      the field type
    • getScale

      int getScale()
      Returns the scale of a decimal field or 0 for other types.

      The scale represents the number of places to the right of the decimal point in a decimal number.

      Returns:
      the scale of a decimal field