Class PgServerThread.Prepared

  • Enclosing class:
    PgServerThread

    static class PgServerThread.Prepared
    extends java.lang.Object
    Represents a PostgreSQL Prepared object.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String name
      The object name.
      (package private) int[] paramType
      The list of parameter types (if set).
      (package private) CommandInterface prep
      The prepared statement.
      (package private) ResultInterface result
      The current result (for suspended portal).
      (package private) java.lang.String sql
      The SQL statement.
    • Constructor Summary

      Constructors 
      Constructor Description
      Prepared()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void close()
      Closes prepared statement and result, if any.
      (package private) void closeResult()
      Closes the result, if any.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        java.lang.String name
        The object name.
      • sql

        java.lang.String sql
        The SQL statement.
      • paramType

        int[] paramType
        The list of parameter types (if set).
    • Constructor Detail

      • Prepared

        Prepared()
    • Method Detail

      • close

        void close()
        Closes prepared statement and result, if any.
      • closeResult

        void closeResult()
        Closes the result, if any.