Package | Description |
---|---|
com.caucho.db.fun | |
com.caucho.db.jdbc | |
com.caucho.db.sql | |
com.caucho.db.table |
Modifier and Type | Class and Description |
---|---|
class |
BitandExpr |
class |
NowExpr |
Modifier and Type | Method and Description |
---|---|
Expr |
BitandExpr.bind(Query query)
Binds the expression to the actual tables.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NowExpr.addArg(Expr expr) |
protected void |
BitandExpr.addArg(Expr expr) |
Constructor and Description |
---|
BitandExpr(Expr left,
Expr right) |
Modifier and Type | Method and Description |
---|---|
Expr |
ResultSetMetaDataImpl.getColumn(int column)
Returns the column.
|
Modifier and Type | Class and Description |
---|---|
class |
AvgExpr |
class |
CountExpr |
class |
ExistsEvalExpr |
class |
ExistsExpr |
class |
FunExpr |
class |
GroupResultExpr
Represents a GROUP BY expression.
|
class |
MaxExpr |
class |
MinExpr |
class |
SubSelectEvalExpr |
class |
SubSelectExpr |
class |
SubSelectParamExpr |
class |
SumExpr |
Modifier and Type | Field and Description |
---|---|
protected Expr |
Query._whereExpr |
Modifier and Type | Method and Description |
---|---|
Expr |
AvgExpr.bind(Query query) |
Expr |
ExistsExpr.bind(Query query)
Binds the expression to the query.
|
Expr |
GroupResultExpr.bind(Query query) |
Expr |
SubSelectParamExpr.bind(Query parent)
Binds the expression.
|
Expr |
MaxExpr.bind(Query query) |
Expr |
Expr.bind(Query query) |
Expr |
MinExpr.bind(Query query) |
Expr |
CountExpr.bind(Query query) |
Expr |
SumExpr.bind(Query query) |
Expr |
SubSelectExpr.bind(Query query)
Binds the expression to the query.
|
protected Expr |
Query.bind(java.lang.String tableName,
java.lang.String columnName)
Returns a bound expression for the specified table.column.
|
Expr |
SubSelectParamExpr.getExpr()
Returns the expr.
|
Expr[] |
SelectCursor.getExprs()
Returns the expressions.
|
Expr[] |
SelectResult.getExprs()
Returns the expressions.
|
Expr[] |
Query.getWhereExprs()
Returns the where exprs
|
static Expr |
Parser.parseExpr(Database database,
java.lang.String sql) |
Modifier and Type | Method and Description |
---|---|
protected void |
AvgExpr.addArg(Expr expr) |
protected void |
MaxExpr.addArg(Expr expr) |
protected void |
MinExpr.addArg(Expr expr) |
protected void |
CountExpr.addArg(Expr expr) |
protected void |
SumExpr.addArg(Expr expr) |
protected abstract void |
FunExpr.addArg(Expr expr) |
static SelectResultSetImpl |
SelectResultSetImpl.create(Expr[] exprs) |
static SelectResult |
SelectResult.create(Expr[] exprs,
com.caucho.db.sql.Order order) |
protected void |
Query.generateWhere(Expr whereExpr)
Optimize the where and order the from items.
|
void |
Query.setWhereExpr(Expr expr)
Sets the where expr.
|
protected void |
Query.setWhereExprs(Expr[] whereExprs)
Sets the where exprs.
|
Modifier and Type | Method and Description |
---|---|
void |
Expr.splitAnd(java.util.ArrayList<Expr> andProduct)
Splits the expr into and blocks.
|
Constructor and Description |
---|
SelectCursor(Expr[] exprs,
SelectQuery query,
QueryContext context) |
Modifier and Type | Method and Description |
---|---|
Expr |
Column.getDefault()
Gets the default expression
|
Modifier and Type | Method and Description |
---|---|
void |
Column.set(DbTransaction xa,
TableIterator iter,
Expr expr,
QueryContext context)
Sets based on an iterator.
|
void |
Column.setDefault(Expr expr)
Sets the default expression
|
void |
TableFactory.setDefault(java.lang.String name,
Expr expr)
Sets the column default
|
Modifier and Type | Method and Description |
---|---|
long |
Table.insert(QueryContext queryContext,
DbTransaction xa,
java.util.ArrayList<Column> columns,
java.util.ArrayList<Expr> values)
Inserts a new row, returning the row address.
|
void |
Table.insertRow(QueryContext queryContext,
DbTransaction xa,
java.util.ArrayList<Column> columns,
java.util.ArrayList<Expr> values,
Block block,
int rowOffset) |