Class GeometryStateFactory.SingleGeometryState
java.lang.Object
io.trino.plugin.geospatial.aggregation.GeometryStateFactory.SingleGeometryState
- All Implemented Interfaces:
GeometryState,AccumulatorState
- Enclosing class:
- GeometryStateFactory
public static class GeometryStateFactory.SingleGeometryState
extends Object
implements GeometryState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcom.esri.core.geometry.ogc.OGCGeometryvoidsetGeometry(com.esri.core.geometry.ogc.OGCGeometry geometry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.AccumulatorState
copy
-
Constructor Details
-
SingleGeometryState
public SingleGeometryState()
-
-
Method Details
-
getGeometry
public com.esri.core.geometry.ogc.OGCGeometry getGeometry()- Specified by:
getGeometryin interfaceGeometryState
-
setGeometry
public void setGeometry(com.esri.core.geometry.ogc.OGCGeometry geometry) - Specified by:
setGeometryin interfaceGeometryState
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-