Class Types.FixedType

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

public static class Types.FixedType extends Type.PrimitiveType
Fixed-length byte array type, if you want to use variable-length byte array, use Types.BinaryType instead.
  • Method Details

    • of

      public static Types.FixedType of(int length)
      Parameters:
      length - The length of the fixed type.
      Returns:
      An Types.FixedType 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 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