Uses of Class
org.apache.empire.db.DBExpr
Packages that use DBExpr
Package
Description
This package contains the core Empire-DB implementation classes.
This package contains SQL-generator classes for column expressions.
This package contains SQL-generator classes for compare expressions used in the where and having clause.
This package contains SQL-generator classes for join expressions used in the from clause.
This package contains SQL-generator classes for set expressions used in the set clause.
This package contains classes necessary to support the H2 database system.
This package contains classes necessary to support the HSQLDB database system.
This package contains classes necessary to support the MySQL database system.
This package contains classes necessary to support the Oracle database system.
This package contains classes necessary to support the PostgreSQL database system.
This package contains classes necessary to support the Microsoft SQL-Server database system.
-
Uses of DBExpr in org.apache.empire.db
Subclasses of DBExpr in org.apache.empire.dbModifier and TypeClassDescriptionclassThis class defines a parameter for a prepared statement query.classThis is the base class for all database columns that have a physical representation.classThis class is the base class for all expressions that represent a single value.classThis class is used for combining two DBCommandExpr objects to a new single DBCommandExpr This may be used to create "UNION" or "INTERSECT" queriesclassThis abstract class handles the creation of the SQL-Commands.classThis abstract class handles the creation of the SQL-Commands.protected static classThis class wraps a column of sql command in a special command column object.protected static classclassDBGeneratedValue Abstract base class for Auto generated valuesstatic classDBFuncGeneratedValue Auto-generates a record value from other record fields The template must contain the column names wrapped in square brackets like e.g.static classDBTriggerGeneratedValue Value is generated by TriggerclassThis class can be used to wrap a query from a DBCommand and use it like a DBRowSet.
You may use this class for two purposes: In oder to define subqueries simply define a command object with the subquery and wrap it inside a DBQuery.classclassThis class is the base class for all the DBTable, DBView and DBQuery classes this class contains all the columns of the tables, views or queriesclassThis class represent one table of the database.classThis class represent one column of a table.classThis class represents a database view.static classDBViewColumnMethods in org.apache.empire.db with parameters of type DBExprModifier and TypeMethodDescriptionfinal DBCompareColExprCreates and returns an expression for the SQL "not in" operator.final DBFuncExprCreates and returns a sql-expression that returns the position of a string in the current column expression.final DBCompareColExprCreates and returns an expression for the SQL "not in" operator.Overloaded.final DBFuncExprCreates and returns a sql-expression for the substring(...) function.Overloaded.final DBFuncExprCreates and returns a sql-expression for the substring(...) function.Method parameters in org.apache.empire.db with type arguments of type DBExprModifier and TypeMethodDescriptionprotected voidDBCommandExpr.addListExpr(DBSQLBuilder sql, List<? extends DBExpr> list, long context, String separator) Internally used to build a string from a list of database expressions -
Uses of DBExpr in org.apache.empire.db.expr.column
Subclasses of DBExpr in org.apache.empire.db.expr.columnModifier and TypeClassDescriptionclassThis implements some basic functionality for SQL functions based on a column expressionclassThis class allows column renaming in SQL.classThis class is used for performing calculations in SQL
It handles the mathematical operations ("+", "-", "*", "/") for the current column.classThis class represents a SQL case expression like "case when ?classThis class is used to create a SQL CASE constraint in the form of case {expr} when {value1} then {result1} when {value2} then {result2} ...classThis class is used to create a SQL CASE constraint in the form of case when {cond1} then {result1} when {cond2} then {result2} ...classclassclassThis class is used for performing string concatenation in SQLclassDBConcatExpressionclassThis class is used to convert a value to a different data type.classThis class is used to add the "count" statement to the SQL-Command.classThis class is used to decode a set of keys to the corresponding target values.classThis class is used for performing various SQL functions on a column or column expression.classThis class allows column renaming in SQL.classThis class is used for declaring scalar functions in SQL (like e.g. random).classThis class is used for declaring constant values in SQL.classMethods in org.apache.empire.db.expr.column with parameters of type DBExprModifier and TypeMethodDescriptionvoidDBAbstractFuncExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBAliasExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBCoalesceExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBDecodeExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBParenthesisExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBPreparable.prepareParams(DBCommand cmd, DBExpr parent) Prepares an expression for a query This function is called by DBCommand in order to add values as query parameters instead of being literally included in the sql statement Please Note: This function is internally called.voidDBScalarExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBValueExpr.prepareParams(DBCommand cmd, DBExpr parent) -
Uses of DBExpr in org.apache.empire.db.expr.compare
Subclasses of DBExpr in org.apache.empire.db.expr.compareModifier and TypeClassDescriptionclassThis class is used for combining two filter constraints by and / or operatorclassThis class is used for defining filter constraints based on a column expression in SQLclassThis class is a common base class for all SQL filter constraints classesclassThis class is used for defining filter constraints based on a column expression in SQLclassThis class wraps an existing compare expression with parenthesis.classThis class is used for building up the SQL-Command for the EXISTS syntax.Methods in org.apache.empire.db.expr.compare with parameters of type DBExprModifier and TypeMethodDescriptionvoidDBCompareAndOrExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBCompareColExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBCompareNotExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBCompareParenthesisExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBExistsExpr.prepareParams(DBCommand cmd, DBExpr parent) -
Uses of DBExpr in org.apache.empire.db.expr.join
Subclasses of DBExpr in org.apache.empire.db.expr.joinModifier and TypeClassDescriptionclassclassThis class is used for building a join expression of an SQL statement.classThis class is used for building a join expression of an SQL statement.classThis class is used for building a join expression of an SQL statement.Methods in org.apache.empire.db.expr.join with parameters of type DBExprModifier and TypeMethodDescriptionvoidDBColumnJoinExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBCompareJoinExpr.prepareParams(DBCommand cmd, DBExpr parent) voidDBCrossJoinExpr.prepareParams(DBCommand cmd, DBExpr parent) -
Uses of DBExpr in org.apache.empire.db.expr.order
Subclasses of DBExpr in org.apache.empire.db.expr.order -
Uses of DBExpr in org.apache.empire.db.expr.set
Subclasses of DBExpr in org.apache.empire.db.expr.setModifier and TypeClassDescriptionclassThis class is used for building a set expression of a SQL update statement. -
Uses of DBExpr in org.apache.empire.db.generic
Subclasses of DBExpr in org.apache.empire.db.generic -
Uses of DBExpr in org.apache.empire.dbms
Subclasses of DBExpr in org.apache.empire.dbmsModifier and TypeClassDescriptionstatic final classDBMSCommand A Default DBCommand implementation with no additional featuresstatic classThis class is used to emulate sequences by using a sequence table. -
Uses of DBExpr in org.apache.empire.dbms.h2
Subclasses of DBExpr in org.apache.empire.dbms.h2Modifier and TypeClassDescriptionstatic classDefines the H2 command type. -
Uses of DBExpr in org.apache.empire.dbms.hsql
Subclasses of DBExpr in org.apache.empire.dbms.hsqlModifier and TypeClassDescriptionclassThis class handles the special features of an HSqlDB database. -
Uses of DBExpr in org.apache.empire.dbms.mysql
Subclasses of DBExpr in org.apache.empire.dbms.mysqlModifier and TypeClassDescriptionstatic classDefines the MySQL command type. -
Uses of DBExpr in org.apache.empire.dbms.oracle
Subclasses of DBExpr in org.apache.empire.dbms.oracleModifier and TypeClassDescriptionclassThis class handles the special features of an oracle database.classimplements a column expression for the Oracle rownum functionstatic classstatic classstatic classstatic classstatic classMethods in org.apache.empire.dbms.oracle with parameters of type DBExprModifier and TypeMethodDescriptionprotected voidOracleDDLGenerator.createComment(DBDatabase db, String type, DBExpr expr, String comment, DBSQLScript script) -
Uses of DBExpr in org.apache.empire.dbms.postgresql
Subclasses of DBExpr in org.apache.empire.dbms.postgresqlModifier and TypeClassDescriptionclassDefines the PostgreSQL command type.classPostgresAtAt create a Postgres @@ comparatorclassclassclassMethods in org.apache.empire.dbms.postgresql with parameters of type DBExpr -
Uses of DBExpr in org.apache.empire.dbms.sqlite
Subclasses of DBExpr in org.apache.empire.dbms.sqliteModifier and TypeClassDescriptionstatic classDefines the SQLite command type. -
Uses of DBExpr in org.apache.empire.dbms.sqlserver
Subclasses of DBExpr in org.apache.empire.dbms.sqlserverModifier and TypeClassDescriptionstatic classProvides a DBCommand implementation for Microsoft SQL-Server