| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | PgServerThread.
Represents a PostgreSQL Portal object. |
| pack-priv static class | PgServerThread.
Represents a PostgreSQL Prepared object. |
| Modifier and Type | Field and Description |
|---|---|
| private CommandInterface | |
| private String | |
| private String | |
| private DataInputStream | |
| private DataInputStream | |
| private DataOutputStream | |
| private String | |
| private boolean | |
| private static final boolean | |
| private static final int | |
| private static final int | |
| private int | |
| private static final BigInteger | |
| private static final short | |
| private static final short | |
| private static final short | |
| private OutputStream | |
| private ByteArrayOutputStream | |
| private final HashMap | |
| private static final int[] | |
| private final HashMap | |
| private int | |
| private final int | |
| private final PgServer | |
| private SessionLocal | |
| private static final Pattern | |
| private Socket | |
| private boolean | |
| private Thread | |
| private TimeZoneProvider | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private synchronized void | |
| private static void | |
| pack-priv void | |
| private static String | |
| private static int | |
| private void | executeQuery(PgServerThread.
|
| private static boolean | Returns: true for textdata type pgType, int[] format codes, or formatCodes, int null0-based column number column)Check whether the given type should be formatted as text. |
| private Charset | |
| pack-priv int | |
| private String | |
| pack-priv Thread | |
| private static int | |
| private void | |
| private static String | |
| private void | |
| private byte | |
| private void | |
| private int | |
| private Value | |
| private short | |
| private String | |
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private synchronized void | |
| private void | setParameter(ArrayList<? extends ParameterInterface> parameters, int pgType, int i, int[] formatCodes)
|
| pack-priv void | |
| pack-priv void | |
| private void | |
| private static long | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| activeRequest | back to summary |
|---|---|
| private CommandInterface activeRequest | |
| clientEncoding | back to summary |
|---|---|
| private String clientEncoding | |
| databaseName | back to summary |
|---|---|
| private String databaseName | |
| dataIn | back to summary |
|---|---|
| private DataInputStream dataIn | |
| dataInRaw | back to summary |
|---|---|
| private DataInputStream dataInRaw | |
| dataOut | back to summary |
|---|---|
| private DataOutputStream dataOut | |
| dateStyle | back to summary |
|---|---|
| private String dateStyle | |
| initDone | back to summary |
|---|---|
| private boolean initDone | |
| INTEGER_DATE_TYPES | back to summary |
|---|---|
| private static final boolean INTEGER_DATE_TYPES | |
| MAX_GROUP_SCALE | back to summary |
|---|---|
| private static final int MAX_GROUP_SCALE | |
| MAX_GROUP_SIZE | back to summary |
|---|---|
| private static final int MAX_GROUP_SIZE | |
| messageType | back to summary |
|---|---|
| private int messageType | |
| NUMERIC_CHUNK_MULTIPLIER | back to summary |
|---|---|
| private static final BigInteger NUMERIC_CHUNK_MULTIPLIER | |
| NUMERIC_NAN | back to summary |
|---|---|
| private static final short NUMERIC_NAN | |
| NUMERIC_NEGATIVE | back to summary |
|---|---|
| private static final short NUMERIC_NEGATIVE | |
| NUMERIC_POSITIVE | back to summary |
|---|---|
| private static final short NUMERIC_POSITIVE | |
| out | back to summary |
|---|---|
| private OutputStream out | |
| outBuffer | back to summary |
|---|---|
| private ByteArrayOutputStream outBuffer | |
| portals | back to summary |
|---|---|
| private final HashMap<String, PgServerThread. | |
| POWERS10 | back to summary |
|---|---|
| private static final int[] POWERS10 | |
| prepared | back to summary |
|---|---|
| private final HashMap<String, PgServerThread. | |
| processId | back to summary |
|---|---|
| private int processId | |
| secret | back to summary |
|---|---|
| private final int secret | |
| server | back to summary |
|---|---|
| private final PgServer server | |
| session | back to summary |
|---|---|
| private SessionLocal session | |
| SHOULD_QUOTE | back to summary |
|---|---|
| private static final Pattern SHOULD_QUOTE | |
| socket | back to summary |
|---|---|
| private Socket socket | |
| stop | back to summary |
|---|---|
| private boolean stop | |
| thread | back to summary |
|---|---|
| private Thread thread | |
| timeZone | back to summary |
|---|---|
| private TimeZoneProvider timeZone | |
| userName | back to summary |
|---|---|
| private String userName | |
| PgServerThread | back to summary |
|---|---|
| pack-priv PgServerThread(Socket socket, PgServer server) | |
| cancelRequest | back to summary |
|---|---|
| private synchronized void cancelRequest() Kill a currently running query on this thread. | |
| checkParamLength | back to summary |
|---|---|
| private static void checkParamLength(int expected, int got) | |
| close | back to summary |
|---|---|
| pack-priv void close() Close this connection. | |
| convertTimeZone | back to summary |
|---|---|
| private static String convertTimeZone(String value, String prefix) | |
| divide | back to summary |
|---|---|
| private static int divide(BigInteger[] unscaled, int divisor) | |
| executeQuery | back to summary |
|---|---|
| private void executeQuery(PgServerThread. | |
| formatAsText | back to summary |
|---|---|
| private static boolean formatAsText(int pgType, int[] formatCodes, int column) Check whether the given type should be formatted as text.
| |
| getEncoding | back to summary |
|---|---|
| private Charset getEncoding() | |
| getProcessId | back to summary |
|---|---|
| pack-priv int getProcessId() | |
| getSQL | back to summary |
|---|---|
| private String getSQL(String s) | |
| getThread | back to summary |
|---|---|
| pack-priv Thread getThread() | |
| getTypeSize | back to summary |
|---|---|
| private static int getTypeSize(int pgType, int precision) | |
| initDb | back to summary |
|---|---|
| private void initDb() | |
| pgTimeZone | back to summary |
|---|---|
| private static String pgTimeZone(String value) | |
| process | back to summary |
|---|---|
| private void process() throws IOException | |
| readByte | back to summary |
|---|---|
| private byte readByte() throws IOException | |
| readFully | back to summary |
|---|---|
| private void readFully(byte[] buff) throws IOException | |
| readInt | back to summary |
|---|---|
| private int readInt() throws IOException | |
| readNumericBinary | back to summary |
|---|---|
| private Value readNumericBinary(int paramLen) throws IOException | |
| readShort | back to summary |
|---|---|
| private short readShort() throws IOException | |
| readString | back to summary |
|---|---|
| private String readString() throws IOException | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| sendAuthenticationCleartextPassword | back to summary |
|---|---|
| private void sendAuthenticationCleartextPassword() throws IOException | |
| sendAuthenticationOk | back to summary |
|---|---|
| private void sendAuthenticationOk() throws IOException | |
| sendBackendKeyData | back to summary |
|---|---|
| private void sendBackendKeyData() throws IOException | |
| sendBindComplete | back to summary |
|---|---|
| private void sendBindComplete() throws IOException | |
| sendCancelQueryResponse | back to summary |
|---|---|
| private void sendCancelQueryResponse() throws IOException | |
| sendCloseComplete | back to summary |
|---|---|
| private void sendCloseComplete() throws IOException | |
| sendCommandComplete | back to summary |
|---|---|
| private void sendCommandComplete(CommandInterface command, long updateCount) throws IOException | |
| sendCommandSuspended | back to summary |
|---|---|
| private void sendCommandSuspended() throws IOException | |
| sendDataRow | back to summary |
|---|---|
| private void sendDataRow(ResultInterface result, int[] formatCodes) throws IOException | |
| sendErrorOrCancelResponse | back to summary |
|---|---|
| private void sendErrorOrCancelResponse(Exception e) throws IOException | |
| sendErrorResponse | back to summary |
|---|---|
| private void sendErrorResponse(Exception re) throws IOException | |
| sendErrorResponse | back to summary |
|---|---|
| private void sendErrorResponse(String message) throws IOException | |
| sendMessage | back to summary |
|---|---|
| private void sendMessage() throws IOException | |
| sendNoData | back to summary |
|---|---|
| private void sendNoData() throws IOException | |
| sendParameterDescription | back to summary |
|---|---|
| private void sendParameterDescription(ArrayList<? extends ParameterInterface> parameters, int[] paramTypes) throws Exception | |
| sendParameterStatus | back to summary |
|---|---|
| private void sendParameterStatus(String param, String value) throws IOException | |
| sendParseComplete | back to summary |
|---|---|
| private void sendParseComplete() throws IOException | |
| sendReadyForQuery | back to summary |
|---|---|
| private void sendReadyForQuery() throws IOException | |
| sendRowDescription | back to summary |
|---|---|
| private void sendRowDescription(ResultInterface result, int[] formatCodes) throws IOException | |
| setActiveRequest | back to summary |
|---|---|
| private synchronized void setActiveRequest(CommandInterface statement) | |
| setParameter | back to summary |
|---|---|
| private void setParameter(ArrayList<? extends ParameterInterface> parameters, int pgType, int i, int[] formatCodes) throws IOException | |
| setProcessId | back to summary |
|---|---|
| pack-priv void setProcessId(int id) | |
| setThread | back to summary |
|---|---|
| pack-priv void setThread(Thread thread) | |
| startMessage | back to summary |
|---|---|
| private void startMessage(int newMessageType) | |
| toPostgreDays | back to summary |
|---|---|
| private static long toPostgreDays(long dateValue) | |
| write | back to summary |
|---|---|
| private void write(byte[] data) throws IOException | |
| write | back to summary |
|---|---|
| private void write(ByteArrayOutputStream baos) throws IOException | |
| write | back to summary |
|---|---|
| private void write(int b) throws IOException | |
| writeDataColumn | back to summary |
|---|---|
| private void writeDataColumn(Value v, int pgType, boolean text) throws IOException | |
| writeInt | back to summary |
|---|---|
| private void writeInt(int i) throws IOException | |
| writeNumericBinary | back to summary |
|---|---|
| private void writeNumericBinary(BigDecimal value) throws IOException | |
| writeShort | back to summary |
|---|---|
| private void writeShort(int i) throws IOException | |
| writeString | back to summary |
|---|---|
| private void writeString(String s) throws IOException | |
| writeStringPart | back to summary |
|---|---|
| private void writeStringPart(String s) throws IOException | |
| writeTimeBinary | back to summary |
|---|---|
| private void writeTimeBinary(long m, int numBytes) throws IOException | |
| writeTimestampBinary | back to summary |
|---|---|
| private void writeTimestampBinary(long m, long nanos) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | name
The portal name. |
| pack-priv PgServerThread. | prep
The prepared object. |
| pack-priv int[] | resultColumnFormat
The format used in the result set columns (if set). |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| name | back to summary |
|---|---|
| pack-priv String name The portal name. | |
| prep | back to summary |
|---|---|
| pack-priv PgServerThread. The prepared object. | |
| resultColumnFormat | back to summary |
|---|---|
| pack-priv int[] resultColumnFormat The format used in the result set columns (if set). | |
| Portal | back to summary |
|---|---|
| pack-priv Portal() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | name
The object name. |
| pack-priv int[] | paramType
The list of parameter types (if set). |
| pack-priv CommandInterface | prep
The prepared statement. |
| pack-priv ResultInterface | result
The current result (for suspended portal). |
| pack-priv String | sql
The SQL statement. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void |
| name | back to summary |
|---|---|
| pack-priv String name The object name. | |
| paramType | back to summary |
|---|---|
| pack-priv int[] paramType The list of parameter types (if set). | |
| prep | back to summary |
|---|---|
| pack-priv CommandInterface prep The prepared statement. | |
| result | back to summary |
|---|---|
| pack-priv ResultInterface result The current result (for suspended portal). | |
| sql | back to summary |
|---|---|
| pack-priv String sql The SQL statement. | |
| Prepared | back to summary |
|---|---|
| pack-priv Prepared() | |
| close | back to summary |
|---|---|
| pack-priv void close() Closes prepared statement and result, if any. | |
| closeResult | back to summary |
|---|---|
| pack-priv void closeResult() Closes the result, if any. | |