| Package | Description |
|---|---|
| org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
| org.apache.empire.db.expr.compare |
This package contains SQL-generator classes for compare expressions used in the where and having clause.
|
| Modifier and Type | Method and Description |
|---|---|
DBFuncExpr |
DBColumnExpr.abs()
Creates and returns a sql-expression for the absolute abs() function.
|
DBFuncExpr |
DBColumnExpr.avg()
Creates and returns an aggregation function object
which returns the average value for the current expression over a group of rows.
|
DBFuncExpr |
DBColumnExpr.ceiling()
Create and returns an expression for the SQL-function ceil()
|
DBFuncExpr |
DBColumnExpr.day()
Creates and returns an function object that
calculates the day of a date value.
|
DBFuncExpr |
DBColumnExpr.floor()
Create and returns an expression for the SQL-function floor()
|
DBFuncExpr |
DBColumnExpr.format(String format)
Formats a column-expression using a format string
This function is intended for formatting numbers.
|
protected DBFuncExpr |
DBColumnExpr.getExprFromPhrase(DBSqlPhrase phrase,
Object[] params) |
protected DBFuncExpr |
DBColumnExpr.getExprFromPhrase(DBSqlPhrase phrase,
Object[] params,
DataType dataType)
Creates a new DBFuncExpr from a given SQL-PRHASE and
optional additional parameters.
|
DBFuncExpr |
DBColumnExpr.indexOf(Object str)
Creates and returns a sql-expression that returns the position of a string in the current column expression.
|
DBFuncExpr |
DBColumnExpr.indexOf(Object str,
DBExpr fromPos)
Creates and returns a sql-expression that returns the position of a string in the current column expression.
|
DBFuncExpr |
DBColumnExpr.indexOf(Object str,
int fromPos)
Overloaded.
|
DBFuncExpr |
DBColumnExpr.length()
Creates and returns a sql-expression that returns the string length of this expression.
|
DBFuncExpr |
DBColumnExpr.lower()
Creates and returns a function object which
converts the current expression to lower case.
|
DBFuncExpr |
DBColumnExpr.max()
Creates and returns an aggregation function object
which returns the maximum value for the current expression over a group of rows.
|
DBFuncExpr |
DBColumnExpr.min()
Creates and returns an aggregation function object
which returns the minimum value for the current expression over a group of rows.
|
DBFuncExpr |
DBColumnExpr.modulo(Object divisor)
Creates a sql-expression for the modulo or mod() function.
|
DBFuncExpr |
DBColumnExpr.month()
Creates and returns an function object that
calculates the month of a date value.
|
DBFuncExpr |
DBColumnExpr.prepend(Object value)
Puts a value or expression before the current expression
|
DBFuncExpr |
DBColumnExpr.replace(Object match,
Object replace)
Creates and returns a sql-expression for the replace(...) function.
|
DBFuncExpr |
DBColumnExpr.reverse()
Creates and returns a sql-expression for the reverse(...) function.
|
DBFuncExpr |
DBColumnExpr.round(int decimals)
Creates and returns an function object that
rounds a number espression with the given decimals.
|
DBFuncExpr |
DBColumnExpr.stringAgg(String separator)
Creates and returns string aggregation expression
|
DBFuncExpr |
DBColumnExpr.stringAgg(String separator,
DBOrderByExpr orderBy)
Creates and returns string aggregation expression
|
DBFuncExpr |
DBColumnExpr.substring(DBExpr pos)
Creates and returns a sql-expression for the substring(...) function.
|
DBFuncExpr |
DBColumnExpr.substring(DBExpr pos,
DBExpr count)
Creates and returns a sql-expression for the substring(...) function.
|
DBFuncExpr |
DBColumnExpr.substring(DBExpr pos,
int count)
Overloaded.
|
DBFuncExpr |
DBColumnExpr.substring(int pos)
Overloaded.
|
DBFuncExpr |
DBColumnExpr.substring(int pos,
DBExpr count)
Overloaded.
|
DBFuncExpr |
DBColumnExpr.substring(int pos,
int count)
Overloaded.
|
DBFuncExpr |
DBColumnExpr.sum()
Creates and returns an aggregation function object
which calculates the sum for the current expression over a group of rows.
|
DBFuncExpr |
DBColumnExpr.trim()
Creates and returns a sql-expression for the trim() function.
|
DBFuncExpr |
DBColumnExpr.trimLeft()
Creates and returns a sql-expression for the ltrim() function.
|
DBFuncExpr |
DBColumnExpr.trimRight()
Creates and returns a sql-expression for the rtrim() function.
|
DBFuncExpr |
DBColumnExpr.trunc(int decimals)
Creates and returns an function object that
truncates a number espression with the given decimals.
|
DBFuncExpr |
DBColumnExpr.upper()
Creates and returns a function object which
converts the current expression to upper case.
|
DBFuncExpr |
DBColumnExpr.year()
Creates and returns an function object that
calculates the year of a date value.
|
| Modifier and Type | Field and Description |
|---|---|
protected DBFuncExpr |
DBCompareColExpr.function |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.