java.lang.Object
org.postgresql.pljava.jdbc.SQLInputFromChunk
- All Implemented Interfaces:
SQLInput
The SQLInputToChunk uses JNI to read from memory that has been allocated by
the PostgreSQL backend. A user should never make an attempt to create an
instance of this class. Only internal JNI routines can do that. An instance
is propagated in a call from the internal JNI layer to the Java layer will
only survive during that single call. The handle of the instance will be
invalidated when the call returns and subsequent use of the instance will
yield a SQLException with the message "Stream is closed".
- Author:
- Thomas Hallgren
-
Constructor Details
-
SQLInputFromChunk
- Throws:
SQLException
-
-
Method Details
-
readArray
- Specified by:
readArray
in interfaceSQLInput
- Throws:
SQLException
-
readAsciiStream
- Specified by:
readAsciiStream
in interfaceSQLInput
- Throws:
SQLException
-
readBigDecimal
- Specified by:
readBigDecimal
in interfaceSQLInput
- Throws:
SQLException
-
readBinaryStream
- Specified by:
readBinaryStream
in interfaceSQLInput
- Throws:
SQLException
-
readBlob
- Specified by:
readBlob
in interfaceSQLInput
- Throws:
SQLException
-
readBoolean
- Specified by:
readBoolean
in interfaceSQLInput
- Throws:
SQLException
-
readByte
- Specified by:
readByte
in interfaceSQLInput
- Throws:
SQLException
-
readBytes
- Specified by:
readBytes
in interfaceSQLInput
- Throws:
SQLException
-
readCharacterStream
- Specified by:
readCharacterStream
in interfaceSQLInput
- Throws:
SQLException
-
readClob
- Specified by:
readClob
in interfaceSQLInput
- Throws:
SQLException
-
readDate
- Specified by:
readDate
in interfaceSQLInput
- Throws:
SQLException
-
readDouble
- Specified by:
readDouble
in interfaceSQLInput
- Throws:
SQLException
-
readFloat
- Specified by:
readFloat
in interfaceSQLInput
- Throws:
SQLException
-
readInt
- Specified by:
readInt
in interfaceSQLInput
- Throws:
SQLException
-
readLong
- Specified by:
readLong
in interfaceSQLInput
- Throws:
SQLException
-
readObject
- Specified by:
readObject
in interfaceSQLInput
- Throws:
SQLException
-
readRef
- Specified by:
readRef
in interfaceSQLInput
- Throws:
SQLException
-
readShort
- Specified by:
readShort
in interfaceSQLInput
- Throws:
SQLException
-
readString
- Specified by:
readString
in interfaceSQLInput
- Throws:
SQLException
-
readTime
- Specified by:
readTime
in interfaceSQLInput
- Throws:
SQLException
-
readTimestamp
- Specified by:
readTimestamp
in interfaceSQLInput
- Throws:
SQLException
-
readURL
- Specified by:
readURL
in interfaceSQLInput
- Throws:
SQLException
-
wasNull
- Specified by:
wasNull
in interfaceSQLInput
- Throws:
SQLException
-
readRowId
- Specified by:
readRowId
in interfaceSQLInput
- Throws:
SQLException
-
readSQLXML
- Specified by:
readSQLXML
in interfaceSQLInput
- Throws:
SQLException
-
readNString
- Specified by:
readNString
in interfaceSQLInput
- Throws:
SQLException
-
readNClob
- Specified by:
readNClob
in interfaceSQLInput
- Throws:
SQLException
-