The Postgres JDBC driver is known to miss out on quite a few JDBC feature implementations. This class should fill those gaps.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static int | |
| private static boolean | |
| private static int | |
| public static byte[] | |
| private static byte[] | |
| private static byte[] | |
| public static DayToSecond | |
| public static DayToSecond | |
| public static List | |
| public static String | |
| private static StringBuilder | |
| public static PGInterval | toPGInterval(DayToSecond interval)
Convert a jOOQ |
| public static PGInterval | toPGInterval(YearToSecond interval)
Convert a jOOQ |
| public static PGInterval | toPGInterval(YearToMonth interval)
Convert a jOOQ |
| public static List | |
| private static List | |
| public static String | |
| public static String | |
| public static String | |
| private static StringBuilder | |
| private static StringBuilder | |
| public static YearToMonth | |
| public static YearToMonth | |
| public static YearToSecond |
| POSTGRESQL_HEX_STRING_PREFIX | back to summary |
|---|---|
| private static final String POSTGRESQL_HEX_STRING_PREFIX | |
| PostgresUtils | back to summary |
|---|---|
| public PostgresUtils() | |
| convertOctalToBytes | back to summary |
|---|---|
| private static void convertOctalToBytes(final Reader reader, final OutputStream bytes) throws IOException | |
| hexValue | back to summary |
|---|---|
| private static int hexValue(final int hexDigit) Get the hex value of a | |
| isDeepEmpty | back to summary |
|---|---|
| private static boolean isDeepEmpty(Object[] a) | |
| octalValue | back to summary |
|---|---|
| private static int octalValue(final int octalDigit) Get the octal value of a | |
| toBytes | back to summary |
|---|---|
| public static byte[] toBytes(final String string) Parse a Postgres-encoded | |
| toBytesFromHexEncoding | back to summary |
|---|---|
| private static byte[] toBytesFromHexEncoding(String string) | |
| toBytesFromOctalEncoding | back to summary |
|---|---|
| private static byte[] toBytesFromOctalEncoding(final String string) | |
| toDayToSecond | back to summary |
|---|---|
| public static DayToSecond toDayToSecond(Object pgInterval) Convert a Postgres interval to a jOOQ | |
| toDayToSecond | back to summary |
|---|---|
| public static DayToSecond toDayToSecond(PGInterval pgInterval) Convert a Postgres interval to a jOOQ | |
| toPGArray | back to summary |
|---|---|
| public static List Tokenize a PGObject input string. | |
| toPGArrayString | back to summary |
|---|---|
| public static String toPGArrayString(Object[] value) Create a Postgres string representation of an array | |
| toPGArrayString0 | back to summary |
|---|---|
| private static StringBuilder toPGArrayString0(Object[] value, StringBuilder sb) | |
| toPGInterval | back to summary |
|---|---|
| public static PGInterval toPGInterval(DayToSecond interval) Convert a jOOQ | |
| toPGInterval | back to summary |
|---|---|
| public static PGInterval toPGInterval(YearToSecond interval) Convert a jOOQ | |
| toPGInterval | back to summary |
|---|---|
| public static PGInterval toPGInterval(YearToMonth interval) Convert a jOOQ | |
| toPGObject | back to summary |
|---|---|
| public static List Tokenize a PGObject input string. | |
| toPGObjectOrArray | back to summary |
|---|---|
| private static List Tokenize a PGObject input string.
| |
| toPGString | back to summary |
|---|---|
| public static String toPGString(Object o) Create a PostgreSQL string representation of any object. | |
| toPGString | back to summary |
|---|---|
| public static String toPGString(Record r) Create a PostgreSQL string representation of a record. | |
| toPGString | back to summary |
|---|---|
| public static String toPGString(byte[] binary) Create a PostgreSQL string representation of a binary. | |
| toPGString0 | back to summary |
|---|---|
| private static StringBuilder toPGString0(Record r, StringBuilder sb) | |
| toPGString0 | back to summary |
|---|---|
| private static StringBuilder toPGString0(byte[] binary, StringBuilder sb) | |
| toYearToMonth | back to summary |
|---|---|
| public static YearToMonth toYearToMonth(Object pgInterval) Convert a Postgres interval to a jOOQ | |
| toYearToMonth | back to summary |
|---|---|
| public static YearToMonth toYearToMonth(PGInterval pgInterval) Convert a Postgres interval to a jOOQ | |
| toYearToSecond | back to summary |
|---|---|
| public static YearToSecond toYearToSecond(Object pgInterval) Convert a Postgres interval to a jOOQ | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PostgresUtils. | |
| public static final PostgresUtils. | |
| public static final PostgresUtils. | |
| public static final PostgresUtils. | |
| public static final PostgresUtils. | |
| public static final PostgresUtils. | |
| public static final PostgresUtils. | |
| public static final PostgresUtils. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PostgresUtils. | |
| public static PostgresUtils. |
| PG_OBJECT_AFTER_VALUE | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PG_OBJECT_BEFORE_VALUE | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PG_OBJECT_END | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PG_OBJECT_INIT | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PG_OBJECT_NESTED_QUOTED_VALUE | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PG_OBJECT_NESTED_VALUE | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PG_OBJECT_QUOTED_VALUE | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PG_OBJECT_UNQUOTED_VALUE | back to summary |
|---|---|
| public static final PostgresUtils. | |
| PGState | back to summary |
|---|---|
| private PGState() | |
| valueOf | back to summary |
|---|---|
| public static PostgresUtils. | |
| values | back to summary |
|---|---|
| public static PostgresUtils. | |