| java.lang.Object com.mysql.jdbc.ResultSetRow com.mysql.jdbc.BufferRow
BufferRow | public class BufferRow extends ResultSetRow (Code) | | A RowHolder implementation that holds one row packet (which is re-used by the
driver, and thus saves memory allocations), and tries when possible to avoid
allocations to break out the results as individual byte[]s.
(this isn't possible when doing things like reading floating point values).
version: $Id: $ |
Method Summary | |
public synchronized void | closeOpenStreams() | public synchronized InputStream | getBinaryInputStream(int columnIndex) | public byte[] | getColumnValue(int index) | public Date | getDateFast(int columnIndex, ConnectionImpl conn, ResultSetImpl rs) | public int | getInt(int columnIndex) | public long | getLong(int columnIndex) | public java.sql.Date | getNativeDate(int columnIndex, ConnectionImpl conn, ResultSetImpl rs) | public Object | getNativeDateTimeValue(int columnIndex, Calendar targetCalendar, int jdbcType, int mysqlType, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) | public double | getNativeDouble(int columnIndex) | public float | getNativeFloat(int columnIndex) | public int | getNativeInt(int columnIndex) | public long | getNativeLong(int columnIndex) | public short | getNativeShort(int columnIndex) | public Time | getNativeTime(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) | public Timestamp | getNativeTimestamp(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) | public Reader | getReader(int columnIndex) | public String | getString(int columnIndex, String encoding, ConnectionImpl conn) | public Time | getTimeFast(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) | public Timestamp | getTimestampFast(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) | public boolean | isFloatingPointNumber(int index) | public boolean | isNull(int index) | public long | length(int index) | public void | setColumnValue(int index, byte[] value) | public void | setMetadata(Field[] f) |
closeOpenStreams | public synchronized void closeOpenStreams()(Code) | | |
isFloatingPointNumber | public boolean isFloatingPointNumber(int index) throws SQLException(Code) | | |
setColumnValue | public void setColumnValue(int index, byte[] value) throws SQLException(Code) | | |
Methods inherited from com.mysql.jdbc.ResultSetRow | abstract public void closeOpenStreams()(Code)(Java Doc) abstract public InputStream getBinaryInputStream(int columnIndex) throws SQLException(Code)(Java Doc) abstract public byte[] getColumnValue(int index) throws SQLException(Code)(Java Doc) final protected java.sql.Date getDateFast(int columnIndex, byte[] dateAsBytes, int offset, int length, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public java.sql.Date getDateFast(int columnIndex, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public int getInt(int columnIndex) throws SQLException(Code)(Java Doc) abstract public long getLong(int columnIndex) throws SQLException(Code)(Java Doc) protected java.sql.Date getNativeDate(int columnIndex, byte[] bits, int offset, int length, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public Date getNativeDate(int columnIndex, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) protected Object getNativeDateTimeValue(int columnIndex, byte[] bits, int offset, int length, Calendar targetCalendar, int jdbcType, int mysqlType, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public Object getNativeDateTimeValue(int columnIndex, Calendar targetCalendar, int jdbcType, int mysqlType, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) protected double getNativeDouble(byte[] bits, int offset)(Code)(Java Doc) abstract public double getNativeDouble(int columnIndex) throws SQLException(Code)(Java Doc) protected float getNativeFloat(byte[] bits, int offset)(Code)(Java Doc) abstract public float getNativeFloat(int columnIndex) throws SQLException(Code)(Java Doc) protected int getNativeInt(byte[] bits, int offset)(Code)(Java Doc) abstract public int getNativeInt(int columnIndex) throws SQLException(Code)(Java Doc) protected long getNativeLong(byte[] bits, int offset)(Code)(Java Doc) abstract public long getNativeLong(int columnIndex) throws SQLException(Code)(Java Doc) protected short getNativeShort(byte[] bits, int offset)(Code)(Java Doc) abstract public short getNativeShort(int columnIndex) throws SQLException(Code)(Java Doc) protected Time getNativeTime(int columnIndex, byte[] bits, int offset, int length, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public Time getNativeTime(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) protected Timestamp getNativeTimestamp(byte[] bits, int offset, int length, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public Timestamp getNativeTimestamp(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public Reader getReader(int columnIndex) throws SQLException(Code)(Java Doc) abstract public String getString(int index, String encoding, ConnectionImpl conn) throws SQLException(Code)(Java Doc) protected String getString(String encoding, ConnectionImpl conn, byte[] value, int offset, int length) throws SQLException(Code)(Java Doc) protected Time getTimeFast(int columnIndex, byte[] timeAsBytes, int offset, int length, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public Time getTimeFast(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) protected Timestamp getTimestampFast(int columnIndex, byte[] timestampAsBytes, int offset, int length, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public Timestamp getTimestampFast(int columnIndex, Calendar targetCalendar, TimeZone tz, boolean rollForward, ConnectionImpl conn, ResultSetImpl rs) throws SQLException(Code)(Java Doc) abstract public boolean isFloatingPointNumber(int index) throws SQLException(Code)(Java Doc) abstract public boolean isNull(int index) throws SQLException(Code)(Java Doc) abstract public long length(int index) throws SQLException(Code)(Java Doc) abstract public void setColumnValue(int index, byte[] value) throws SQLException(Code)(Java Doc) public void setMetadata(Field[] f) throws SQLException(Code)(Java Doc)
|
|
|