Package org.postgresql.pljava.internal
package org.postgresql.pljava.internal
Java classes implementing core PL/Java behavior. Many of these are the
concrete implementations of classes in the
pljava-api module,
and many have corresponding native code in
pljava-so.
- Author:
- Thomas Hallgren
-
ClassDescriptionThe
AclIdcorrespons to the internal PostgreSQLAclId.Provides access to some useful routines in the PostgreSQL server.Wrap a readableByteBufferas anInputStream.Wrap a readableByteBufferas aSyntheticXMLReader.Functional interfaces handling checked exceptions.Checked.AutoCloseable<E extends Exception>Version ofAutoCloseablewith an exception-type parameter.Checked.BiConsumer<T,U, E extends Throwable> LikeBiConsumerbut with a body that can throw checked exceptions.Checked.BooleanConsumer<E extends Throwable>Represents an operation that accepts a single boolean-valued argument and can throw checked exceptions.Checked.BooleanSupplier<E extends Throwable>LikeBooleanSupplierbut with a body that can throw checked exceptions.Checked.ByteConsumer<E extends Throwable>Represents an operation that accepts a single byte-valued argument and can throw checked exceptions.Checked.ByteSupplier<E extends Throwable>A supplier of byte-valued results, with a body that can throw checked exceptions.Checked.CharConsumer<E extends Throwable>Represents an operation that accepts a single char-valued argument and can throw checked exceptions.Checked.CharSupplier<E extends Throwable>A supplier of char-valued results, with a body that can throw checked exceptions.Checked.Closing<T,E extends Exception> A class that can supply aTwhile also implementingAutoCloseable<E>; suitable for use in atry-with-resources to wrap some value that does not itself implementAutoCloseable.Checked.Consumer<T,E extends Throwable> LikeConsumerbut with a body that can throw checked exceptions.Checked.DoubleConsumer<E extends Throwable>LikeDoubleConsumerbut with a body that can throw checked exceptions.Checked.DoubleSupplier<E extends Throwable>LikeDoubleSupplierbut with a body that can throw checked exceptions.Checked.FloatConsumer<E extends Throwable>Represents an operation that accepts a single float-valued argument and can throw checked exceptions.Checked.FloatSupplier<E extends Throwable>A supplier of float-valued results, with a body that can throw checked exceptions.Checked.Function<T,R, E extends Throwable> LikeFunctionbut with a body that can throw checked exceptions.Checked.IntConsumer<E extends Throwable>LikeIntConsumerbut with a body that can throw checked exceptions.Checked.IntSupplier<E extends Throwable>LikeIntSupplierbut with a body that can throw checked exceptions.Checked.LongConsumer<E extends Throwable>LikeLongConsumerbut with a body that can throw checked exceptions.Checked.LongSupplier<E extends Throwable>LikeLongSupplierbut with a body that can throw checked exceptions.Head of a family ofOptional-like types covering the Java primitives that thejava.util.Optional...classes do not cover, and whose methods that expect functional interfaces will accept the checked-exception versions declared here.A container object which may or may not contain abooleanvalue.A container object which may or may not contain abytevalue.A container object which may or may not contain acharvalue.A container object which may or may not contain afloatvalue.A container object which may or may not contain ashortvalue.Checked.Predicate<T,E extends Throwable> LikePredicatebut with a body that can throw checked exceptions.Checked.Runnable<E extends Throwable>LikeRunnablebut with a body that can throw checked exceptions.Checked.ShortConsumer<E extends Throwable>Represents an operation that accepts a single short-valued argument and can throw checked exceptions.Checked.ShortSupplier<E extends Throwable>A supplier of short-valued results, with a body that can throw checked exceptions.Checked.Supplier<T,E extends Throwable> LikeSupplierbut with a body that can throw checked exceptions.Checked.ToByteFunction<T,E extends Throwable> Represents a function that produces a byte-valued result and can throw checked exceptions.Checked.ToCharFunction<T,E extends Throwable> Represents a function that produces a char-valued result and can throw checked exceptions.Checked.ToDoubleFunction<T,E extends Throwable> LikeToDoubleFunctionbut with a body that can throw checked exceptions.Checked.ToFloatFunction<T,E extends Throwable> Represents a function that produces a float-valued result and can throw checked exceptions.Checked.ToIntFunction<T,E extends Throwable> LikeToIntFunctionbut with a body that can throw checked exceptions.Checked.ToLongFunction<T,E extends Throwable> LikeToLongFunctionbut with a body that can throw checked exceptions.Checked.ToShortFunction<T,E extends Throwable> Represents a function that produces a short-valued result and can throw checked exceptions.DualState<T>Base class for object state with corresponding Java and native components.Magic cookie needed as a constructor parameter to confirm thatDualStatesubclass instances are being constructed from native code.ADualStatesubclass whose only native resource releasing action needed isFreeErrorDataof a single pointer.ADualStatesubclass whose only native resource releasing action needed isFreeTupleDescof a single pointer.ADualStatesubclass serving only to guard access to a single nonzerolongvalue (typically a native pointer).ADualStatesubclass whose only native resource releasing action needed isheap_freetupleof a single pointer.ADualStatesubclass whose only native resource releasing action needed isMemoryContextDeleteof a single context.ADualStatesubclass whose only native resource releasing action needed ispfreeof a single pointer.ADualStatesubclass whose only native resource releasing action needed isSPI_cursor_closeof a single pointer.ADualStatesubclass whose only native resource releasing action needed isSPI_freeplanof a single pointer.TheErrorDatacorrespons to the ErrorData obtained using an internal PostgreSQLCopyErrorDatacall.TheExecutionPlancorresponds to the execution plan obtained using an internal PostgreSQLSPI_preparecall.Methods to look up a PL/Java function and prepare it for invocation.Group of methods intended to streamline the PL/Java installation/startup experience.Version ofSequenceInputStreamthat supportsmarkandreset, to the extent its constituent input streams do.AListIteratorthat will fetch an element from aBlockingQueuewheneverhasNextwould (otherwise) returnfalse, adding it to the end of the list where the nextnext()will retrieve it.Like aMarkableSequenceInputStreambut for characters.TheOidcorrespons to the internal PostgreSQLOid.Implementation ofSavepointfor the SPI connection.ThePortalcorrespons to the internal PostgreSQLPortaltype.Clean interface to thedoPrivileged...methods onAccessController.TheRelationcorrespons to the internal PostgreSQLRelation.An adapter class used internally when a set-returning user function returns aResultSetHandle, presenting it as aResultSetProviderinstead.A Java exception constructed over a PostgreSQL error report.An instance of this interface reflects the current session.TheSPIclass provides access to some global variables used by SPI.A Java exception constructed from a PostgreSQL SPI result code.Base class implementing the tedious parts of a SAXXMLReaderwhose XML content is synthesized on the fly.An immutable and empty collection of attributes.Subclass ofAttributes2Implthat also provides chainable methods so attribute information can be supplied in a fluent style.Deprecated, for removal: This API element is subject to removal in a future version.TheTriggerDatacorrespons to the internal PostgreSQLTriggerData.TheTuplecorrespons to the internal PostgreSQLHeapTuple.TheTupleDesccorrespons to the internal PostgreSQLTupleDesc.TheSPITupleTablecorrespons to the internal PostgreSQLSPITupleTabletype.An unchecked exception to efficiently wrap checked Throwables.A Java exception constructed over aServerExceptionthat has been thrown but not recovered from (as by rolling back to a prior savepoint) before another attempt to call into PostgreSQL routines.Interface that wraps a PostgreSQL native variable-length ("varlena") datum; implementing classes present an existing one to Java as a readableInputStream, or allow a new one to be constructed by presenting a writableOutputStream.A class by which Java reads the content of a varlena.A class by which Java writes the content of a varlena as an OutputStream.AVerifierverifies the proper form of content written to aVarlenaWrapper.Output.Verifier to be extended to verify byte streams for specific types.A Verifier that accepts any content, cheaply.Class adapting aByteBufferXMLReaderto aVarlenaWrapper.Input.
pljava-api, (b) is only used to implement the once-transactional attribute map inSession, and (c) hasn't had transactional behavior even there, since 3ab90e5 (November 2005).