Package com.impossibl.postgres.jdbc
Class PGSQLOutput
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGSQLOutput
-
-
Constructor Summary
Constructors Constructor Description PGSQLOutput(Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type[]getAttributeTypes()Object[]getAttributeValues()PGConnectiongetConnection()voidwriteArray(Array x)voidwriteAsciiStream(InputStream x)voidwriteBigDecimal(BigDecimal x)voidwriteBinaryStream(InputStream x)voidwriteBlob(Blob x)voidwriteBoolean(boolean x)voidwriteByte(byte x)voidwriteBytes(byte[] x)voidwriteCharacterStream(Reader x)voidwriteClob(Clob x)voidwriteDate(Date x)voidwriteDouble(double x)voidwriteFloat(float x)voidwriteInt(int x)voidwriteLong(long x)voidwriteNClob(NClob x)voidwriteNString(String x)voidwriteObject(Object x, SQLType targetSqlType)voidwriteObject(SQLData x)voidwriteRef(Ref x)voidwriteRowId(RowId x)voidwriteShort(short x)voidwriteSQLXML(SQLXML x)voidwriteString(String x)voidwriteStruct(Struct x)voidwriteTime(Time x)voidwriteTimestamp(Timestamp x)voidwriteURL(URL x)
-
-
-
Constructor Detail
-
PGSQLOutput
public PGSQLOutput(Context context)
-
-
Method Detail
-
getConnection
public PGConnection getConnection()
-
getAttributeTypes
public Type[] getAttributeTypes()
-
getAttributeValues
public Object[] getAttributeValues()
-
writeString
public void writeString(String x) throws SQLException
- Specified by:
writeStringin interfaceSQLOutput- Throws:
SQLException
-
writeBoolean
public void writeBoolean(boolean x) throws SQLException- Specified by:
writeBooleanin interfaceSQLOutput- Throws:
SQLException
-
writeByte
public void writeByte(byte x) throws SQLException- Specified by:
writeBytein interfaceSQLOutput- Throws:
SQLException
-
writeShort
public void writeShort(short x) throws SQLException- Specified by:
writeShortin interfaceSQLOutput- Throws:
SQLException
-
writeInt
public void writeInt(int x) throws SQLException- Specified by:
writeIntin interfaceSQLOutput- Throws:
SQLException
-
writeLong
public void writeLong(long x) throws SQLException- Specified by:
writeLongin interfaceSQLOutput- Throws:
SQLException
-
writeFloat
public void writeFloat(float x) throws SQLException- Specified by:
writeFloatin interfaceSQLOutput- Throws:
SQLException
-
writeDouble
public void writeDouble(double x) throws SQLException- Specified by:
writeDoublein interfaceSQLOutput- Throws:
SQLException
-
writeBigDecimal
public void writeBigDecimal(BigDecimal x) throws SQLException
- Specified by:
writeBigDecimalin interfaceSQLOutput- Throws:
SQLException
-
writeBytes
public void writeBytes(byte[] x) throws SQLException- Specified by:
writeBytesin interfaceSQLOutput- Throws:
SQLException
-
writeDate
public void writeDate(Date x) 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 x) 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
-
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
-
writeObject
public void writeObject(SQLData x) throws SQLException
- Specified by:
writeObjectin interfaceSQLOutput- Throws:
SQLException
-
writeObject
public void writeObject(Object x, SQLType targetSqlType) throws SQLException
- Specified by:
writeObjectin 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
-
writeSQLXML
public void writeSQLXML(SQLXML x) throws SQLException
- Specified by:
writeSQLXMLin interfaceSQLOutput- Throws:
SQLException
-
writeRowId
public void writeRowId(RowId x) throws SQLException
- Specified by:
writeRowIdin interfaceSQLOutput- Throws:
SQLException
-
writeRef
public void writeRef(Ref x) throws SQLException
- Specified by:
writeRefin 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
-
-