Module org.postgresql.pljava
Package org.postgresql.pljava
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
-
ClassDescriptionConvenience class whose member classes will provide APIs that in some way adjust aspects of PL/Java's behavior.Class that collects adjustment APIs for affecting the behavior of PL/Java's XML support.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 ofjavax.xml.transform.Result, offering the adjustment methods ofAdjusting.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 theResult.Adjusting version of aSAXResult.Adjusting version of aSAXSource.A functional interface fitting varioussetFeatureorsetPropertymethods in Java XML APIs.Adjusting.XML.Source<T extends Source>Adjusting version ofjavax.xml.transform.Source, allowing various parser features to be configured before callingget()to obtain the usableSourceobject.SpecializedResulttype for setting a new PL/JavaSQLXMLinstance's content from an arbitrarySourceobject of any of the types JDBC requires theSQLXMLtype to support.Adjusting version of aStAXSource.Adjusting version of aStreamResult.ObjectPool<T extends PooledObject>A pool of objects of a single class.JavaPrincipalrepresenting a PostgreSQLPROCEDURAL LANGUAGE, which has a name (a simple identifier, not schema-qualified) and is eitherSandboxed(declared with SQLCREATE TRUSTED LANGUAGEorUnsandboxed.JavaPrincipalrepresenting a PostgreSQLPROCEDURAL LANGUAGEthat was declared with theTRUSTEDkeyword and can be used to declare new functions by any role that has been grantedUSAGEpermission on it.JavaPrincipalrepresenting a PostgreSQLPROCEDURAL LANGUAGEthat was declared without theTRUSTEDkeyword, and can be used to declare new functions only by a PostgreSQL superuser.Interface for objects that are pooled and reused.An implementation of this interface is returned from functions and procedures that are declared to returnSET OFa complex type in the form of aResultSet.An implementation of this interface is returned from functions and procedures that are declared to returnSET OFa complex type.Version ofResultSetProviderwhere theassignRowValuesmethod accepting alongrow count must be implemented, and theintversion defaults to using it.Interface for a listener to be notified of the start and pre-commit, commit, or abort of savepoints.A Session brings together some useful methods and data for the current database session.The SessionManager makes the currentSessionavailable to the caller.Interface for a listener to be notified of prepare, and commit, abort, or other phase transitions, of distributed transactions.The data passed to an ordinary (insert/update/delete/truncate) trigger function.An exception specially suited to be thrown from within a method designated to be a trigger function.