com.liferay.portal.kernel.dao.jdbc
Class SmartResultSet
java.lang.Object
com.liferay.portal.kernel.dao.jdbc.SmartResultSet
public class SmartResultSet
- extends java.lang.Object
View Source
- Author:
- Minhchau Dang, Brian Wing Shun Chan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmartResultSet
public SmartResultSet(java.sql.ResultSet rs)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
findColumn
public int findColumn(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
first
public boolean first()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDate
public java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDate
public java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDouble
public double getDouble(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDouble
public double getDouble(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getFloat
public float getFloat(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getFloat
public float getFloat(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getInt
public int getInt(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getInt
public int getInt(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getLong
public long getLong(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getLong
public long getLong(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getShort
public short getShort(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getShort
public short getShort(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getString
public java.lang.String getString(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getString
public java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
last
public boolean last()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
next
public boolean next()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
previous
public boolean previous()
throws java.sql.SQLException
- Throws:
java.sql.SQLException