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 varioussetFeature
orsetProperty
methods 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 usableSource
object.SpecializedResult
type for setting a new PL/JavaSQLXML
instance's content from an arbitrarySource
object of any of the types JDBC requires theSQLXML
type to support.Adjusting version of aStAXSource
.Adjusting version of aStreamResult
.ObjectPool<T extends PooledObject>A pool of objects of a single class.JavaPrincipal
representing a PostgreSQLPROCEDURAL LANGUAGE
, which has a name (a simple identifier, not schema-qualified) and is eitherSandboxed
(declared with SQLCREATE TRUSTED LANGUAGE
orUnsandboxed
.JavaPrincipal
representing a PostgreSQLPROCEDURAL LANGUAGE
that was declared with theTRUSTED
keyword and can be used to declare new functions by any role that has been grantedUSAGE
permission on it.JavaPrincipal
representing a PostgreSQLPROCEDURAL LANGUAGE
that was declared without theTRUSTED
keyword, 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 OF
a complex type in the form of aResultSet
.An implementation of this interface is returned from functions and procedures that are declared to returnSET OF
a complex type.Version ofResultSetProvider
where theassignRowValues
method accepting along
row count must be implemented, and theint
version 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 currentSession
available 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.