Package org.postgresql.pljava

The PL/Java API for use in writing database procedures, functions, and types using PL/Java. Along with the API in this package, PL/Java code will mosty interact with the database using the specialized, direct version of the JDBC API, obtained (as decreed in the SQL/JRT specs) from DriverManager.getConnection(String) by passing it the magic URL jdbc:default:connection.
Author:
Thomas Hallgren
  • Interface Summary
    Interface Description
    Adjusting.XML.DOMSource
    Adjusting version of a DOMSource.
    Adjusting.XML.Parsing<T extends Adjusting.XML.Parsing<T>>
    Interface with methods to adjust the restrictions on XML parsing that are commonly considered when XML content might be from untrusted sources.
    Adjusting.XML.Result<T extends Result>
    Adjusting version of javax.xml.transform.Result, offering the adjustment methods of Adjusting.XML.Parsing, chiefly so that there is a way to apply those adjustments to any implicitly-created parser used to verify the content that will be written to the Result.
    Adjusting.XML.SAXResult
    Adjusting version of a SAXResult.
    Adjusting.XML.SAXSource
    Adjusting version of a SAXSource.
    Adjusting.XML.Source<T extends Source>
    Adjusting version of javax.xml.transform.Source, allowing various parser features to be configured before calling get() to obtain the usable Source object.
    Adjusting.XML.SourceResult
    Specialized Result type for setting a new PL/Java SQLXML instance's content from an arbitrary Source object of any of the types JDBC requires the SQLXML type to support.
    Adjusting.XML.StAXSource
    Adjusting version of a StAXSource.
    Adjusting.XML.StreamResult
    Adjusting version of a StreamResult.
    ObjectPool<T extends PooledObject>
    A pool of objects of a single class.
    PooledObject
    Interface for objects that are pooled and reused.
    ResultSetHandle
    An implementation of this interface is returned from functions and procedures that are declared to return SET OF a complex type in the form of a ResultSet.
    ResultSetProvider
    An implementation of this interface is returned from functions and procedures that are declared to return SET OF a complex type.
    ResultSetProvider.Large
    Version of ResultSetProvider where the assignRowValues method accepting a long row count must be implemented, and the int version defaults to using it.
    SavepointListener
    Interface for a listener to be notified of the start and pre-commit, commit, or abort of savepoints.
    Session
    A Session brings together some useful methods and data for the current database session.
    TransactionListener
    Interface for a listener to be notified of prepare, and commit, abort, or other phase transitions, of distributed transactions.
    TriggerData
    The data passed to an ordinary (insert/update/delete/truncate) trigger function.
  • Class Summary
    Class Description
    Adjusting
    Convenience class whose member classes will provide APIs that in some way adjust aspects of PL/Java's behavior.
    Adjusting.XML
    Class that collects adjustment APIs for affecting the behavior of PL/Java's XML support.
    PLPrincipal
    Java Principal representing a PostgreSQL PROCEDURAL LANGUAGE, which has a name (a simple identifier, not schema-qualified) and is either Sandboxed (declared with SQL CREATE TRUSTED LANGUAGE or Unsandboxed.
    PLPrincipal.Sandboxed
    Java Principal representing a PostgreSQL PROCEDURAL LANGUAGE that was declared with the TRUSTED keyword and can be used to declare new functions by any role that has been granted USAGE permission on it.
    PLPrincipal.Unsandboxed
    Java Principal representing a PostgreSQL PROCEDURAL LANGUAGE that was declared without the TRUSTED keyword, and can be used to declare new functions only by a PostgreSQL superuser.
    SessionManager
    The SessionManager makes the current Session available to the caller.
  • Exception Summary
    Exception Description
    TriggerException
    An exception specially suited to be thrown from within a method designated to be a trigger function.