Package com.impossibl.postgres.jdbc
Class PGSQLOutput
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGSQLOutput
-
- All Implemented Interfaces:
java.sql.SQLOutput
public class PGSQLOutput extends java.lang.Object implements java.sql.SQLOutput
-
-
Constructor Summary
Constructors Constructor Description PGSQLOutput(Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type[]getAttributeTypes()java.lang.Object[]getAttributeValues()voidwriteArray(java.sql.Array x)voidwriteAsciiStream(java.io.InputStream x)voidwriteBigDecimal(java.math.BigDecimal x)voidwriteBinaryStream(java.io.InputStream x)voidwriteBlob(java.sql.Blob x)voidwriteBoolean(boolean x)voidwriteByte(byte x)voidwriteBytes(byte[] x)voidwriteCharacterStream(java.io.Reader x)voidwriteClob(java.sql.Clob x)voidwriteDate(java.sql.Date x)voidwriteDouble(double x)voidwriteFloat(float x)voidwriteInt(int x)voidwriteLong(long x)voidwriteNClob(java.sql.NClob x)voidwriteNString(java.lang.String x)voidwriteObject(java.lang.Object x, java.sql.SQLType targetSqlType)voidwriteObject(java.sql.SQLData x)voidwriteRef(java.sql.Ref x)voidwriteRowId(java.sql.RowId x)voidwriteShort(short x)voidwriteSQLXML(java.sql.SQLXML x)voidwriteString(java.lang.String x)voidwriteStruct(java.sql.Struct x)voidwriteTime(java.sql.Time x)voidwriteTimestamp(java.sql.Timestamp x)voidwriteURL(java.net.URL x)
-
-
-
Constructor Detail
-
PGSQLOutput
public PGSQLOutput(Context context)
-
-
Method Detail
-
getAttributeTypes
public Type[] getAttributeTypes()
-
getAttributeValues
public java.lang.Object[] getAttributeValues()
-
writeString
public void writeString(java.lang.String x) throws java.sql.SQLException- Specified by:
writeStringin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeBoolean
public void writeBoolean(boolean x) throws java.sql.SQLException- Specified by:
writeBooleanin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeByte
public void writeByte(byte x) throws java.sql.SQLException- Specified by:
writeBytein interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeShort
public void writeShort(short x) throws java.sql.SQLException- Specified by:
writeShortin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeInt
public void writeInt(int x) throws java.sql.SQLException- Specified by:
writeIntin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeLong
public void writeLong(long x) throws java.sql.SQLException- Specified by:
writeLongin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeFloat
public void writeFloat(float x) throws java.sql.SQLException- Specified by:
writeFloatin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeDouble
public void writeDouble(double x) throws java.sql.SQLException- Specified by:
writeDoublein interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeBigDecimal
public void writeBigDecimal(java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
writeBigDecimalin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeBytes
public void writeBytes(byte[] x) throws java.sql.SQLException- Specified by:
writeBytesin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeDate
public void writeDate(java.sql.Date x) throws java.sql.SQLException- Specified by:
writeDatein interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeTime
public void writeTime(java.sql.Time x) throws java.sql.SQLException- Specified by:
writeTimein interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeTimestamp
public void writeTimestamp(java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
writeTimestampin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeCharacterStream
public void writeCharacterStream(java.io.Reader x) throws java.sql.SQLException- Specified by:
writeCharacterStreamin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeAsciiStream
public void writeAsciiStream(java.io.InputStream x) throws java.sql.SQLException- Specified by:
writeAsciiStreamin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeBinaryStream
public void writeBinaryStream(java.io.InputStream x) throws java.sql.SQLException- Specified by:
writeBinaryStreamin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeArray
public void writeArray(java.sql.Array x) throws java.sql.SQLException- Specified by:
writeArrayin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeURL
public void writeURL(java.net.URL x) throws java.sql.SQLException- Specified by:
writeURLin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeObject
public void writeObject(java.sql.SQLData x) throws java.sql.SQLException- Specified by:
writeObjectin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeObject
public void writeObject(java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException- Specified by:
writeObjectin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeBlob
public void writeBlob(java.sql.Blob x) throws java.sql.SQLException- Specified by:
writeBlobin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeClob
public void writeClob(java.sql.Clob x) throws java.sql.SQLException- Specified by:
writeClobin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeStruct
public void writeStruct(java.sql.Struct x) throws java.sql.SQLException- Specified by:
writeStructin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeSQLXML
public void writeSQLXML(java.sql.SQLXML x) throws java.sql.SQLException- Specified by:
writeSQLXMLin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeRowId
public void writeRowId(java.sql.RowId x) throws java.sql.SQLException- Specified by:
writeRowIdin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeRef
public void writeRef(java.sql.Ref x) throws java.sql.SQLException- Specified by:
writeRefin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeNString
public void writeNString(java.lang.String x) throws java.sql.SQLException- Specified by:
writeNStringin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
writeNClob
public void writeNClob(java.sql.NClob x) throws java.sql.SQLException- Specified by:
writeNClobin interfacejava.sql.SQLOutput- Throws:
java.sql.SQLException
-
-