Class ByteArrayConverter
- java.lang.Object
-
- com.databricks.jdbc.api.impl.converters.ByteArrayConverter
-
- All Implemented Interfaces:
ObjectConverter
public class ByteArrayConverter 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 ByteArrayConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytetoByte(Object object)byte[]toByteArray(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, toChar, toCharacterStream, toDatabricksArray, toDatabricksMap, toDatabricksStruct, toDate, toDouble, toFloat, toInt, toLocalDate, toLong, toShort, toTime, toTimestamp, toTimestamp, toUnicodeStream
-
-
-
-
Method Detail
-
toByteArray
public byte[] toByteArray(Object object) throws DatabricksSQLException
- Specified by:
toByteArrayin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toByte
public byte toByte(Object object) throws DatabricksSQLException
- Specified by:
toBytein interfaceObjectConverter- Throws:
DatabricksSQLException
-
toString
public String toString(Object object) throws DatabricksSQLException
- Specified by:
toStringin interfaceObjectConverter- Throws:
DatabricksSQLException
-
-