Package org.postgresql.pljava.pg.adt
package org.postgresql.pljava.pg.adt
Built-in implementations of
Adapter for common PostgreSQL
data types.- Author:
- Chapman Flack
-
ClassDescriptionArrayAdapter<T>Ancestor of adapters that can map a PostgreSQL array to some representation <T>.PostgreSQL
bytea.Adapter producing a Java byte array.Adapter producing anInputStream.PostgreSQL date, time, timestamp, and interval types, available in various representations by implementing the corresponding functional interfaces to construct them.Adapter for theDATEtype to the functional interfaceDatetime.Date.Adapter for theINTERVALtype to the functional interfaceTimespan.Interval.Instances of the date/time/timestamp adapters using the JSR310java.timetypes.Adapter for theTIMEtype to the functional interfaceDatetime.Time.Adapter for theTIMESTAMPtype to the functional interfaceDatetime.Timestamp.Adapter for theTIMESTAMP WITH TIME ZONEtype to the functional interfaceDatetime.TimestampTZ.Adapter for theTIME WITH TIME ZONEtype to the functional interfaceDatetime.TimeTZ.PostgreSQL character set encoding (int4in the catalogs) represented asCharsetEncoding.PostgreSQLaclitemrepresented asGrant.MoneyAdapter<T>Adapter for theMONEYtype to the functional interfaceMoney.NameAdapter<T extends Lexicals.Identifier.Unqualified>PostgreSQLnametype represented asLexicals.Identifier.SimpleorLexicals.Identifier.Operator.Adapter for thenametype, returning a JavaString.Adapter for thenametype, returning anIdentifier.Operator.Adapter for thenametype, returning anIdentifier.Simple.Adapter for theNUMERICtype to the functional interfaceNumeric.OidAdapter<T extends CatalogObject>PostgreSQLoidtype represented asCatalogObjector one of itsAddressedsubtypes.OidAdapter.Addressed<T extends CatalogObject.Addressed<T>>Adapter for theoidtype, able to return most of theCatalogObject.Addressedsubinterfaces.Adapter for theoidtype, returned as a primitiveint.A distinct adapter class is needed here because the parameterizedRegProcedure<?>type can't be indicated with a class literal argument toAddressed.PostgreSQL primitive numeric and boolean, as the corresponding Java primitive types.Adapter for thebooleantype.Adapter for thefloat4type.Adapter for thefloat8type.Adapter for the"char"type.Adapter for theint2type.Adapter for theint4type.Adapter for theint8type.Implementation of a service defined byAdapterfor data types.PostgreSQLtext,varchar, and similar types represented as JavaString.PostgreSQLuuidtype represented asjava.util.UUID.PostgreSQLcid,tid,xid, andxid8types.Adapter for thecidorxidtype, returned as a primitiveint.Adapter for thetidtype using the functional interfaceInternal.Tid.Adapter for thexid8type, returned as a primitivelong.PostgreSQLxmltype represented asjava.sql.SQLXML.Adapter for use when the PostgreSQL type is not actually XML, but to be synthetically rendered as XML (such aspg_node_tree).