Package org.apache.iceberg.types
Class Types.GeometryType
java.lang.Object
org.apache.iceberg.types.Type.PrimitiveType
org.apache.iceberg.types.Types.GeometryType
- All Implemented Interfaces:
Serializable,Type
- Enclosing class:
- Types
A geometry type, optionally parameterized by a CRS. The default CRS is
OGC:CRS84.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.types.Type
Type.NestedType, Type.PrimitiveType, Type.TypeID -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncrs()static Types.GeometryTypecrs84()booleanTwo geometry types are equal when their CRS match case-insensitively, soOGC:CRS84andogc:crs84are equal.inthashCode()static Types.GeometryTypetoString()typeId()Methods inherited from class org.apache.iceberg.types.Type.PrimitiveType
asPrimitiveType, isPrimitiveTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iceberg.types.Type
asListType, asMapType, asNestedType, asStructType, asVariantType, isListType, isMapType, isNestedType, isStructType, isVariantType
-
Field Details
-
DEFAULT_CRS
- See Also:
-
-
Method Details
-
crs84
-
of
-
typeId
-
crs
-
equals
Two geometry types are equal when their CRS match case-insensitively, soOGC:CRS84andogc:crs84are equal.- Overrides:
equalsin classType.PrimitiveType
-
hashCode
public int hashCode()- Overrides:
hashCodein classType.PrimitiveType
-
toString
-