Class SQLOutputToChunk

  • All Implemented Interfaces:

    public class SQLOutputToChunk
    extends Object
    implements SQLOutput
    The SQLOutputToChunk uses JNI to build a PostgreSQL StringInfo buffer in memory. 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".
    Thomas Hallgren