Package org.apache.gravitino.rel.types
Class Types.StructType
java.lang.Object
org.apache.gravitino.rel.types.Type.ComplexType
org.apache.gravitino.rel.types.Types.StructType
- All Implemented Interfaces:
Type
- Enclosing class:
- Types
The struct type in Gravitino.
-
Nested Class Summary
Nested ClassesNested 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 TypeMethodDescriptionbooleanfields()inthashCode()name()static Types.StructTypeof(Types.StructType.Field... fields)
-
Method Details
-
of
- Parameters:
fields- The fields of the struct type.- Returns:
- An
Types.StructTypewith the given fields.
-
fields
- Returns:
- The fields of the struct type.
-
name
- Returns:
- The generic name of the type.
-
simpleString
- Returns:
- A readable string representation for the type.
-
equals
-
hashCode
public int hashCode()
-