Class PgResultSet
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
,PGRefCursorResultSet
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected final BaseConnection
protected int
protected @Nullable ResultCursor
protected int
protected final Field[]
protected int
protected final int
protected final int
protected boolean
protected final @Nullable Query
protected int
protected final BaseStatement
protected @Nullable Tuple
protected @Nullable SQLWarning
protected boolean
True 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 TypeMethodDescriptionboolean
absolute
(int index) protected void
addWarning
(SQLWarning warnings) void
void
void
protected void
protected void
checkColumnIndex
(@org.checkerframework.checker.index.qual.Positive int column) void
void
close()
protected void
createColumnNameIndexMap
(Field[] fields, boolean isSanitiserDisabled) protected ResultSetMetaData
void
@org.checkerframework.checker.index.qual.NonNegative int
findColumn
(String columnName) boolean
first()
boolean
Get state of adaptive fetch for resultSet.@Nullable Array
getArray
(int i) @Nullable Array
@Nullable InputStream
getAsciiStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable InputStream
getAsciiStream
(String columnName) @Nullable BigDecimal
getBigDecimal
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable BigDecimal
getBigDecimal
(int columnIndex, int scale) @Nullable BigDecimal
getBigDecimal
(String columnName) @Nullable BigDecimal
getBigDecimal
(String columnName, int scale) @Nullable InputStream
getBinaryStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable InputStream
getBinaryStream
(String columnName) @Nullable Blob
getBlob
(int i) @Nullable Blob
boolean
getBoolean
(@org.checkerframework.checker.index.qual.Positive int columnIndex) Retrieves the value of the designated column in the current row of thisResultSet
object as aboolean
in the Java programming language.boolean
getBoolean
(String columnName) byte
getByte
(@org.checkerframework.checker.index.qual.Positive int columnIndex) byte
byte @Nullable []
getBytes
(@org.checkerframework.checker.index.qual.Positive int columnIndex) byte @Nullable []
@Nullable Reader
getCharacterStream
(int i) @Nullable Reader
getCharacterStream
(String columnName) @Nullable Clob
getClob
(int i) @Nullable Clob
int
getColumnOID
(int field) Returns the OID of a field.int
@Nullable String
@Nullable Date
getDate
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable Date
@Nullable Date
@Nullable Date
double
getDouble
(@org.checkerframework.checker.index.qual.Positive int columnIndex) double
int
int
@Nullable String
getFixedString
(int col) This is used to fix get*() methods on Money fields.float
getFloat
(@org.checkerframework.checker.index.qual.Positive int columnIndex) float
int
int
getInt
(@org.checkerframework.checker.index.qual.Positive int columnIndex) int
int
Get fetch size used during last fetch.long
getLong
(@org.checkerframework.checker.index.qual.Positive int columnIndex) long
@Nullable Reader
getNCharacterStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable Reader
getNCharacterStream
(String columnName) @Nullable NClob
getNClob
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable NClob
@Nullable String
getNString
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable String
getNString
(String columnName) @Nullable Object
getObject
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable Object
getObject
(@org.checkerframework.checker.index.qual.Positive int i, @Nullable Map<String, Class<?>> map) <T> @Nullable T
@Nullable Object
@Nullable Object
<T> @Nullable T
@Nullable Object
getObjectImpl
(int i, @Nullable Map<String, Class<?>> map) @Nullable Object
getObjectImpl
(String columnName, @Nullable Map<String, Class<?>> map) protected String
getPGType
(@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 Ref
getRef
(int i) @Nullable Ref
@Nullable String
int
getRow()
@Nullable RowId
getRowId
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable RowId
short
getShort
(@org.checkerframework.checker.index.qual.Positive int columnIndex) short
protected int
getSQLType
(@org.checkerframework.checker.index.qual.Positive int column) @Nullable SQLXML
getSQLXML
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable SQLXML
@Nullable String
getString
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable String
@Nullable Time
getTime
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable Time
@Nullable Time
@Nullable Time
@Nullable Timestamp
getTimestamp
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable Timestamp
getTimestamp
(int i, @Nullable Calendar cal) @Nullable Timestamp
getTimestamp
(String columnName) @Nullable Timestamp
getTimestamp
(String c, @Nullable Calendar cal) int
getType()
@Nullable InputStream
getUnicodeStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex) @Nullable InputStream
getUnicodeStream
(String columnName) getURL
(@org.checkerframework.checker.index.qual.Positive int columnIndex) protected Object
getUUID
(byte[] data) protected Object
@Nullable SQLWarning
void
protected @Nullable Object
internalGetObject
(@org.checkerframework.checker.index.qual.Positive int columnIndex, Field field) boolean
boolean
protected boolean
isBinary
(@org.checkerframework.checker.index.qual.Positive int column) Returns true if the value of the given column is in binary format.boolean
isClosed()
boolean
isFirst()
boolean
isLast()
protected boolean
boolean
isWrapperFor
(Class<?> iface) boolean
last()
protected Array
makeArray
(int oid, byte[] value) protected Array
protected Blob
makeBlob
(long oid) protected Clob
makeClob
(long oid) void
void
boolean
next()
boolean
previous()
static @Nullable String[]
quotelessTableName
(String fullname) Cracks out the table name and schema (if it exists) from a fully qualified table name.void
boolean
relative
(int rows) boolean
boolean
boolean
void
setAdaptiveFetch
(boolean adaptiveFetch) Turn on/off adaptive fetch for ResultSet.void
setFetchDirection
(int direction) void
setFetchSize
(int rows) static @PolyNull BigDecimal
toBigDecimal
(@PolyNull String s) @PolyNull BigDecimal
toBigDecimal
(@PolyNull String s, int scale) static double
static float
static int
static long
static short
<T> T
void
updateArray
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Array x) void
updateArray
(String columnName, @Nullable Array x) void
updateAsciiStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) void
updateAsciiStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) void
updateAsciiStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) void
updateAsciiStream
(String columnName, @Nullable InputStream inputStream) void
updateAsciiStream
(String columnName, @Nullable InputStream x, int length) void
updateAsciiStream
(String columnName, @Nullable InputStream inputStream, long length) void
updateBigDecimal
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable BigDecimal x) void
updateBigDecimal
(String columnName, @Nullable BigDecimal x) void
updateBinaryStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) void
updateBinaryStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) void
updateBinaryStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) void
updateBinaryStream
(String columnName, @Nullable InputStream inputStream) void
updateBinaryStream
(String columnName, @Nullable InputStream x, int length) void
updateBinaryStream
(String columnName, @Nullable InputStream inputStream, long length) void
updateBlob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) void
updateBlob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) void
updateBlob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Blob x) void
updateBlob
(String columnName, @Nullable InputStream inputStream) void
updateBlob
(String columnName, @Nullable InputStream inputStream, long length) void
updateBlob
(String columnName, @Nullable Blob x) void
updateBoolean
(@org.checkerframework.checker.index.qual.Positive int columnIndex, boolean x) void
updateBoolean
(String columnName, boolean x) void
updateByte
(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte x) void
updateByte
(String columnName, byte x) void
updateBytes
(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte @Nullable [] x) void
updateBytes
(String columnName, byte @Nullable [] x) void
updateCharacterStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) void
updateCharacterStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, int length) void
updateCharacterStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) void
updateCharacterStream
(String columnName, @Nullable Reader reader) void
updateCharacterStream
(String columnName, @Nullable Reader reader, int length) void
updateCharacterStream
(String columnName, @Nullable Reader reader, long length) void
updateClob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) void
updateClob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) void
updateClob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Clob x) void
updateClob
(String columnName, @Nullable Reader reader) void
updateClob
(String columnName, @Nullable Reader reader, long length) void
updateClob
(String columnName, @Nullable Clob x) void
updateDate
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Date x) void
updateDate
(String columnName, @Nullable Date x) void
updateDouble
(@org.checkerframework.checker.index.qual.Positive int columnIndex, double x) void
updateDouble
(String columnName, double x) void
updateFloat
(@org.checkerframework.checker.index.qual.Positive int columnIndex, float x) void
updateFloat
(String columnName, float x) void
updateInt
(@org.checkerframework.checker.index.qual.Positive int columnIndex, int x) void
void
updateLong
(@org.checkerframework.checker.index.qual.Positive int columnIndex, long x) void
updateLong
(String columnName, long x) void
updateNCharacterStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x) void
updateNCharacterStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, int length) void
updateNCharacterStream
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, long length) void
updateNCharacterStream
(String columnName, @Nullable Reader x) void
updateNCharacterStream
(String columnName, @Nullable Reader x, int length) void
updateNCharacterStream
(String columnName, @Nullable Reader x, long length) void
updateNClob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) void
updateNClob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) void
updateNClob
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable NClob nClob) void
updateNClob
(String columnName, @Nullable Reader reader) void
updateNClob
(String columnName, @Nullable Reader reader, long length) void
updateNClob
(String columnName, @Nullable NClob nClob) void
updateNString
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String nString) void
updateNString
(String columnName, @Nullable String nString) void
updateNull
(@org.checkerframework.checker.index.qual.Positive int columnIndex) void
updateNull
(String columnName) void
updateObject
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object x, SQLType targetSqlType) void
updateObject
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) void
updateObject
(int columnIndex, @Nullable Object x) void
updateObject
(int columnIndex, @Nullable Object x, int scale) void
updateObject
(String columnName, @Nullable Object x) void
updateObject
(String columnName, @Nullable Object x, int scale) void
updateObject
(String columnLabel, @Nullable Object x, SQLType targetSqlType) void
updateObject
(String columnLabel, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) void
void
void
void
updateRowId
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable RowId x) void
updateRowId
(String columnName, @Nullable RowId x) void
updateShort
(@org.checkerframework.checker.index.qual.Positive int columnIndex, short x) void
updateShort
(String columnName, short x) void
updateSQLXML
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable SQLXML xmlObject) void
updateSQLXML
(String columnName, @Nullable SQLXML xmlObject) void
updateString
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String x) void
updateString
(String columnName, @Nullable String x) void
updateTime
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Time x) void
updateTime
(String columnName, @Nullable Time x) void
updateTimestamp
(int columnIndex, @Nullable Timestamp x) void
updateTimestamp
(String columnName, @Nullable Timestamp x) protected void
updateValue
(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object value) protected PgResultSet
This is here to be used by metadata functions to make all column labels upper case.boolean
wasNull()
-
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:
getMetaData
in interfaceResultSet
- Throws:
SQLException
-
getURL
public URL getURL(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in 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:
absolute
in interfaceResultSet
- Throws:
SQLException
-
afterLast
- Specified by:
afterLast
in interfaceResultSet
- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirst
in interfaceResultSet
- Throws:
SQLException
-
first
- Specified by:
first
in interfaceResultSet
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
makeArray
- Throws:
SQLException
-
makeArray
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
public @Nullable BigDecimal getBigDecimal(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
makeBlob
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
makeClob
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getConcurrency
- Specified by:
getConcurrency
in interfaceResultSet
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getFetchDirection
- Specified by:
getFetchDirection
in 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:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getRef
- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getRow
- Specified by:
getRow
in interfaceResultSet
- Throws:
SQLException
-
getStatement
- Specified by:
getStatement
in interfaceResultSet
- Throws:
SQLException
-
getType
- Specified by:
getType
in interfaceResultSet
- Throws:
SQLException
-
isAfterLast
- Specified by:
isAfterLast
in interfaceResultSet
- Throws:
SQLException
-
isBeforeFirst
- Specified by:
isBeforeFirst
in interfaceResultSet
- Throws:
SQLException
-
isFirst
- Specified by:
isFirst
in interfaceResultSet
- Throws:
SQLException
-
isLast
- Specified by:
isLast
in interfaceResultSet
- Throws:
SQLException
-
last
- Specified by:
last
in interfaceResultSet
- Throws:
SQLException
-
previous
- Specified by:
previous
in interfaceResultSet
- Throws:
SQLException
-
relative
- Specified by:
relative
in interfaceResultSet
- Throws:
SQLException
-
setFetchDirection
- Specified by:
setFetchDirection
in interfaceResultSet
- Throws:
SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdates
in interfaceResultSet
- Throws:
SQLException
-
deleteRow
- Specified by:
deleteRow
in interfaceResultSet
- Throws:
SQLException
-
insertRow
- Specified by:
insertRow
in interfaceResultSet
- Throws:
SQLException
-
moveToCurrentRow
- Specified by:
moveToCurrentRow
in interfaceResultSet
- Throws:
SQLException
-
moveToInsertRow
- Specified by:
moveToInsertRow
in interfaceResultSet
- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeleted
in interfaceResultSet
- Throws:
SQLException
-
rowInserted
- Specified by:
rowInserted
in interfaceResultSet
- Throws:
SQLException
-
rowUpdated
- Specified by:
rowUpdated
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable BigDecimal x) throws SQLException - Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
public void updateBoolean(@org.checkerframework.checker.index.qual.Positive int columnIndex, boolean x) throws SQLException - Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateByte
public void updateByte(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte x) throws SQLException - Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
public void updateBytes(@org.checkerframework.checker.index.qual.Positive int columnIndex, byte @Nullable [] x) throws SQLException - Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, int length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateDate
public void updateDate(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Date x) throws SQLException - Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
public void updateDouble(@org.checkerframework.checker.index.qual.Positive int columnIndex, double x) throws SQLException - Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
public void updateFloat(@org.checkerframework.checker.index.qual.Positive int columnIndex, float x) throws SQLException - Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateInt
public void updateInt(@org.checkerframework.checker.index.qual.Positive int columnIndex, int x) throws SQLException - Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateLong
public void updateLong(@org.checkerframework.checker.index.qual.Positive int columnIndex, long x) throws SQLException - Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateNull
public void updateNull(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
refreshRow
- Specified by:
refreshRow
in interfaceResultSet
- Throws:
SQLException
-
updateRow
- Specified by:
updateRow
in interfaceResultSet
- Throws:
SQLException
-
updateShort
public void updateShort(@org.checkerframework.checker.index.qual.Positive int columnIndex, short x) throws SQLException - Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateString
public void updateString(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String x) throws SQLException - Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateTime
public void updateTime(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Time x) throws SQLException - Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestamp
in interfaceResultSet
- Throws:
SQLException
-
updateNull
- Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateByte
- Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateShort
- Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateInt
- Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateLong
- Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
- Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateString
- Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateDate
- Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateTime
- Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestamp
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnName, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream x, int length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnName, @Nullable Reader reader, int length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
- Specified by:
updateObject
in 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:
getRefCursor
in interfacePGRefCursorResultSet
- Returns:
- the name of the cursor.
-
setFetchSize
- Specified by:
setFetchSize
in interfaceResultSet
- Throws:
SQLException
-
getFetchSize
- Specified by:
getFetchSize
in 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:
next
in interfaceResultSet
- Throws:
SQLException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResultSet
- Throws:
SQLException
-
closeInternally
- Throws:
SQLException
-
wasNull
- Specified by:
wasNull
in interfaceResultSet
- Throws:
SQLException
-
getString
@Pure public @Nullable String getString(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getString
in 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
ResultSet
object as aboolean
in 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
true
is 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 offalse
is 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
true
is returned. If the designated column has a Numeric datatype and is a 0, a value offalse
is returned.- Specified by:
getBoolean
in 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:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getShort
public short getShort(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
getInt
@Pure public int getInt(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getLong
@Pure public long getLong(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getFloat
@Pure public float getFloat(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getDouble
@Pure public double getDouble(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in 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:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getDate
@Pure public @Nullable Date getDate(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
@Pure public @Nullable Time getTime(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
@Pure public @Nullable Timestamp getTimestamp(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
@Pure public @Nullable InputStream getAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
@Pure public @Nullable InputStream getUnicodeStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
@Pure public @Nullable InputStream getBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceResultSet
- Throws:
SQLException
-
getBoolean
- Specified by:
getBoolean
in interfaceResultSet
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
- Specified by:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getWarnings
- Specified by:
getWarnings
in interfaceResultSet
- Throws:
SQLException
-
clearWarnings
- Specified by:
clearWarnings
in interfaceResultSet
- Throws:
SQLException
-
addWarning
-
getCursorName
- Specified by:
getCursorName
in interfaceResultSet
- Throws:
SQLException
-
getObject
public @Nullable Object getObject(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
findColumn
public @org.checkerframework.checker.index.qual.NonNegative int findColumn(String columnName) throws SQLException - Specified by:
findColumn
in 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 thewasNullFlag
to 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:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateRef
- Specified by:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Blob x) throws SQLException - Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Clob x) throws SQLException - Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateArray
public void updateArray(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Array x) throws SQLException - Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
updateArray
- Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
getObject
public <T> @Nullable T getObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, Class<T> type) throws SQLException - Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in 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:
getObject
in 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:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Object x, SQLType targetSqlType) throws SQLException - Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, @Nullable Object x, SQLType targetSqlType) throws SQLException - Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
getRowId
public @Nullable RowId getRowId(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getRowId
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
public void updateRowId(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable RowId x) throws SQLException - Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
getHoldability
- Specified by:
getHoldability
in interfaceResultSet
- Throws:
SQLException
-
isClosed
- Specified by:
isClosed
in interfaceResultSet
- Throws:
SQLException
-
updateNString
public void updateNString(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable String nString) throws SQLException - Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNString
- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable NClob nClob) throws SQLException - Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) throws SQLException - Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnName, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
public @Nullable NClob getNClob(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnName, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) throws SQLException - Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
@Pure public @Nullable SQLXML getSQLXML(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
public void updateSQLXML(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable SQLXML xmlObject) throws SQLException - Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getNString
public @Nullable String getNString(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNString
- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
public @Nullable Reader getNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex) throws SQLException - Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStream
in 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:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader x, long length) throws SQLException - Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnName, @Nullable Reader x, long length) throws SQLException - Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnName, @Nullable Reader reader, long length) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable Reader reader) throws SQLException - Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnName, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnName, @Nullable InputStream inputStream, long length) throws SQLException - Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(@org.checkerframework.checker.index.qual.Positive int columnIndex, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnName, @Nullable InputStream inputStream) throws SQLException - Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in 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
-