Class StringConverter
java.lang.Object
com.databricks.jdbc.api.impl.converters.StringConverter
- All Implemented Interfaces:
ObjectConverter
-
Field Summary
Fields inherited from interface com.databricks.jdbc.api.impl.converters.ObjectConverter
DEFAULT_TIMESTAMP_SCALE, POWERS_OF_TEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoBigDecimal(Object object) toBigInteger(Object object) booleanbytebyte[]toByteArray(Object object) chardoublefloatintlongshorttoTimestamp(Object object) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.databricks.jdbc.api.impl.converters.ObjectConverter
toAsciiStream, toBigDecimal, toBinaryStream, toCharacterStream, toDatabricksArray, toDatabricksMap, toDatabricksStruct, toLocalDate, toTime, toTimestamp, toUnicodeStream
-
Constructor Details
-
StringConverter
public StringConverter()
-
-
Method Details
-
toString
- Specified by:
toStringin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toByte
- Specified by:
toBytein interfaceObjectConverter- Throws:
DatabricksSQLException
-
toShort
- Specified by:
toShortin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toInt
- Specified by:
toIntin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toLong
- Specified by:
toLongin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toFloat
- Specified by:
toFloatin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toDouble
- Specified by:
toDoublein interfaceObjectConverter- Throws:
DatabricksSQLException
-
toBigDecimal
- Specified by:
toBigDecimalin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toBigInteger
- Specified by:
toBigIntegerin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toBoolean
- Specified by:
toBooleanin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toByteArray
- Specified by:
toByteArrayin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toChar
- Specified by:
toCharin interfaceObjectConverter- Throws:
DatabricksSQLException
-
toDate
- Specified by:
toDatein interfaceObjectConverter- Throws:
DatabricksSQLException
-
toTimestamp
- Specified by:
toTimestampin interfaceObjectConverter- Throws:
DatabricksSQLException
-