public class SelectCursor
extends java.lang.Object
Constructor and Description |
---|
SelectCursor(Expr[] exprs,
SelectQuery query,
QueryContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
findColumnIndex(java.lang.String name)
Returns the column index with the given name.
|
byte[] |
getBytes(int i) |
double |
getDouble(int i) |
Expr[] |
getExprs()
Returns the expressions.
|
int |
getInt(int i) |
long |
getLong(int i) |
java.lang.String |
getString(int i) |
boolean |
next() |
void |
updateDouble(int i,
double value) |
void |
updateInt(int i,
int value) |
void |
updateLong(int i,
long value) |
void |
updateRow() |
void |
updateString(int i,
java.lang.String value) |
public SelectCursor(Expr[] exprs, SelectQuery query, QueryContext context)
public Expr[] getExprs()
public int findColumnIndex(java.lang.String name) throws java.sql.SQLException
java.sql.SQLException
public boolean next() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getString(int i) throws java.sql.SQLException
java.sql.SQLException
public void updateString(int i, java.lang.String value) throws java.sql.SQLException
java.sql.SQLException
public int getInt(int i) throws java.sql.SQLException
java.sql.SQLException
public void updateInt(int i, int value) throws java.sql.SQLException
java.sql.SQLException
public long getLong(int i) throws java.sql.SQLException
java.sql.SQLException
public void updateLong(int i, long value) throws java.sql.SQLException
java.sql.SQLException
public double getDouble(int i) throws java.sql.SQLException
java.sql.SQLException
public void updateDouble(int i, double value) throws java.sql.SQLException
java.sql.SQLException
public byte[] getBytes(int i) throws java.sql.SQLException
java.sql.SQLException
public void updateRow()
public void close()