Package org.apache.iceberg.types
Class Type.PrimitiveType
- java.lang.Object
-
- org.apache.iceberg.types.Type.PrimitiveType
-
- All Implemented Interfaces:
java.io.Serializable
,Type
- Direct Known Subclasses:
Types.BinaryType
,Types.BooleanType
,Types.DateType
,Types.DecimalType
,Types.DoubleType
,Types.FixedType
,Types.FloatType
,Types.IntegerType
,Types.LongType
,Types.StringType
,Types.TimestampNanoType
,Types.TimestampType
,Types.TimeType
,Types.UUIDType
- Enclosing interface:
- Type
public abstract static class Type.PrimitiveType extends java.lang.Object implements Type
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.types.Type
Type.NestedType, Type.PrimitiveType, Type.TypeID
-
-
Constructor Summary
Constructors Constructor Description PrimitiveType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type.PrimitiveType
asPrimitiveType()
boolean
equals(java.lang.Object o)
int
hashCode()
boolean
isPrimitiveType()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.types.Type
asListType, asMapType, asNestedType, asStructType, isListType, isMapType, isNestedType, isStructType, typeId
-
-
-
-
Method Detail
-
isPrimitiveType
public boolean isPrimitiveType()
- Specified by:
isPrimitiveType
in interfaceType
-
asPrimitiveType
public Type.PrimitiveType asPrimitiveType()
- Specified by:
asPrimitiveType
in interfaceType
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-