Class PgResultSet
- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper,PGRefCursorResultSet
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final BaseConnectionprotected intprotected @Nullable ResultCursorprotected intprotected final Field[]protected intprotected final intprotected final intprotected booleanprotected final @Nullable Queryprotected intprotected final BaseStatementprotected @Nullable Tupleprotected @Nullable SQLWarningprotected booleanTrue if the last obtained column value was SQL NULL as specified bywasNull().Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE -
Method Summary
Modifier and TypeMethodDescriptionbooleanabsolute(int index) protected voidaddWarning(SQLWarning warnings) voidvoidvoidprotected voidprotected voidcheckColumnIndex(@org.checkerframework.checker.index.qual.Positive int column) voidvoidclose()protected voidcreateColumnNameIndexMap(Field[] fields, boolean isSanitiserDisabled) protected ResultSetMetaDatavoid@org.checkerframework.checker.index.qual.NonNegative intfindColumn(String columnName) booleanfirst()booleanGet state of adaptive fetch for resultSet.@Nullable ArraygetArray(int i) @Nullable Array@Nullable InputStreamgetAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable InputStreamgetAsciiStream(String columnName) @Nullable BigDecimalgetBigDecimal(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable BigDecimalgetBigDecimal(int columnIndex, int scale) @Nullable BigDecimalgetBigDecimal(String columnName) @Nullable BigDecimalgetBigDecimal(String columnName, int scale) @Nullable InputStreamgetBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable InputStreamgetBinaryStream(String columnName) @Nullable BlobgetBlob(int i) @Nullable BlobbooleangetBoolean(@org.checkerframework.checker.index.qual.Positive int columnIndex) Retrieves the value of the designated column in the current row of thisResultSetobject as abooleanin the Java programming language.booleangetBoolean(String columnName) bytegetByte(@org.checkerframework.checker.index.qual.Positive int columnIndex) bytebyte @Nullable []getBytes(@org.checkerframework.checker.index.qual.Positive int columnIndex) byte @Nullable []@Nullable ReadergetCharacterStream(int i) @Nullable ReadergetCharacterStream(String columnName) @Nullable ClobgetClob(int i) @Nullable ClobintgetColumnOID(int field) Returns the OID of a field.int@Nullable String@Nullable DategetDate(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable Date@Nullable Date@Nullable DatedoublegetDouble(@org.checkerframework.checker.index.qual.Positive int columnIndex) doubleintint@Nullable StringgetFixedString(int col) This is used to fix get*() methods on Money fields.floatgetFloat(@org.checkerframework.checker.index.qual.Positive int columnIndex) floatintintgetInt(@org.checkerframework.checker.index.qual.Positive int columnIndex) intintGet fetch size used during last fetch.longgetLong(@org.checkerframework.checker.index.qual.Positive int columnIndex) long@Nullable ReadergetNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable ReadergetNCharacterStream(String columnName) @Nullable NClobgetNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable NClob@Nullable StringgetNString(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable StringgetNString(String columnName) @Nullable ObjectgetObject(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable ObjectgetObject(@org.checkerframework.checker.index.qual.Positive int i, @Nullable Map<String, Class<?>> map) <T> @Nullable T@Nullable Object@Nullable Object<T> @Nullable T@Nullable ObjectgetObjectImpl(int i, @Nullable Map<String, Class<?>> map) @Nullable ObjectgetObjectImpl(String columnName, @Nullable Map<String, Class<?>> map) protected StringgetPGType(@org.checkerframework.checker.index.qual.Positive int column) protected byte @Nullable []getRawValue(@org.checkerframework.checker.index.qual.Positive int column) Checks that the result set is not closed, it's positioned on a valid row and that the given column number is valid.@Nullable RefgetRef(int i) @Nullable Ref@Nullable StringintgetRow()@Nullable RowIdgetRowId(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable RowIdshortgetShort(@org.checkerframework.checker.index.qual.Positive int columnIndex) shortprotected intgetSQLType(@org.checkerframework.checker.index.qual.Positive int column) @Nullable SQLXMLgetSQLXML(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable SQLXML@Nullable StringgetString(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable String@Nullable TimegetTime(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable Time@Nullable Time@Nullable Time@Nullable TimestampgetTimestamp(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable TimestampgetTimestamp(int i, @Nullable Calendar cal) @Nullable TimestampgetTimestamp(String columnName) @Nullable TimestampgetTimestamp(String c, @Nullable Calendar cal) intgetType()@Nullable InputStreamgetUnicodeStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable InputStreamgetUnicodeStream(String columnName) getURL(@org.checkerframework.checker.index.qual.Positive int columnIndex) protected ObjectgetUUID(byte[] data) protected Object@Nullable SQLWarningvoidprotected @Nullable ObjectinternalGetObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, Field field) booleanbooleanprotected booleanisBinary(@org.checkerframework.checker.index.qual.Positive int column) Returns true if the value of the given column is in binary format.booleanisClosed()booleanisFirst()booleanisLast()protected booleanbooleanisWrapperFor(Class<?> iface) booleanlast()protected ArraymakeArray(int oid, byte[] value) protected Arrayprotected BlobmakeBlob(long oid) protected ClobmakeClob(long oid) voidvoidbooleannext()booleanprevious()static @Nullable String[]quotelessTableName(String fullname) Cracks out the table name and schema (if it exists) from a fully qualified table name.voidbooleanrelative(int rows) booleanbooleanbooleanvoidsetAdaptiveFetch(boolean adaptiveFetch) Turn on/off adaptive fetch for ResultSet.voidsetFetchDirection(int direction) voidsetFetchSize(int rows) static @PolyNull BigDecimaltoBigDecimal(@PolyNull String s) @PolyNull BigDecimaltoBigDecimal(@PolyNull String s, int scale) static doublestatic floatstatic intstatic longstatic short<T> TvoidupdateArray(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Array x) voidupdateArray(String columnName, @Nullable Array x) voidupdateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) voidupdateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) voidupdateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) voidupdateAsciiStream(String columnName, @Nullable InputStream inputStream) voidupdateAsciiStream(String columnName, @Nullable InputStream x, int length) voidupdateAsciiStream(String columnName, @Nullable InputStream inputStream, long length) voidupdateBigDecimal(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable BigDecimal x) voidupdateBigDecimal(String columnName, @Nullable BigDecimal x) voidupdateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) voidupdateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) voidupdateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) voidupdateBinaryStream(String columnName, @Nullable InputStream inputStream) voidupdateBinaryStream(String columnName, @Nullable InputStream x, int length) voidupdateBinaryStream(String columnName, @Nullable InputStream inputStream, long length) voidupdateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) voidupdateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) voidupdateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Blob x) voidupdateBlob(String columnName, @Nullable InputStream inputStream) voidupdateBlob(String columnName, @Nullable InputStream inputStream, long length) voidupdateBlob(String columnName, @Nullable Blob x) voidupdateBoolean(@org.checkerframework.checker.index.qual.Positive int columnIndex, boolean x) voidupdateBoolean(String columnName, boolean x) voidupdateByte(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte x) voidupdateByte(String columnName, byte x) voidupdateBytes(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte @Nullable [] x) voidupdateBytes(String columnName, byte @Nullable [] x) voidupdateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) voidupdateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, int length) voidupdateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) voidupdateCharacterStream(String columnName, @Nullable Reader reader) voidupdateCharacterStream(String columnName, @Nullable Reader reader, int length) voidupdateCharacterStream(String columnName, @Nullable Reader reader, long length) voidupdateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) voidupdateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) voidupdateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Clob x) voidupdateClob(String columnName, @Nullable Reader reader) voidupdateClob(String columnName, @Nullable Reader reader, long length) voidupdateClob(String columnName, @Nullable Clob x) voidupdateDate(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Date x) voidupdateDate(String columnName, @Nullable Date x) voidupdateDouble(@org.checkerframework.checker.index.qual.Positive int columnIndex, double x) voidupdateDouble(String columnName, double x) voidupdateFloat(@org.checkerframework.checker.index.qual.Positive int columnIndex, float x) voidupdateFloat(String columnName, float x) voidupdateInt(@org.checkerframework.checker.index.qual.Positive int columnIndex, int x) voidvoidupdateLong(@org.checkerframework.checker.index.qual.Positive int columnIndex, long x) voidupdateLong(String columnName, long x) voidupdateNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x) voidupdateNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, int length) voidupdateNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, long length) voidupdateNCharacterStream(String columnName, @Nullable Reader x) voidupdateNCharacterStream(String columnName, @Nullable Reader x, int length) voidupdateNCharacterStream(String columnName, @Nullable Reader x, long length) voidupdateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) voidupdateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) voidupdateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable NClob nClob) voidupdateNClob(String columnName, @Nullable Reader reader) voidupdateNClob(String columnName, @Nullable Reader reader, long length) voidupdateNClob(String columnName, @Nullable NClob nClob) voidupdateNString(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String nString) voidupdateNString(String columnName, @Nullable String nString) voidupdateNull(@org.checkerframework.checker.index.qual.Positive int columnIndex) voidupdateNull(String columnName) voidupdateObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object x, SQLType targetSqlType) voidupdateObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) voidupdateObject(int columnIndex, @Nullable Object x) voidupdateObject(int columnIndex, @Nullable Object x, int scale) voidupdateObject(String columnName, @Nullable Object x) voidupdateObject(String columnName, @Nullable Object x, int scale) voidupdateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType) voidupdateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) voidvoidvoidvoidupdateRowId(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable RowId x) voidupdateRowId(String columnName, @Nullable RowId x) voidupdateShort(@org.checkerframework.checker.index.qual.Positive int columnIndex, short x) voidupdateShort(String columnName, short x) voidupdateSQLXML(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable SQLXML xmlObject) voidupdateSQLXML(String columnName, @Nullable SQLXML xmlObject) voidupdateString(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String x) voidupdateString(String columnName, @Nullable String x) voidupdateTime(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Time x) voidupdateTime(String columnName, @Nullable Time x) voidupdateTimestamp(int columnIndex, @Nullable Timestamp x) voidupdateTimestamp(String columnName, @Nullable Timestamp x) protected voidupdateValue(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object value) protected PgResultSetThis is here to be used by metadata functions to make all column labels upper case.booleanwasNull()
-
Field Details
-
connection
-
statement
-
fields
-
originalQuery
-
maxRows
protected final int maxRows -
maxFieldSize
protected final int maxFieldSize -
rows
-
currentRow
protected int currentRow -
rowOffset
protected int rowOffset -
thisRow
-
warnings
-
wasNullFlag
protected boolean wasNullFlagTrue if the last obtained column value was SQL NULL as specified bywasNull(). The value is always updated by thegetRawValue(int)method. -
onInsertRow
protected boolean onInsertRow -
fetchSize
protected int fetchSize -
lastUsedFetchSize
protected int lastUsedFetchSize -
adaptiveFetch
protected boolean adaptiveFetch -
cursor
-
-
Method Details
-
createMetaData
- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaDatain interfaceResultSet- Throws:
SQLException
-
getURL
public URL getURL(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getURL
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
internalGetObject
@RequiresNonNull("thisRow") protected @Nullable Object internalGetObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, Field field) throws SQLException - Throws:
SQLException
-
absolute
- Specified by:
absolutein interfaceResultSet- Throws:
SQLException
-
afterLast
- Specified by:
afterLastin interfaceResultSet- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirstin interfaceResultSet- Throws:
SQLException
-
first
- Specified by:
firstin interfaceResultSet- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
makeArray
- Throws:
SQLException
-
makeArray
- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
public @Nullable BigDecimal getBigDecimal(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
makeBlob
- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
makeClob
- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getConcurrency
- Specified by:
getConcurrencyin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getFetchDirection
- Specified by:
getFetchDirectionin interfaceResultSet- Throws:
SQLException
-
getObjectImpl
public @Nullable Object getObjectImpl(String columnName, @Nullable Map<String, Class<?>> map) throws SQLException- Throws:
SQLException
-
getObjectImpl
public @Nullable Object getObjectImpl(int i, @Nullable Map<String, Class<?>> map) throws SQLException- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getRow
- Specified by:
getRowin interfaceResultSet- Throws:
SQLException
-
getStatement
- Specified by:
getStatementin interfaceResultSet- Throws:
SQLException
-
getType
- Specified by:
getTypein interfaceResultSet- Throws:
SQLException
-
isAfterLast
- Specified by:
isAfterLastin interfaceResultSet- Throws:
SQLException
-
isBeforeFirst
- Specified by:
isBeforeFirstin interfaceResultSet- Throws:
SQLException
-
isFirst
- Specified by:
isFirstin interfaceResultSet- Throws:
SQLException
-
isLast
- Specified by:
isLastin interfaceResultSet- Throws:
SQLException
-
last
- Specified by:
lastin interfaceResultSet- Throws:
SQLException
-
previous
- Specified by:
previousin interfaceResultSet- Throws:
SQLException
-
relative
- Specified by:
relativein interfaceResultSet- Throws:
SQLException
-
setFetchDirection
- Specified by:
setFetchDirectionin interfaceResultSet- Throws:
SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdatesin interfaceResultSet- Throws:
SQLException
-
deleteRow
- Specified by:
deleteRowin interfaceResultSet- Throws:
SQLException
-
insertRow
- Specified by:
insertRowin interfaceResultSet- Throws:
SQLException
-
moveToCurrentRow
- Specified by:
moveToCurrentRowin interfaceResultSet- Throws:
SQLException
-
moveToInsertRow
- Specified by:
moveToInsertRowin interfaceResultSet- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeletedin interfaceResultSet- Throws:
SQLException
-
rowInserted
- Specified by:
rowInsertedin interfaceResultSet- Throws:
SQLException
-
rowUpdated
- Specified by:
rowUpdatedin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable BigDecimal x) throws SQLException - Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBoolean
public void updateBoolean(@org.checkerframework.checker.index.qual.Positive int columnIndex, boolean x) throws SQLException - Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
public void updateByte(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte x) throws SQLException - Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateBytes
public void updateBytes(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte @Nullable [] x) throws SQLException - Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, int length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateDate
public void updateDate(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Date x) throws SQLException - Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateDouble
public void updateDouble(@org.checkerframework.checker.index.qual.Positive int columnIndex, double x) throws SQLException - Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateFloat
public void updateFloat(@org.checkerframework.checker.index.qual.Positive int columnIndex, float x) throws SQLException - Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateInt
public void updateInt(@org.checkerframework.checker.index.qual.Positive int columnIndex, int x) throws SQLException - Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateLong
public void updateLong(@org.checkerframework.checker.index.qual.Positive int columnIndex, long x) throws SQLException - Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateNull
public void updateNull(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
refreshRow
- Specified by:
refreshRowin interfaceResultSet- Throws:
SQLException
-
updateRow
- Specified by:
updateRowin interfaceResultSet- Throws:
SQLException
-
updateShort
public void updateShort(@org.checkerframework.checker.index.qual.Positive int columnIndex, short x) throws SQLException - Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateString
public void updateString(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String x) throws SQLException - Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateTime
public void updateTime(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Time x) throws SQLException - Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateNull
- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateShort
- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateInt
- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateLong
- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateDouble
- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateString
- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateDate
- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateTime
- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnName, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnName, @Nullable Reader reader, int length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
setAdaptiveFetch
Turn on/off adaptive fetch for ResultSet.- Parameters:
adaptiveFetch- desired state of adaptive fetch.- Throws:
SQLException- exception returned if ResultSet is closed
-
getAdaptiveFetch
Get state of adaptive fetch for resultSet.- Returns:
- state of adaptive fetch (turned on or off)
- Throws:
SQLException- exception returned if ResultSet is closed
-
quotelessTableName
Cracks out the table name and schema (if it exists) from a fully qualified table name.- Parameters:
fullname- string that we are trying to crack. Test cases:Table: table () "Table": Table () Schema.Table: table (schema) "Schema"."Table": Table (Schema) "Schema"."Dot.Table": Dot.Table (Schema) Schema."Dot.Table": Dot.Table (schema)- Returns:
- String array with element zero always being the tablename and element 1 the schema name which may be a zero length string.
-
getPGStatement
-
getRefCursor
- Specified by:
getRefCursorin interfacePGRefCursorResultSet- Returns:
- the name of the cursor.
-
setFetchSize
- Specified by:
setFetchSizein interfaceResultSet- Throws:
SQLException
-
getFetchSize
- Specified by:
getFetchSizein interfaceResultSet- Throws:
SQLException
-
getLastUsedFetchSize
Get fetch size used during last fetch. Returned value can be useful if using adaptive fetch.- Returns:
- fetch size used during last fetch.
- Throws:
SQLException- exception returned if ResultSet is closed
-
next
- Specified by:
nextin interfaceResultSet- Throws:
SQLException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceResultSet- Throws:
SQLException
-
closeInternally
- Throws:
SQLException
-
wasNull
- Specified by:
wasNullin interfaceResultSet- Throws:
SQLException
-
getString
@Pure public @Nullable String getString(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
@Pure public boolean getBoolean(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException Retrieves the value of the designated column in the current row of this
ResultSetobject as abooleanin the Java programming language.If the designated column has a Character datatype and is one of the following values: "1", "true", "t", "yes", "y" or "on", a value of
trueis returned. If the designated column has a Character datatype and is one of the following values: "0", "false", "f", "no", "n" or "off", a value offalseis returned. Leading or trailing whitespace is ignored, and case does not matter.If the designated column has a Numeric datatype and is a 1, a value of
trueis returned. If the designated column has a Numeric datatype and is a 0, a value offalseis returned.- Specified by:
getBooleanin interfaceResultSet- Parameters:
columnIndex- the first column is 1, the second is 2, ...- Returns:
- the column value; if the value is SQL
NULL, the value returned isfalse - Throws:
SQLException- if the columnIndex is not valid; if a database access error occurs; if this method is called on a closed result set or is an invalid cast to boolean type.- See Also:
-
getByte
public byte getByte(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
public short getShort(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getInt
@Pure public int getInt(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
@Pure public long getLong(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
@Pure public float getFloat(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
@Pure public double getDouble(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
@Pure public byte @Nullable [] getBytes(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException In normal use, the bytes represent the raw values returned by the backend. However, if the column is an OID, then it is assumed to refer to a Large Object, and that object is returned as a byte array.
Be warned If the large object is huge, then you may run out of memory.
- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
@Pure public @Nullable Date getDate(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
@Pure public @Nullable Time getTime(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
@Pure public @Nullable Timestamp getTimestamp(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
@Pure public @Nullable InputStream getAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
@Pure public @Nullable InputStream getUnicodeStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
@Pure public @Nullable InputStream getBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getString
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getWarnings
- Specified by:
getWarningsin interfaceResultSet- Throws:
SQLException
-
clearWarnings
- Specified by:
clearWarningsin interfaceResultSet- Throws:
SQLException
-
addWarning
-
getCursorName
- Specified by:
getCursorNamein interfaceResultSet- Throws:
SQLException
-
getObject
public @Nullable Object getObject(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
findColumn
public @org.checkerframework.checker.index.qual.NonNegative int findColumn(String columnName) throws SQLException - Specified by:
findColumnin interfaceResultSet- Throws:
SQLException
-
createColumnNameIndexMap
-
getColumnOID
public int getColumnOID(int field) Returns the OID of a field. It is used internally by the driver.- Parameters:
field- field index- Returns:
- OID of a field
-
getFixedString
This is used to fix get*() methods on Money fields. It should only be used by those methods!
It converts ($##.##) to -##.## and $##.## to ##.##
- Parameters:
col- column position (1-based)- Returns:
- numeric-parsable representation of money string literal
- Throws:
SQLException- if something wrong happens
-
getPGType
@Pure protected String getPGType(@org.checkerframework.checker.index.qual.Positive int column) throws SQLException - Throws:
SQLException
-
getSQLType
@Pure protected int getSQLType(@org.checkerframework.checker.index.qual.Positive int column) throws SQLException - Throws:
SQLException
-
checkClosed
- Throws:
SQLException
-
isResultSetClosed
protected boolean isResultSetClosed() -
checkColumnIndex
@Pure protected void checkColumnIndex(@org.checkerframework.checker.index.qual.Positive int column) throws SQLException - Throws:
SQLException
-
getRawValue
@EnsuresNonNull("thisRow") protected byte @Nullable [] getRawValue(@org.checkerframework.checker.index.qual.Positive int column) throws SQLException Checks that the result set is not closed, it's positioned on a valid row and that the given column number is valid. Also updates thewasNullFlagto correct value.- Parameters:
column- The column number to check. Range starts from 1.- Returns:
- raw value or null
- Throws:
SQLException- If state or column is invalid.
-
isBinary
@Pure protected boolean isBinary(@org.checkerframework.checker.index.qual.Positive int column) Returns true if the value of the given column is in binary format.- Parameters:
column- The column to check. Range starts from 1.- Returns:
- True if the column is in binary format.
-
toShort
- Throws:
SQLException
-
toInt
- Throws:
SQLException
-
toLong
- Throws:
SQLException
-
toBigDecimal
- Throws:
SQLException
-
toBigDecimal
- Throws:
SQLException
-
toFloat
- Throws:
SQLException
-
toDouble
- Throws:
SQLException
-
updateValue
protected void updateValue(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object value) throws SQLException - Throws:
SQLException
-
getUUID
- Throws:
SQLException
-
getUUID
- Throws:
SQLException
-
updateRef
public void updateRef(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Ref x) throws SQLException - Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateRef
- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Blob x) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Clob x) throws SQLException - Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateArray
public void updateArray(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Array x) throws SQLException - Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
updateArray
- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
getObject
public <T> @Nullable T getObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, Class<T> type) throws SQLException - Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
public @Nullable Object getObject(@org.checkerframework.checker.index.qual.Positive int i, @Nullable Map<String, Class<?>> map) throws SQLException- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object x, SQLType targetSqlType) throws SQLException - Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType) throws SQLException - Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
getRowId
public @Nullable RowId getRowId(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getRowId
- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
updateRowId
public void updateRowId(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable RowId x) throws SQLException - Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
getHoldability
- Specified by:
getHoldabilityin interfaceResultSet- Throws:
SQLException
-
isClosed
- Specified by:
isClosedin interfaceResultSet- Throws:
SQLException
-
updateNString
public void updateNString(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String nString) throws SQLException - Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNString
- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable NClob nClob) throws SQLException - Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) throws SQLException - Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnName, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
getNClob
public @Nullable NClob getNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getNClob
- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnName, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) throws SQLException - Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
getSQLXML
@Pure public @Nullable SQLXML getSQLXML(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
public void updateSQLXML(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable SQLXML xmlObject) throws SQLException - Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
getNString
public @Nullable String getNString(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getNString
- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
public @Nullable Reader getNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, int length) throws SQLException - Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnName, @Nullable Reader x, int length) throws SQLException - Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x) throws SQLException - Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, long length) throws SQLException - Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnName, @Nullable Reader x, long length) throws SQLException - Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnName, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnName, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnName, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
upperCaseFieldLabels
This is here to be used by metadata functions to make all column labels upper case. Because postgres folds columns to lower case in queries it will be easier to change the fields after the fact rather than try to coerce all the columns to upper case in the queries as this would require surrounding all columns with " and escaping them making them even harder to read than they are now.- Returns:
- PgResultSet
-