com.esri.hadoop.hive
public class HiveGeometryOIHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canCreate(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi) |
static HiveGeometryOIHelper |
create(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector[] OIs,
int argIndex) |
static HiveGeometryOIHelper |
create(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi,
int argIndex) |
com.esri.core.geometry.ogc.OGCGeometry |
getConstantGeometry()
Returns the cached constant geometry object.
|
com.esri.core.geometry.ogc.OGCGeometry |
getGeometry(org.apache.hadoop.hive.ql.udf.generic.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(org.apache.hadoop.hive.ql.udf.generic.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(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector[] OIs, int argIndex) throws org.apache.hadoop.hive.ql.exec.UDFArgumentException
org.apache.hadoop.hive.ql.exec.UDFArgumentExceptionpublic static HiveGeometryOIHelper create(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi, int argIndex) throws org.apache.hadoop.hive.ql.exec.UDFArgumentException
org.apache.hadoop.hive.ql.exec.UDFArgumentExceptionpublic static boolean canCreate(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi)
public boolean isConstant()
public com.esri.core.geometry.ogc.OGCGeometry getConstantGeometry()
public com.esri.core.geometry.ogc.OGCPoint getPoint(org.apache.hadoop.hive.ql.udf.generic.GenericUDF.DeferredObject[] args)
args - #getGeometry(DeferredObject[])public com.esri.core.geometry.ogc.OGCGeometry getGeometry(org.apache.hadoop.hive.ql.udf.generic.GenericUDF.DeferredObject[] args)
args - Copyright © 2014. All Rights Reserved.