All Classes Interface Summary Class Summary Enum Summary Exception Summary
Class |
Description |
AbstractBlobClob |
This class holds all of the methods common to both Blobs and Clobs.
|
ArrayAssistant |
Implement this interface and register the its instance to ArrayAssistantRegistry, to let Postgres
driver to support more array type
|
ArrayAssistantRegistry |
Array assistants register here
|
AutoSave |
|
Base64 |
This code is a stripped down version of Robert Harder's Public Domain Base64 implementation.
|
BaseConnection |
Driver-internal connection interface.
|
BaseDataSource |
Base class for data sources and related classes.
|
BaseStatement |
Driver-internal statement interface.
|
BatchedQuery |
Purpose of this object is to support batched query re write behaviour.
|
BatchResultHandler |
Internal class, it is not a part of public API.
|
BlobInputStream |
This is an implementation of an InputStream from a large object.
|
BlobOutputStream |
This implements a basic output stream that writes to a LargeObject
|
ByteConverter |
Helper methods to parse java base types from byte arrays.
|
CachedQuery |
Stores information on the parsed JDBC query.
|
CanEstimateSize |
|
ConnectionFactory |
Handles protocol-specific connection setup.
|
ConnectionFactoryImpl |
ConnectionFactory implementation for version 3 (7.4+) connections.
|
ConnectionPool |
|
CopyIn |
Copy bulk data from client into a PostgreSQL table very fast.
|
CopyInImpl |
Anticipated flow of a COPY FROM STDIN operation:
CopyManager.copyIn() ->QueryExecutor.startCopy() - sends given query to server
->processCopyResults(): - receives CopyInResponse from Server - creates new CopyInImpl
->initCopy(): - receives copy metadata from server ->CopyInImpl.init() ->lock()
connection for this operation - if query fails an exception is thrown - if query returns wrong
CopyOperation, copyIn() cancels it before throwing exception <-return: new CopyInImpl holding
lock on connection repeat CopyIn.writeToCopy() for all data ->CopyInImpl.writeToCopy()
->QueryExecutorImpl.writeToCopy() - sends given data ->processCopyResults() - parameterized
not to block, just peek for new messages from server - on ErrorResponse, waits until protocol is
restored and unlocks connection CopyIn.endCopy() ->CopyInImpl.endCopy()
->QueryExecutorImpl.endCopy() - sends CopyDone - processCopyResults() - on CommandComplete
->CopyOperationImpl.handleCommandComplete() - sets updatedRowCount when applicable - on
ReadyForQuery unlock() connection for use by other operations <-return:
CopyInImpl.getUpdatedRowCount()
|
CopyManager |
API for PostgreSQL COPY bulk data transfer
|
CopyOperation |
Exchange bulk data between client and PostgreSQL database tables.
|
CopyOperationImpl |
|
CopyOut |
|
CopyOutImpl |
Anticipated flow of a COPY TO STDOUT operation:
CopyManager.copyOut() ->QueryExecutor.startCopy() - sends given query to server
->processCopyResults(): - receives CopyOutResponse from Server - creates new CopyOutImpl
->initCopy(): - receives copy metadata from server ->CopyOutImpl.init() ->lock()
connection for this operation - if query fails an exception is thrown - if query returns wrong
CopyOperation, copyOut() cancels it before throwing exception <-returned: new CopyOutImpl
holding lock on connection repeat CopyOut.readFromCopy() until null
->CopyOutImpl.readFromCopy() ->QueryExecutorImpl.readFromCopy() ->processCopyResults() -
on copydata row from server ->CopyOutImpl.handleCopydata() stores reference to byte array - on
CopyDone, CommandComplete, ReadyForQuery ->unlock() connection for use by other operations
<-returned: byte array of data received from server or null at end.
|
DbKeyStoreSocketFactory |
|
DbKeyStoreSocketFactory.DbKeyStoreSocketException |
|
DefaultPGXmlFactoryFactory |
Default implementation of PGXmlFactoryFactory that configures each factory per OWASP recommendations.
|
Driver |
The Java SQL framework allows for multiple database drivers.
|
EmptyStringEntityResolver |
|
Encoding |
Representation of a particular character encoding.
|
EncodingPredictor |
Predicts encoding for error messages based on some heuristics:
1) For certain languages, it is known how "FATAL" is translated
2) For Japanese, several common words are hardcoded
3) Then try various LATIN encodings
|
EncodingPredictor.DecodeResult |
In certain cases the encoding is not known for sure (e.g.
|
EscapedFunctions |
This class stores supported escaped function
|
Fastpath |
This class implements the Fastpath api.
|
FastpathArg |
Each fastpath call requires an array of arguments, the number and type dependent on the function
being called.
|
Field |
|
FieldMetadata |
This is an internal class to hold field metadata info like table name, column name, etc.
|
FieldMetadata.Key |
|
GlobalHostStatusTracker |
Keeps track of HostSpec targets in a global map.
|
GSSCallbackHandler |
|
GT |
This class provides a wrapper around a gettext message catalog that can provide a localized
version of error messages.
|
HostChooser |
Lists connections in preferred order.
|
HostChooserFactory |
Chooses a HostChooser instance based on the number of hosts and properties.
|
HostRequirement |
Describes the required server type.
|
HostSpec |
Simple container for host and port.
|
HostStatus |
Known state of a server.
|
HStoreConverter |
|
ISSPIClient |
Use Waffle-JNI to support SSPI authentication when PgJDBC is running on a Windows
client and talking to a Windows server.
|
Jdbc3ConnectionPool |
|
Jdbc3PoolingDataSource |
|
Jdbc3SimpleDataSource |
|
JdbcBlackHole |
|
JdbcCallParseInfo |
|
Keyword |
Reserved SQL keywords.
|
LargeObject |
This class provides the basic methods required to run the interface, plus a pair of methods that
provide InputStream and OutputStream classes for this object.
|
LargeObjectManager |
This class implements the large object interface to org.postgresql.
|
LazyKeyManager |
A Key manager that only loads the keys, if necessary.
|
LegacyInsecurePGXmlFactoryFactory |
|
LibPQFactory |
Provide an SSLSocketFactory that is compatible with the libpq behaviour.
|
Logger |
Poor man's logging infrastructure.
|
LruCache<Key,Value extends CanEstimateSize> |
Caches values in simple least-recently-accessed order.
|
LruCache.CreateAction<Key,Value> |
When the entry is not present in cache, this create action is used to create one.
|
LruCache.EvictAction<Value> |
Action that is invoked when the entry is removed from the cache.
|
MakeGSS |
|
MakeSSL |
|
MD5Digest |
|
MultiHostChooser |
HostChooser that keeps track of known host statuses.
|
NativeQuery |
Represents a query that is ready for execution by backend.
|
NonValidatingFactory |
Provide a SSLSocketFactory that allows SSL connections to be made without validating the server's
certificate.
|
NonValidatingFactory.NonValidatingTM |
|
Notification |
|
NTDSAPIWrapper |
|
NullErrorHandler |
Error handler that silently suppresses all errors.
|
ObjectFactory |
Helper class to instantiate objects.
|
Oid |
Provides constants for well-known backend OIDs for the types we commonly use.
|
ParameterList |
Abstraction of a list of parameters to be substituted into a Query.
|
Parser |
Basic query parser infrastructure.
|
PgArray |
Array is used collect one column of query result data.
|
PGBinaryObject |
PGBinaryObject is a inteface that classes extending PGobject can use to take advantage of
more optimal binary encoding of the data type.
|
PGBindException |
|
PgBlob |
|
PGbox |
This represents the box datatype within org.postgresql.
|
PGBundleActivator |
This class is an OSGi Bundle Activator and should only be used internally by the OSGi Framework
|
PGbytea |
Converts to and from the postgresql bytea datatype used by the backend.
|
PGcircle |
This represents org.postgresql's circle datatype, consisting of a point and a radius
|
PgClob |
|
PgConnection |
|
PGConnection |
This interface defines the public PostgreSQL extensions to java.sql.Connection.
|
PGConnectionPoolDataSource |
PostgreSQL implementation of ConnectionPoolDataSource.
|
PGCopyInputStream |
InputStream for reading from a PostgreSQL COPY TO STDOUT operation
|
PGCopyOutputStream |
OutputStream for buffered input into a PostgreSQL COPY FROM STDIN operation
|
PgDatabaseMetaData |
|
PGDataSourceFactory |
This factory service is designed to be used in OSGi Enterprise environments to create and
configure JDBC data-sources.
|
PGInterval |
This implements a class that handles the PostgreSQL interval type
|
PGJDBCMain |
|
PGline |
This implements a line represented by the linear equation Ax + By + C = 0
|
PGlseg |
This implements a lseg (line segment) consisting of two points
|
PGmoney |
This implements a class that handles the PostgreSQL money and cash types
|
PGNotification |
This interface defines the public PostgreSQL extension for Notifications
|
PGobject |
PGobject is a class used to describe unknown types An unknown type is any type that is unknown by
JDBC Standards
|
PGObjectFactory |
Returns a DataSource-ish thing based on a JNDI reference.
|
PgParameterMetaData |
|
PGpath |
This implements a path (a multiple segmented line, which may be closed)
|
PGpoint |
It maps to the point datatype in org.postgresql.
|
PGpolygon |
This implements the polygon datatype within PostgreSQL.
|
PGPooledConnection |
PostgreSQL implementation of the PooledConnection interface.
|
PGPoolingDataSource |
DataSource which uses connection pooling.
|
PGProperty |
All connection parameters that can be either set in JDBC URL, in Driver properties or in
datasource setters.
|
PGRefCursorResultSet |
Deprecated.
|
PgResultSet |
|
PgResultSetMetaData |
|
PGResultSetMetaData |
|
PGSimpleDataSource |
Simple DataSource which does not perform connection pooling.
|
PgSQLXML |
|
PgStatement |
|
PGStatement |
This interface defines the public PostgreSQL extensions to java.sql.Statement.
|
PGStream |
Wrapper around the raw connection to the server that implements some basic primitives
(reading/writing formatted data, doing string encoding, etc).
|
PGTime |
This class augments the Java built-in Time to allow for explicit setting of the time zone.
|
PGTimestamp |
This class augments the Java built-in Timestamp to allow for explicit setting of the time zone.
|
PGtokenizer |
This class is used to tokenize the text output of org.postgres.
|
PGXAConnection |
The PostgreSQL implementation of XAResource .
|
PGXADataSource |
XA-enabled DataSource implementation.
|
PGXADataSourceFactory |
An ObjectFactory implementation for PGXADataSource-objects.
|
PGXAException |
A convenience subclass of XAException which makes it easy to create an instance of
XAException with a human-readable message, a Throwable cause, and an XA
error code.
|
PGXmlFactoryFactory |
|
PoolingDataSource |
|
PreferQueryMode |
Specifies which mode is used to execute queries to database: simple means ('Q' execute, no parse, no bind, text mode only),
extended means always use bind/execute messages, extendedForPrepared means extended for prepared statements only.
|
Provider<T> |
Represents a provider of results.
|
PSQLDriverVersion |
This class holds the current build number and a utility program to print it and the file it came
from.
|
PSQLException |
|
PSQLSavepoint |
|
PSQLState |
This class is used for holding SQLState codes.
|
PSQLWarning |
|
Query |
Abstraction of a generic Query, hiding the details of any protocol-version-specific data needed
to execute the query efficiently.
|
QueryExecutor |
Abstracts the protocol-specific details of executing a query.
|
QueryExecutorBase |
|
QueryExecutorImpl |
QueryExecutor implementation for the V3 protocol.
|
ResultCursor |
Abstraction of a cursor over a returned resultset.
|
ResultHandler |
Callback interface for passing query results from the protocol-specific layer to the
protocol-independent JDBC implementation code.
|
ResultHandlerBase |
|
ResultHandlerDelegate |
Internal to the driver class, please do not use in the application.
|
ResultWrapper |
Helper class that storing result info.
|
ServerErrorMessage |
|
ServerVersion |
Enumeration for PostgreSQL versions.
|
SetupQueryRunner |
Poor man's Statement & ResultSet, used for initial queries while we're still initializing the
system.
|
SharedTimer |
|
SimpleDataSource |
|
SingleCertValidatingFactory |
Provides a SSLSocketFactory that authenticates the remote server against an explicit pre-shared
SSL certificate.
|
SingleHostChooser |
Host chooser that returns the single host.
|
SocketFactoryFactory |
|
SqlCommand |
Data Modification Language inspection support.
|
SqlCommandType |
Type information inspection support.
|
SSPIClient |
Use Waffle-JNI to support SSPI authentication when PgJDBC is running on a Windows client and
talking to a Windows server.
|
StreamWrapper |
Wrapper around a length-limited InputStream.
|
TimestampUtils |
Misc utils for handling time and date values.
|
TransactionState |
|
TypeInfo |
|
TypeInfoCache |
|
TypeTransferModeRegistry |
|
UnixCrypt |
Contains static methods to encrypt and compare passwords with Unix encrypted passwords.
|
Utils |
Collection of utilities used by the protocol-level code.
|
UUIDArrayAssistant |
|
Version |
|
VisibleBufferedInputStream |
A faster version of BufferedInputStream.
|
WrappedFactory |
Provide a wrapper to a real SSLSocketFactory delegating all calls to the contained instance.
|