public class HiveGeometryOIHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canCreate(ObjectInspector oi) |
static HiveGeometryOIHelper |
create(ObjectInspector[] OIs,
int argIndex) |
static HiveGeometryOIHelper |
create(ObjectInspector oi,
int argIndex) |
com.esri.core.geometry.ogc.OGCGeometry |
getConstantGeometry()
Returns the cached constant geometry object.
|
com.esri.core.geometry.ogc.OGCGeometry |
getGeometry(GenericUDF.DeferredObject[] args)
Reads the corresponding geometry from the deferred object list
or returns the cached geometry if argument is constant.
|
com.esri.core.geometry.ogc.OGCPoint |
getPoint(GenericUDF.DeferredObject[] args)
Reads the corresponding geometry from the deferred object list
or returns the cached geometry if argument is constant.
|
boolean |
isConstant()
Gets whether this geometry argument is constant.
|
String |
toString() |
public static HiveGeometryOIHelper create(ObjectInspector[] OIs, int argIndex) throws UDFArgumentException
UDFArgumentExceptionpublic static HiveGeometryOIHelper create(ObjectInspector oi, int argIndex) throws UDFArgumentException
UDFArgumentExceptionpublic static boolean canCreate(ObjectInspector oi)
public boolean isConstant()
public com.esri.core.geometry.ogc.OGCGeometry getConstantGeometry()
public com.esri.core.geometry.ogc.OGCPoint getPoint(GenericUDF.DeferredObject[] args)
args - #getGeometry(DeferredObject[])public com.esri.core.geometry.ogc.OGCGeometry getGeometry(GenericUDF.DeferredObject[] args)
args - Copyright © 2022 The Apache Software Foundation. All rights reserved.