com.caucho.db.sql
Class SelectCursor
java.lang.Object
com.caucho.db.sql.SelectCursor
public class SelectCursor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectCursor
public SelectCursor(Expr[] exprs,
SelectQuery query,
QueryContext context)
getExprs
public Expr[] getExprs()
- Returns the expressions.
findColumnIndex
public int findColumnIndex(java.lang.String name)
throws java.sql.SQLException
- Returns the column index with the given name.
- Throws:
java.sql.SQLException
next
public boolean next()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getString
public java.lang.String getString(int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
updateString
public void updateString(int i,
java.lang.String value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getInt
public int getInt(int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
updateInt
public void updateInt(int i,
int value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getLong
public long getLong(int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
updateLong
public void updateLong(int i,
long value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDouble
public double getDouble(int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
updateDouble
public void updateDouble(int i,
double value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getBytes
public byte[] getBytes(int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
updateRow
public void updateRow()
close
public void close()