Uses of Class
org.apache.empire.db.expr.column.DBFuncExpr

Packages that use DBFuncExpr
Package
Description
This package contains the core Empire-DB implementation classes.
This package contains SQL-generator classes for compare expressions used in the where and having clause.
  • Uses of DBFuncExpr in org.apache.empire.db

    Methods in org.apache.empire.db that return DBFuncExpr
    Modifier and Type
    Method
    Description
    DBColumnExpr.abs()
    Creates and returns a sql-expression for the absolute abs() function.
    DBColumnExpr.avg()
    Creates and returns an aggregation function object which returns the average value for the current expression over a group of rows.
    DBColumnExpr.ceiling()
    Create and returns an expression for the SQL-function ceil()
    DBColumnExpr.day()
    Creates and returns an function object that calculates the day of a date value.
    DBColumnExpr.floor()
    Create and returns an expression for the SQL-function floor()
    DBColumnExpr.format(String format)
    Formats a column-expression using a format string This function is intended for formatting numbers.
    protected final 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.
    DBColumnExpr.indexOf(Object str)
    Creates and returns a sql-expression that returns the position of a string in the current column expression.
    DBColumnExpr.indexOf(Object str, int fromPos)
    Overloaded.
    DBColumnExpr.indexOf(Object str, DBExpr fromPos)
    Creates and returns a sql-expression that returns the position of a string in the current column expression.
    DBColumnExpr.length()
    Creates and returns a sql-expression that returns the string length of this expression.
    DBColumnExpr.lower()
    Creates and returns a function object which converts the current expression to lower case.
    DBColumnExpr.max()
    Creates and returns an aggregation function object which returns the maximum value for the current expression over a group of rows.
    DBColumnExpr.min()
    Creates and returns an aggregation function object which returns the minimum value for the current expression over a group of rows.
    DBColumnExpr.modulo(Object divisor)
    Creates a sql-expression for the modulo or mod() function.
    DBColumnExpr.month()
    Creates and returns an function object that calculates the month of a date value.
    DBColumnExpr.prepend(Object value)
    Puts a value or expression before the current expression
    DBColumnExpr.replace(Object match, Object replace)
    Creates and returns a sql-expression for the replace(...) function.
    DBColumnExpr.reverse()
    Creates and returns a sql-expression for the reverse(...) function.
    DBColumnExpr.round(int decimals)
    Creates and returns an function object that rounds a number espression with the given decimals.
    DBColumnExpr.stringAgg(String separator)
    Creates and returns string aggregation expression
    DBColumnExpr.stringAgg(String separator, DBOrderByExpr orderBy)
    Creates and returns string aggregation expression
    DBColumnExpr.substring(int pos)
    Overloaded.
    DBColumnExpr.substring(int pos, int count)
    Overloaded.
    DBColumnExpr.substring(int pos, DBExpr count)
    Overloaded.
    DBColumnExpr.substring(DBExpr pos)
    Creates and returns a sql-expression for the substring(...) function.
    DBColumnExpr.substring(DBExpr pos, int count)
    Overloaded.
    DBColumnExpr.substring(DBExpr pos, DBExpr count)
    Creates and returns a sql-expression for the substring(...) function.
    DBColumnExpr.sum()
    Creates and returns an aggregation function object which calculates the sum for the current expression over a group of rows.
    DBColumnExpr.trim()
    Creates and returns a sql-expression for the trim() function.
    DBColumnExpr.trimLeft()
    Creates and returns a sql-expression for the ltrim() function.
    DBColumnExpr.trimRight()
    Creates and returns a sql-expression for the rtrim() function.
    DBColumnExpr.trunc(int decimals)
    Creates and returns an function object that truncates a number espression with the given decimals.
    DBColumnExpr.upper()
    Creates and returns a function object which converts the current expression to upper case.
    DBColumnExpr.year()
    Creates and returns an function object that calculates the year of a date value.
  • Uses of DBFuncExpr in org.apache.empire.db.expr.compare

    Modifier and Type
    Field
    Description
    protected DBFuncExpr
    DBCompareColExpr.function