Class Types.FixedCharType

java.lang.Object
org.apache.gravitino.rel.types.Type.PrimitiveType
org.apache.gravitino.rel.types.Types.FixedCharType
All Implemented Interfaces:
Type
Enclosing class:
Types

public static class Types.FixedCharType extends Type.PrimitiveType
The fixed char type in Gravitino.
  • Method Details

    • of

      public static Types.FixedCharType of(int length)
      Parameters:
      length - The length of the fixed char type.
      Returns:
      An Types.FixedCharType with the given length.
    • name

      public Type.Name name()
      Returns:
      The generic name of the type.
    • length

      public int length()
      Returns:
      The length of the fixed char type.
    • simpleString

      public String simpleString()
      Returns:
      A readable string representation for the type.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object