public class PgResultSet extends java.lang.Object implements java.sql.ResultSet, PGRefCursorResultSet
Modifier and Type | Class and Description |
---|---|
class |
PgResultSet.CursorResultHandler |
Modifier and Type | Field and Description |
---|---|
protected boolean |
adaptiveFetch |
protected BaseConnection |
connection |
protected int |
currentRow |
protected ResultCursor |
cursor |
protected int |
fetchSize |
protected Field[] |
fields |
protected int |
lastUsedFetchSize |
protected int |
maxFieldSize |
protected int |
maxRows |
protected boolean |
onInsertRow |
protected Query |
originalQuery |
protected int |
rowOffset |
protected java.util.List<Tuple> |
rows |
protected BaseStatement |
statement |
protected Tuple |
thisRow |
protected java.sql.SQLWarning |
warnings |
protected boolean |
wasNullFlag
True if the last obtained column value was SQL NULL as specified by
wasNull() . |
Modifier and Type | Method and Description |
---|---|
boolean |
absolute(int index) |
protected void |
addWarning(java.sql.SQLWarning warnings) |
void |
afterLast() |
void |
beforeFirst() |
void |
cancelRowUpdates() |
protected void |
checkClosed() |
protected void |
checkColumnIndex(int column) |
void |
clearWarnings() |
void |
close() |
protected void |
closeInternally() |
static java.util.Map<java.lang.String,java.lang.Integer> |
createColumnNameIndexMap(Field[] fields,
boolean isSanitiserDisabled) |
protected java.sql.ResultSetMetaData |
createMetaData() |
void |
deleteRow() |
int |
findColumn(java.lang.String columnName) |
boolean |
first() |
boolean |
getAdaptiveFetch()
Get state of adaptive fetch for resultSet.
|
java.sql.Array |
getArray(int i) |
java.sql.Array |
getArray(java.lang.String colName) |
java.io.InputStream |
getAsciiStream(int columnIndex) |
java.io.InputStream |
getAsciiStream(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(int columnIndex) |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale) |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale) |
java.io.InputStream |
getBinaryStream(int columnIndex) |
java.io.InputStream |
getBinaryStream(java.lang.String columnName) |
java.sql.Blob |
getBlob(int i) |
java.sql.Blob |
getBlob(java.lang.String columnName) |
boolean |
getBoolean(int columnIndex)
Retrieves the value of the designated column in the current row of this
ResultSet
object as a boolean in the Java programming language. |
boolean |
getBoolean(java.lang.String columnName) |
byte |
getByte(int columnIndex) |
byte |
getByte(java.lang.String columnName) |
byte[] |
getBytes(int columnIndex) |
byte[] |
getBytes(java.lang.String columnName) |
java.io.Reader |
getCharacterStream(int i) |
java.io.Reader |
getCharacterStream(java.lang.String columnName) |
java.sql.Clob |
getClob(int i) |
java.sql.Clob |
getClob(java.lang.String columnName) |
int |
getColumnOID(int field)
Returns the OID of a field.
|
int |
getConcurrency() |
java.lang.String |
getCursorName() |
java.sql.Date |
getDate(int columnIndex) |
java.sql.Date |
getDate(int i,
java.util.Calendar cal) |
java.sql.Date |
getDate(java.lang.String columnName) |
java.sql.Date |
getDate(java.lang.String c,
java.util.Calendar cal) |
double |
getDouble(int columnIndex) |
double |
getDouble(java.lang.String columnName) |
int |
getFetchDirection() |
int |
getFetchSize() |
java.lang.String |
getFixedString(int col)
This is used to fix get*() methods on Money fields.
|
float |
getFloat(int columnIndex) |
float |
getFloat(java.lang.String columnName) |
int |
getHoldability() |
int |
getInt(int columnIndex) |
int |
getInt(java.lang.String columnName) |
int |
getLastUsedFetchSize()
Get fetch size used during last fetch.
|
long |
getLong(int columnIndex) |
long |
getLong(java.lang.String columnName) |
java.sql.ResultSetMetaData |
getMetaData() |
java.io.Reader |
getNCharacterStream(int columnIndex) |
java.io.Reader |
getNCharacterStream(java.lang.String columnName) |
java.sql.NClob |
getNClob(int columnIndex) |
java.sql.NClob |
getNClob(java.lang.String columnName) |
java.lang.String |
getNString(int columnIndex) |
java.lang.String |
getNString(java.lang.String columnName) |
java.lang.Object |
getObject(int columnIndex) |
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type) |
java.lang.Object |
getObject(int i,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
getObject(java.lang.String columnName) |
<T> T |
getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
java.lang.Object |
getObject(java.lang.String s,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
getObjectImpl(int i,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
getObjectImpl(java.lang.String columnName,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
BaseStatement |
getPGStatement() |
protected java.lang.String |
getPGType(int column) |
protected byte[] |
getRawValue(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.
|
java.sql.Ref |
getRef(int i) |
java.sql.Ref |
getRef(java.lang.String columnName) |
java.lang.String |
getRefCursor() |
int |
getRow() |
java.sql.RowId |
getRowId(int columnIndex) |
java.sql.RowId |
getRowId(java.lang.String columnName) |
short |
getShort(int columnIndex) |
short |
getShort(java.lang.String columnName) |
protected int |
getSQLType(int column) |
java.sql.SQLXML |
getSQLXML(int columnIndex) |
java.sql.SQLXML |
getSQLXML(java.lang.String columnName) |
java.sql.Statement |
getStatement() |
java.lang.String |
getString(int columnIndex) |
java.lang.String |
getString(java.lang.String columnName) |
java.sql.Time |
getTime(int columnIndex) |
java.sql.Time |
getTime(int i,
java.util.Calendar cal) |
java.sql.Time |
getTime(java.lang.String columnName) |
java.sql.Time |
getTime(java.lang.String c,
java.util.Calendar cal) |
java.sql.Timestamp |
getTimestamp(int columnIndex) |
java.sql.Timestamp |
getTimestamp(int i,
java.util.Calendar cal) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName) |
java.sql.Timestamp |
getTimestamp(java.lang.String c,
java.util.Calendar cal) |
int |
getType() |
java.io.InputStream |
getUnicodeStream(int columnIndex) |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName) |
java.net.URL |
getURL(int columnIndex) |
java.net.URL |
getURL(java.lang.String columnName) |
protected java.lang.Object |
getUUID(byte[] data) |
protected java.lang.Object |
getUUID(java.lang.String data) |
java.sql.SQLWarning |
getWarnings() |
void |
insertRow() |
protected java.lang.Object |
internalGetObject(int columnIndex,
Field field) |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
protected boolean |
isBinary(int column)
Returns true if the value of the given column is in binary format.
|
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
isLast() |
protected boolean |
isResultSetClosed() |
boolean |
isWrapperFor(java.lang.Class<?> iface) |
boolean |
last() |
protected java.sql.Array |
makeArray(int oid,
byte[] value) |
protected java.sql.Array |
makeArray(int oid,
java.lang.String value) |
protected java.sql.Blob |
makeBlob(long oid) |
protected java.sql.Clob |
makeClob(long oid) |
void |
moveToCurrentRow() |
void |
moveToInsertRow() |
boolean |
next() |
boolean |
previous() |
static java.lang.String[] |
quotelessTableName(java.lang.String fullname)
Cracks out the table name and schema (if it exists) from a fully qualified table name.
|
void |
refreshRow() |
boolean |
relative(int rows) |
boolean |
rowDeleted() |
boolean |
rowInserted() |
boolean |
rowUpdated() |
void |
setAdaptiveFetch(boolean adaptiveFetch)
Turn on/off adaptive fetch for ResultSet.
|
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
static java.math.BigDecimal |
toBigDecimal(java.lang.String s) |
java.math.BigDecimal |
toBigDecimal(java.lang.String s,
int scale) |
static double |
toDouble(java.lang.String s) |
static float |
toFloat(java.lang.String s) |
static int |
toInt(java.lang.String s) |
static long |
toLong(java.lang.String s) |
static short |
toShort(java.lang.String s) |
<T> T |
unwrap(java.lang.Class<T> iface) |
void |
updateArray(int columnIndex,
java.sql.Array x) |
void |
updateArray(java.lang.String columnName,
java.sql.Array x) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream inputStream) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream inputStream,
long length) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream inputStream) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream inputStream,
long length) |
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x) |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream inputStream) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream inputStream,
long length) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream inputStream) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream inputStream,
long length) |
void |
updateBlob(int columnIndex,
java.sql.Blob x) |
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream) |
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length) |
void |
updateBlob(java.lang.String columnName,
java.sql.Blob x) |
void |
updateBlob(java.lang.String columnName,
java.io.InputStream inputStream) |
void |
updateBlob(java.lang.String columnName,
java.io.InputStream inputStream,
long length) |
void |
updateBoolean(int columnIndex,
boolean x) |
void |
updateBoolean(java.lang.String columnName,
boolean x) |
void |
updateByte(int columnIndex,
byte x) |
void |
updateByte(java.lang.String columnName,
byte x) |
void |
updateBytes(int columnIndex,
byte[] x) |
void |
updateBytes(java.lang.String columnName,
byte[] x) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader reader) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
long length) |
void |
updateClob(int columnIndex,
java.sql.Clob x) |
void |
updateClob(int columnIndex,
java.io.Reader reader) |
void |
updateClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateClob(java.lang.String columnName,
java.sql.Clob x) |
void |
updateClob(java.lang.String columnName,
java.io.Reader reader) |
void |
updateClob(java.lang.String columnName,
java.io.Reader reader,
long length) |
void |
updateDate(int columnIndex,
java.sql.Date x) |
void |
updateDate(java.lang.String columnName,
java.sql.Date x) |
void |
updateDouble(int columnIndex,
double x) |
void |
updateDouble(java.lang.String columnName,
double x) |
void |
updateFloat(int columnIndex,
float x) |
void |
updateFloat(java.lang.String columnName,
float x) |
void |
updateInt(int columnIndex,
int x) |
void |
updateInt(java.lang.String columnName,
int x) |
void |
updateLong(int columnIndex,
long x) |
void |
updateLong(java.lang.String columnName,
long x) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x,
int length) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x,
long length) |
void |
updateNCharacterStream(java.lang.String columnName,
java.io.Reader x) |
void |
updateNCharacterStream(java.lang.String columnName,
java.io.Reader x,
int length) |
void |
updateNCharacterStream(java.lang.String columnName,
java.io.Reader x,
long length) |
void |
updateNClob(int columnIndex,
java.sql.NClob nClob) |
void |
updateNClob(int columnIndex,
java.io.Reader reader) |
void |
updateNClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateNClob(java.lang.String columnName,
java.sql.NClob nClob) |
void |
updateNClob(java.lang.String columnName,
java.io.Reader reader) |
void |
updateNClob(java.lang.String columnName,
java.io.Reader reader,
long length) |
void |
updateNString(int columnIndex,
java.lang.String nString) |
void |
updateNString(java.lang.String columnName,
java.lang.String nString) |
void |
updateNull(int columnIndex) |
void |
updateNull(java.lang.String columnName) |
void |
updateObject(int columnIndex,
java.lang.Object x) |
void |
updateObject(int columnIndex,
java.lang.Object x,
int scale) |
void |
updateObject(int columnIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType) |
void |
updateObject(int columnIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType,
int scaleOrLength) |
void |
updateObject(java.lang.String columnName,
java.lang.Object x) |
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale) |
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x,
java.sql.SQLType targetSqlType) |
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x,
java.sql.SQLType targetSqlType,
int scaleOrLength) |
void |
updateRef(int columnIndex,
java.sql.Ref x) |
void |
updateRef(java.lang.String columnName,
java.sql.Ref x) |
void |
updateRow() |
void |
updateRowId(int columnIndex,
java.sql.RowId x) |
void |
updateRowId(java.lang.String columnName,
java.sql.RowId x) |
void |
updateShort(int columnIndex,
short x) |
void |
updateShort(java.lang.String columnName,
short x) |
void |
updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject) |
void |
updateSQLXML(java.lang.String columnName,
java.sql.SQLXML xmlObject) |
void |
updateString(int columnIndex,
java.lang.String x) |
void |
updateString(java.lang.String columnName,
java.lang.String x) |
void |
updateTime(int columnIndex,
java.sql.Time x) |
void |
updateTime(java.lang.String columnName,
java.sql.Time x) |
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp x) |
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x) |
protected void |
updateValue(int columnIndex,
java.lang.Object value) |
protected PgResultSet |
upperCaseFieldLabels()
This is here to be used by metadata functions
to make all column labels upper case.
|
boolean |
wasNull() |
protected final BaseConnection connection
protected final BaseStatement statement
protected final Field[] fields
protected final Query originalQuery
protected final int maxRows
protected final int maxFieldSize
protected java.util.List<Tuple> rows
protected int currentRow
protected int rowOffset
protected Tuple thisRow
protected java.sql.SQLWarning warnings
protected boolean wasNullFlag
wasNull()
. The value
is always updated by the getRawValue(int)
method.protected boolean onInsertRow
protected int fetchSize
protected int lastUsedFetchSize
protected boolean adaptiveFetch
protected ResultCursor cursor
protected java.sql.ResultSetMetaData createMetaData() throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.ResultSet
java.sql.SQLException
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
java.sql.SQLException
public java.net.URL getURL(java.lang.String columnName) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
java.sql.SQLException
protected java.lang.Object internalGetObject(int columnIndex, Field field) throws java.sql.SQLException
java.sql.SQLException
public boolean absolute(int index) throws java.sql.SQLException
absolute
in interface java.sql.ResultSet
java.sql.SQLException
public void afterLast() throws java.sql.SQLException
afterLast
in interface java.sql.ResultSet
java.sql.SQLException
public void beforeFirst() throws java.sql.SQLException
beforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
public boolean first() throws java.sql.SQLException
first
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Array getArray(java.lang.String colName) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
java.sql.SQLException
protected java.sql.Array makeArray(int oid, byte[] value) throws java.sql.SQLException
java.sql.SQLException
protected java.sql.Array makeArray(int oid, java.lang.String value) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Array getArray(int i) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Blob getBlob(java.lang.String columnName) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
java.sql.SQLException
protected java.sql.Blob makeBlob(long oid) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Blob getBlob(int i) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.Reader getCharacterStream(int i) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Clob getClob(java.lang.String columnName) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
java.sql.SQLException
protected java.sql.Clob makeClob(long oid) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Clob getClob(int i) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
java.sql.SQLException
public int getConcurrency() throws java.sql.SQLException
getConcurrency
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Date getDate(int i, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Time getTime(int i, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Timestamp getTimestamp(int i, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Date getDate(java.lang.String c, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Time getTime(java.lang.String c, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Timestamp getTimestamp(java.lang.String c, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.Object getObjectImpl(java.lang.String columnName, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getObjectImpl(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Ref getRef(java.lang.String columnName) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Ref getRef(int i) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
java.sql.SQLException
public int getRow() throws java.sql.SQLException
getRow
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Statement getStatement() throws java.sql.SQLException
getStatement
in interface java.sql.ResultSet
java.sql.SQLException
public int getType() throws java.sql.SQLException
getType
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isAfterLast() throws java.sql.SQLException
isAfterLast
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isBeforeFirst() throws java.sql.SQLException
isBeforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isFirst() throws java.sql.SQLException
isFirst
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isLast() throws java.sql.SQLException
isLast
in interface java.sql.ResultSet
java.sql.SQLException
public boolean last() throws java.sql.SQLException
last
in interface java.sql.ResultSet
java.sql.SQLException
public boolean previous() throws java.sql.SQLException
previous
in interface java.sql.ResultSet
java.sql.SQLException
public boolean relative(int rows) throws java.sql.SQLException
relative
in interface java.sql.ResultSet
java.sql.SQLException
public void setFetchDirection(int direction) throws java.sql.SQLException
setFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
public void cancelRowUpdates() throws java.sql.SQLException
cancelRowUpdates
in interface java.sql.ResultSet
java.sql.SQLException
public void deleteRow() throws java.sql.SQLException
deleteRow
in interface java.sql.ResultSet
java.sql.SQLException
public void insertRow() throws java.sql.SQLException
insertRow
in interface java.sql.ResultSet
java.sql.SQLException
public void moveToCurrentRow() throws java.sql.SQLException
moveToCurrentRow
in interface java.sql.ResultSet
java.sql.SQLException
public void moveToInsertRow() throws java.sql.SQLException
moveToInsertRow
in interface java.sql.ResultSet
java.sql.SQLException
public boolean rowDeleted() throws java.sql.SQLException
rowDeleted
in interface java.sql.ResultSet
java.sql.SQLException
public boolean rowInserted() throws java.sql.SQLException
rowInserted
in interface java.sql.ResultSet
java.sql.SQLException
public boolean rowUpdated() throws java.sql.SQLException
rowUpdated
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.sql.SQLException
public void updateByte(int columnIndex, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDouble(int columnIndex, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
public void updateFloat(int columnIndex, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
public void updateInt(int columnIndex, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
public void updateLong(int columnIndex, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNull(int columnIndex) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void refreshRow() throws java.sql.SQLException
refreshRow
in interface java.sql.ResultSet
java.sql.SQLException
public void updateRow() throws java.sql.SQLException
updateRow
in interface java.sql.ResultSet
java.sql.SQLException
public void updateShort(int columnIndex, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
public void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNull(java.lang.String columnName) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBoolean(java.lang.String columnName, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.sql.SQLException
public void updateByte(java.lang.String columnName, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.sql.SQLException
public void updateShort(java.lang.String columnName, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
public void updateInt(java.lang.String columnName, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
public void updateLong(java.lang.String columnName, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
public void updateFloat(java.lang.String columnName, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDouble(java.lang.String columnName, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public void updateString(java.lang.String columnName, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBytes(java.lang.String columnName, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDate(java.lang.String columnName, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTime(java.lang.String columnName, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnName, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnName, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void setAdaptiveFetch(boolean adaptiveFetch) throws java.sql.SQLException
adaptiveFetch
- desired state of adaptive fetch.java.sql.SQLException
- exception returned if ResultSet is closedpublic boolean getAdaptiveFetch() throws java.sql.SQLException
java.sql.SQLException
- exception returned if ResultSet is closedpublic static java.lang.String[] quotelessTableName(java.lang.String fullname)
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)
public BaseStatement getPGStatement()
public java.lang.String getRefCursor()
getRefCursor
in interface PGRefCursorResultSet
public void setFetchSize(int rows) throws java.sql.SQLException
setFetchSize
in interface java.sql.ResultSet
java.sql.SQLException
public int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface java.sql.ResultSet
java.sql.SQLException
public int getLastUsedFetchSize() throws java.sql.SQLException
java.sql.SQLException
- exception returned if ResultSet is closedpublic boolean next() throws java.sql.SQLException
next
in interface java.sql.ResultSet
java.sql.SQLException
public void close() throws java.sql.SQLException
close
in interface java.lang.AutoCloseable
close
in interface java.sql.ResultSet
java.sql.SQLException
protected void closeInternally() throws java.sql.SQLException
java.sql.SQLException
public boolean wasNull() throws java.sql.SQLException
wasNull
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
java.sql.SQLException
public boolean getBoolean(int columnIndex) throws java.sql.SQLException
Retrieves the value of the designated column in the current row of this ResultSet
object as a boolean
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 of false
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 of
false
is returned.
getBoolean
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...NULL
, the value returned is
false
java.sql.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.public byte getByte(int columnIndex) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
java.sql.SQLException
public short getShort(int columnIndex) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
java.sql.SQLException
public int getInt(int columnIndex) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
java.sql.SQLException
public long getLong(int columnIndex) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
java.sql.SQLException
public float getFloat(int columnIndex) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
java.sql.SQLException
public double getDouble(int columnIndex) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public byte[] getBytes(int columnIndex) throws java.sql.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.
getBytes
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
java.sql.SQLException
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
java.sql.SQLException
public byte getByte(java.lang.String columnName) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
java.sql.SQLException
public short getShort(java.lang.String columnName) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
java.sql.SQLException
public int getInt(java.lang.String columnName) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
java.sql.SQLException
public long getLong(java.lang.String columnName) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
java.sql.SQLException
public float getFloat(java.lang.String columnName) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
java.sql.SQLException
public double getDouble(java.lang.String columnName) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface java.sql.ResultSet
java.sql.SQLException
public void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface java.sql.ResultSet
java.sql.SQLException
protected void addWarning(java.sql.SQLWarning warnings)
public java.lang.String getCursorName() throws java.sql.SQLException
getCursorName
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
public int findColumn(java.lang.String columnName) throws java.sql.SQLException
findColumn
in interface java.sql.ResultSet
java.sql.SQLException
public static java.util.Map<java.lang.String,java.lang.Integer> createColumnNameIndexMap(Field[] fields, boolean isSanitiserDisabled)
public int getColumnOID(int field)
field
- field indexpublic java.lang.String getFixedString(int col) throws java.sql.SQLException
This is used to fix get*() methods on Money fields. It should only be used by those methods!
It converts ($##.##) to -##.## and $##.## to ##.##
col
- column position (1-based)java.sql.SQLException
- if something wrong happensprotected java.lang.String getPGType(int column) throws java.sql.SQLException
java.sql.SQLException
protected int getSQLType(int column) throws java.sql.SQLException
java.sql.SQLException
protected void checkClosed() throws java.sql.SQLException
java.sql.SQLException
protected boolean isResultSetClosed()
protected void checkColumnIndex(int column) throws java.sql.SQLException
java.sql.SQLException
protected byte[] getRawValue(int column) throws java.sql.SQLException
wasNullFlag
to correct value.column
- The column number to check. Range starts from 1.java.sql.SQLException
- If state or column is invalid.protected boolean isBinary(int column)
column
- The column to check. Range starts from 1.public static short toShort(java.lang.String s) throws java.sql.SQLException
java.sql.SQLException
public static int toInt(java.lang.String s) throws java.sql.SQLException
java.sql.SQLException
public static long toLong(java.lang.String s) throws java.sql.SQLException
java.sql.SQLException
public static java.math.BigDecimal toBigDecimal(java.lang.String s) throws java.sql.SQLException
java.sql.SQLException
public java.math.BigDecimal toBigDecimal(java.lang.String s, int scale) throws java.sql.SQLException
java.sql.SQLException
public static float toFloat(java.lang.String s) throws java.sql.SQLException
java.sql.SQLException
public static double toDouble(java.lang.String s) throws java.sql.SQLException
java.sql.SQLException
protected void updateValue(int columnIndex, java.lang.Object value) throws java.sql.SQLException
java.sql.SQLException
protected java.lang.Object getUUID(java.lang.String data) throws java.sql.SQLException
java.sql.SQLException
protected java.lang.Object getUUID(byte[] data) throws java.sql.SQLException
java.sql.SQLException
public void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.sql.SQLException
public void updateRef(java.lang.String columnName, java.sql.Ref x) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(int columnIndex, java.sql.Blob x) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(java.lang.String columnName, java.sql.Blob x) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(int columnIndex, java.sql.Clob x) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(java.lang.String columnName, java.sql.Clob x) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.sql.SQLException
public void updateArray(java.lang.String columnName, java.sql.Array x) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.sql.SQLException
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
public <T> T getObject(java.lang.String columnLabel, java.lang.Class<T> type) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.Object getObject(java.lang.String s, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.Object getObject(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException
getRowId
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.RowId getRowId(java.lang.String columnName) throws java.sql.SQLException
getRowId
in interface java.sql.ResultSet
java.sql.SQLException
public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException
updateRowId
in interface java.sql.ResultSet
java.sql.SQLException
public void updateRowId(java.lang.String columnName, java.sql.RowId x) throws java.sql.SQLException
updateRowId
in interface java.sql.ResultSet
java.sql.SQLException
public int getHoldability() throws java.sql.SQLException
getHoldability
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isClosed() throws java.sql.SQLException
isClosed
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNString(int columnIndex, java.lang.String nString) throws java.sql.SQLException
updateNString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNString(java.lang.String columnName, java.lang.String nString) throws java.sql.SQLException
updateNString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNClob(java.lang.String columnName, java.sql.NClob nClob) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNClob(java.lang.String columnName, java.io.Reader reader) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNClob(java.lang.String columnName, java.io.Reader reader, long length) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException
getNClob
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.NClob getNClob(java.lang.String columnName) throws java.sql.SQLException
getNClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(java.lang.String columnName, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(java.lang.String columnName, java.io.InputStream inputStream) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(java.lang.String columnName, java.io.Reader reader, long length) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(java.lang.String columnName, java.io.Reader reader) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException
getSQLXML
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.SQLXML getSQLXML(java.lang.String columnName) throws java.sql.SQLException
getSQLXML
in interface java.sql.ResultSet
java.sql.SQLException
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
updateSQLXML
in interface java.sql.ResultSet
java.sql.SQLException
public void updateSQLXML(java.lang.String columnName, java.sql.SQLXML xmlObject) throws java.sql.SQLException
updateSQLXML
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.String getNString(int columnIndex) throws java.sql.SQLException
getNString
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.String getNString(java.lang.String columnName) throws java.sql.SQLException
getNString
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException
getNCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.Reader getNCharacterStream(java.lang.String columnName) throws java.sql.SQLException
getNCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnName, java.io.Reader x, int length) throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnName, java.io.Reader x) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnName, java.io.Reader x, long length) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, long length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnName, java.io.Reader reader) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream inputStream) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream inputStream) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException
protected PgResultSet upperCaseFieldLabels()
Copyright © 2024 PostgreSQL Global Development Group. All rights reserved.