Helper class to handle boolean type of PostgreSQL.
Based on values accepted by the PostgreSQL server: https://www.postgresql.org/docs/current/static/datatype-boolean.html
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static PSQLException | |
| pack-priv static boolean | Returns: boolean value corresponding to the cast of the objectObject to cast into boolean in)Cast an Object value to the corresponding boolean value. |
| private static boolean | |
| private static boolean | |
| pack-priv static boolean |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| BooleanTypeUtil | back to summary |
|---|---|
| private BooleanTypeUtil() | |
| cannotCoerceException | back to summary |
|---|---|
| private static PSQLException cannotCoerceException(final Object value) | |
| castToBoolean | back to summary |
|---|---|
| pack-priv static boolean castToBoolean(final Object in) throws PSQLException Cast an Object value to the corresponding boolean value.
| |
| fromCharacter | back to summary |
|---|---|
| private static boolean fromCharacter(final Character charval) throws PSQLException | |
| fromNumber | back to summary |
|---|---|
| private static boolean fromNumber(final Number numval) throws PSQLException | |
| fromString | back to summary |
|---|---|
| pack-priv static boolean fromString(final String strval) throws PSQLException | |