Package org.apache.gravitino.rel.types
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
Fixed-length byte array type, if you want to use variable-length byte array, use
Types.BinaryType instead.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.rel.types.Type
Type.ComplexType, Type.DateTimeType, Type.FractionType, Type.IntegralType, Type.IntervalType, Type.Name, Type.NumericType, Type.PrimitiveType -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()intlength()name()static Types.FixedTypeof(int length)
-
Method Details
-
of
- Parameters:
length- The length of the fixed type.- Returns:
- An
Types.FixedTypewith the given length.
-
name
- Returns:
- The generic name of the type.
-
length
public int length()- Returns:
- The length of the fixed type.
-
simpleString
- Returns:
- A readable string representation for the type.
-
equals
-
hashCode
public int hashCode()
-