Package net.snowflake.client.core
Class JsonSqlOutput
- java.lang.Object
-
- net.snowflake.client.core.JsonSqlOutput
-
- All Implemented Interfaces:
SQLOutput
@SnowflakeJdbcInternalApi public class JsonSqlOutput extends Object implements SQLOutput
-
-
Constructor Summary
Constructors Constructor Description JsonSqlOutput(SQLData original, SFBaseSession sfBaseSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.minidev.json.JSONObjectgetJsonObject()StringgetJsonString()BindingParameterMetadatagetSchema()voidwriteArray(Array x)voidwriteAsciiStream(InputStream x)voidwriteBigDecimal(BigDecimal value)voidwriteBinaryStream(InputStream x)voidwriteBlob(Blob x)voidwriteBoolean(boolean value)voidwriteByte(byte value)voidwriteBytes(byte[] value)voidwriteCharacterStream(Reader x)voidwriteClob(Clob x)voidwriteDate(Date value)voidwriteDouble(double value)voidwriteFloat(float value)voidwriteInt(int input)voidwriteLong(long value)voidwriteNClob(NClob x)voidwriteNString(String x)voidwriteObject(SQLData sqlData)voidwriteRef(Ref x)voidwriteRowId(RowId x)voidwriteShort(short value)voidwriteSQLXML(SQLXML x)voidwriteString(String value)voidwriteStruct(Struct x)voidwriteTime(Time x)voidwriteTimestamp(Timestamp value)voidwriteURL(URL x)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.SQLOutput
writeObject
-
-
-
-
Constructor Detail
-
JsonSqlOutput
public JsonSqlOutput(SQLData original, SFBaseSession sfBaseSession)
-
-
Method Detail
-
writeString
public void writeString(String value) throws SQLException
- Specified by:
writeStringin interfaceSQLOutput- Throws:
SQLException
-
writeBoolean
public void writeBoolean(boolean value) throws SQLException- Specified by:
writeBooleanin interfaceSQLOutput- Throws:
SQLException
-
writeByte
public void writeByte(byte value) throws SQLException- Specified by:
writeBytein interfaceSQLOutput- Throws:
SQLException
-
writeShort
public void writeShort(short value) throws SQLException- Specified by:
writeShortin interfaceSQLOutput- Throws:
SQLException
-
writeInt
public void writeInt(int input) throws SQLException- Specified by:
writeIntin interfaceSQLOutput- Throws:
SQLException
-
writeLong
public void writeLong(long value) throws SQLException- Specified by:
writeLongin interfaceSQLOutput- Throws:
SQLException
-
writeFloat
public void writeFloat(float value) throws SQLException- Specified by:
writeFloatin interfaceSQLOutput- Throws:
SQLException
-
writeDouble
public void writeDouble(double value) throws SQLException- Specified by:
writeDoublein interfaceSQLOutput- Throws:
SQLException
-
writeBigDecimal
public void writeBigDecimal(BigDecimal value) throws SQLException
- Specified by:
writeBigDecimalin interfaceSQLOutput- Throws:
SQLException
-
writeBytes
public void writeBytes(byte[] value) throws SQLException- Specified by:
writeBytesin interfaceSQLOutput- Throws:
SQLException
-
writeDate
public void writeDate(Date value) throws SQLException
- Specified by:
writeDatein interfaceSQLOutput- Throws:
SQLException
-
writeTime
public void writeTime(Time x) throws SQLException
- Specified by:
writeTimein interfaceSQLOutput- Throws:
SQLException
-
writeTimestamp
public void writeTimestamp(Timestamp value) throws SQLException
- Specified by:
writeTimestampin interfaceSQLOutput- Throws:
SQLException
-
writeCharacterStream
public void writeCharacterStream(Reader x) throws SQLException
- Specified by:
writeCharacterStreamin interfaceSQLOutput- Throws:
SQLException
-
writeAsciiStream
public void writeAsciiStream(InputStream x) throws SQLException
- Specified by:
writeAsciiStreamin interfaceSQLOutput- Throws:
SQLException
-
writeBinaryStream
public void writeBinaryStream(InputStream x) throws SQLException
- Specified by:
writeBinaryStreamin interfaceSQLOutput- Throws:
SQLException
-
writeObject
public void writeObject(SQLData sqlData) throws SQLException
- Specified by:
writeObjectin interfaceSQLOutput- Throws:
SQLException
-
writeRef
public void writeRef(Ref x) throws SQLException
- Specified by:
writeRefin interfaceSQLOutput- Throws:
SQLException
-
writeBlob
public void writeBlob(Blob x) throws SQLException
- Specified by:
writeBlobin interfaceSQLOutput- Throws:
SQLException
-
writeClob
public void writeClob(Clob x) throws SQLException
- Specified by:
writeClobin interfaceSQLOutput- Throws:
SQLException
-
writeStruct
public void writeStruct(Struct x) throws SQLException
- Specified by:
writeStructin interfaceSQLOutput- Throws:
SQLException
-
writeArray
public void writeArray(Array x) throws SQLException
- Specified by:
writeArrayin interfaceSQLOutput- Throws:
SQLException
-
writeURL
public void writeURL(URL x) throws SQLException
- Specified by:
writeURLin interfaceSQLOutput- Throws:
SQLException
-
writeNString
public void writeNString(String x) throws SQLException
- Specified by:
writeNStringin interfaceSQLOutput- Throws:
SQLException
-
writeNClob
public void writeNClob(NClob x) throws SQLException
- Specified by:
writeNClobin interfaceSQLOutput- Throws:
SQLException
-
writeRowId
public void writeRowId(RowId x) throws SQLException
- Specified by:
writeRowIdin interfaceSQLOutput- Throws:
SQLException
-
writeSQLXML
public void writeSQLXML(SQLXML x) throws SQLException
- Specified by:
writeSQLXMLin interfaceSQLOutput- Throws:
SQLException
-
getJsonString
public String getJsonString()
-
getJsonObject
public net.minidev.json.JSONObject getJsonObject()
-
getSchema
public BindingParameterMetadata getSchema()
-
-