public class GeoJsonHiveRecordInfoProvider extends java.lang.Object implements HiveRecordInfoProvider
Constructor and Description |
---|
GeoJsonHiveRecordInfoProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGeometry()
Gets the geometry of the current record or null if the record does not have spatial information.
|
int |
getSrid()
Returns the SRID.
|
void |
setCurrentRecord(java.lang.Object record)
Sets the record object.
|
public java.lang.String getGeometry()
HiveRecordInfoProvider
getGeometry
in interface HiveRecordInfoProvider
public int getSrid()
public void setCurrentRecord(java.lang.Object record) throws java.lang.Exception
HiveRecordInfoProvider
setCurrentRecord
in interface HiveRecordInfoProvider
record
- the record is a Hive table's field representing a geometry.java.lang.Exception
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.