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.SQLExceptionpublic boolean next()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getString(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void updateString(int i,
java.lang.String value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getInt(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void updateInt(int i,
int value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long getLong(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void updateLong(int i,
long value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic double getDouble(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void updateDouble(int i,
double value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic byte[] getBytes(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void updateRow()
public void close()