Class GeospatialConverter
- java.lang.Object
-
- com.databricks.jdbc.api.impl.converters.GeospatialConverter
-
- All Implemented Interfaces:
ObjectConverter
public class GeospatialConverter extends Object implements ObjectConverter
-
-
Field Summary
-
Fields inherited from interface com.databricks.jdbc.api.impl.converters.ObjectConverter
DEFAULT_TIMESTAMP_SCALE, POWERS_OF_TEN
-
-
Constructor Summary
Constructors Constructor Description GeospatialConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]toByteArray(Object object)DatabricksGeographytoDatabricksGeography(Object object)DatabricksGeometrytoDatabricksGeometry(Object object)StringtoString(Object object)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.databricks.jdbc.api.impl.converters.ObjectConverter
toAsciiStream, toBigDecimal, toBigDecimal, toBigInteger, toBinaryStream, toBoolean, toByte, toChar, toCharacterStream, toDatabricksArray, toDatabricksMap, toDatabricksStruct, toDate, toDouble, toFloat, toInt, toLocalDate, toLong, toShort, toTime, toTimestamp, toTimestamp, toUnicodeStream
-
-
-
-
Method Detail
-
toDatabricksGeometry
public DatabricksGeometry toDatabricksGeometry(Object object) throws DatabricksSQLException
- Specified by:
toDatabricksGeometryin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toDatabricksGeography
public DatabricksGeography toDatabricksGeography(Object object) throws DatabricksSQLException
- Specified by:
toDatabricksGeographyin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toString
public String toString(Object object) throws DatabricksSQLException
- Specified by:
toStringin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toByteArray
public byte[] toByteArray(Object object) throws DatabricksSQLException
- Specified by:
toByteArrayin interfaceObjectConverter- Throws:
DatabricksSQLException
-
-