| Package | Description |
|---|---|
| org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
| org.apache.empire.db.expr.column |
This package contains SQL-generator classes for column expressions.
|
| org.apache.empire.db.expr.compare |
This package contains SQL-generator classes for compare expressions used in the where and having clause.
|
| org.apache.empire.db.expr.join |
This package contains SQL-generator classes for join expressions used in the from clause.
|
| org.apache.empire.db.expr.order | |
| org.apache.empire.db.list | |
| org.apache.empire.dbms | |
| org.apache.empire.dbms.derby |
This package contains classes necessary to support the Apache Derby database system.
|
| org.apache.empire.dbms.h2 |
This package contains classes necessary to support the H2 database system.
|
| org.apache.empire.dbms.hsql |
This package contains classes necessary to support the HSQLDB database system.
|
| org.apache.empire.dbms.mysql |
This package contains classes necessary to support the MySQL database system.
|
| org.apache.empire.dbms.oracle |
This package contains classes necessary to support the Oracle database system.
|
| org.apache.empire.dbms.postgresql |
This package contains classes necessary to support the PostgreSQL database system.
|
| org.apache.empire.dbms.sqlite | |
| org.apache.empire.dbms.sqlserver |
This package contains classes necessary to support the Microsoft SQL-Server database system.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DBColumn
This is the base class for all database columns that have a physical representation.
|
protected static class |
DBCommandExpr.DBCmdColumn
This class wraps a column of sql command in a special command column object.
|
protected static class |
DBQuery.DBQueryExprColumn
DBQueryExprColumn
|
class |
DBQueryColumn |
class |
DBTableColumn
This class represent one column of a table.
|
static class |
DBView.DBViewColumn
DBViewColumn
|
| Modifier and Type | Field and Description |
|---|---|
protected DBColumnExpr |
DBView.DBViewColumn.expr |
protected DBColumnExpr |
DBQueryColumn.expr |
| Modifier and Type | Field and Description |
|---|---|
protected List<DBColumnExpr> |
DBCommand.groupBy |
protected List<DBColumnExpr> |
DBCommand.select |
| Modifier and Type | Method and Description |
|---|---|
<T extends DBColumnExpr> |
DBColumnExpr.setBeanPropertyName(String propertyName)
Sets the Java bean property name for this column.
|
<T extends DBColumnExpr> |
DBColumnExpr.setControlType(String controlType)
Sets the controlType attribute.
|
<T extends DBColumnExpr> |
DBColumnExpr.setDefaultSortOrder(Boolean descending)
Sets the default sort order
|
<T extends DBColumnExpr> |
DBColumnExpr.setOptions(Options options)
Sets the options for this column indicating all valid values.
|
<T extends DBColumnExpr> |
DBColumnExpr.setTitle(String title)
Sets the title attribute.
|
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBColumnExpr.aggregate(String template,
DataType returnType,
Object... params)
Creates and returns a function from an sql template
The template may consist of the following placeholders:
?
|
DBColumnExpr |
DBRowSet.count()
Returns a new DBCountExpr object.
|
DBColumnExpr |
DBColumn.decodeEnum()
Creates and returns a sql-expression that maps enum values by name or ordinal to their string representation
|
DBColumnExpr |
DBColumn.decodeSort(boolean defaultToEnd)
Creates and returns a sql-expression that maps enum values from name to ordinal
|
DBColumnExpr |
DBColumnExpr.function(String template,
DataType returnType,
Object... params)
Creates and returns a function from an sql template
The template may consist of the following placeholders:
?
|
protected DBColumnExpr |
DBCommandExpr.getCmdColumn(DBColumnExpr col)
wraps a column expression such that is specific for to this command and detached from its source.
|
DBColumnExpr |
DBReader.getColumn(int iColumn)
Get the column Expression at position
|
protected DBColumnExpr |
DBRowSet.getColumnExprAt(int index)
Returns the column expression at a given column index
Allow overrides in derived classes
|
protected DBColumnExpr |
DBQuery.getColumnExprAt(int index) |
protected DBColumnExpr[] |
DBReader.getColumnExprList()
Access the column expression list
|
DBColumnExpr |
DBQueryColumn.getExpr() |
DBColumnExpr[] |
DBIndex.getExpressions()
Returns the columnExpressions belonging to this index.
|
DBColumnExpr[] |
DBExpressionIndex.getExpressions()
Returns the columnExpressions belonging to this index.
|
DBColumnExpr |
DBColumnExpr.getIgnoreCaseExpr()
Returns an expression which ignores the case
Only for case sensitive columns!
|
DBColumnExpr |
DBDatabase.getIgnoreCaseExpr(DBColumnExpr columnExpr)
Returns an expression that ignores the case of a column expression
This is only called for case sensitive column expressions (expr.isCaseSensitive())
Default is upper(expr)
|
DBColumnExpr |
DBColumn.getNormalizedColumn()
Returns the normalized column for the columnExpr (if any)
|
abstract DBColumnExpr[] |
DBCommandExpr.getSelectExprList()
Returns the list of all select expressions as an array
Used internally only
|
DBColumnExpr[] |
DBCommand.getSelectExprList()
Returns an array of all select expressions
|
DBColumnExpr[] |
DBCombinedCmd.getSelectExprList()
Calls the method dbDBCommandExpr.getSelectExprList from the private variable 'left'.
|
DBColumnExpr |
DBColumn.getSortExpr()
Returns the sort expression for a given column
If no sort expression is explicitly set then the column itself is returned
The returned expression should be assigned to an DBCommand.orderBy() function.
|
DBColumnExpr |
DBView.DBViewColumn.getSourceColumnExpr() |
DBColumnExpr |
DBColumnExpr.nvl(Object nullValue)
Deprecated.
Outdated oracle syntax - use coalesce instead
|
DBColumnExpr |
DBColumnExpr.parenthesis()
Creates and returns a function object which
encloses the current expression in parenthesis.
|
DBColumnExpr |
DBColumn.reference()
Returns a reference expression for this column
This can be used to reference a parent column in a subquery
|
DBColumnExpr |
DBCommandExpr.result()
Returns a ColumnExpr for the result of the query
If the command must have exactly one select column otherwise a NotSupportedException is thrown;
|
| Modifier and Type | Method and Description |
|---|---|
List<DBColumnExpr> |
DBCommand.getGroupBy()
Returns a copy of the defined where clauses.
|
abstract List<DBColumnExpr> |
DBCommandExpr.getSelectExpressions()
returns a list of expressions for the SELECT part of the sql statement
|
List<DBColumnExpr> |
DBCommand.getSelectExpressions()
Returns all select expressions as unmodifiable list
|
List<DBColumnExpr> |
DBCombinedCmd.getSelectExpressions()
Returns all select expressions as unmodifiable list
|
| Modifier and Type | Method and Description |
|---|---|
protected DBView.DBViewColumn |
DBView.addColumn(String columnName,
DBColumnExpr columnExpr)
Adds a column to the view.
|
DBCmdParam |
DBCommand.addParam(DBColumnExpr colExpr,
Object value)
Adds an command parameter which will be used in a prepared statement.
|
protected void |
DBDDLGenerator.appendIndexColumn(DBIndex index,
DBColumnExpr idxColumn,
DBSQLBuilder sql)
Appends an column expression to an index
|
DBCaseExpr |
DBDatabase.caseMap(DBColumnExpr column,
Map<? extends Object,? extends Object> valueMap,
Object elseValue)
Creates a SQL case expression
in the form "case [Expr] when [mapKey] then [mapValue] else [elseValue] end"
|
DBCaseExpr |
DBDatabase.caseMap(DBColumnExpr column,
Object cmpValue,
Object trueValue,
Object falseValue)
Creates a SQL case expression
in the form "case [Expr] when [compareValue] then [trueValue] else [elseValue] end"
|
DBCaseExpr |
DBDatabase.caseMap(DBColumnExpr column,
Options options,
Object elseValue)
Creates a SQL case expression
in the form "case [Expr] when [optionValue] then [optionText] else [elseValue] end"
|
DBCaseExpr |
DBDatabase.caseWhenNull(DBColumnExpr column,
Object trueValue,
Object falseValue)
Creates a SQL case expression that check whether a column or column expression is null
"case when [condition] is null then [trueValue] else [falseValue] end"
This is a helper function to simplify client usage
|
DBQueryColumn |
DBQuery.column(DBColumnExpr expr)
This is a convenience shortcut for findQueryColumn
|
DBConcatFuncExpr |
DBColumnExpr.concat(DBColumnExpr... concatExprs)
concatenates a list of expressions to the current column
|
DBConcatFuncExpr |
DBColumnExpr.concat(String separator,
DBColumnExpr... concatExprs)
concatenates a list of expressions to the current column
|
protected DBView.DBViewColumn |
DBView.createAndAppendColumn(String columnName,
DBColumnExpr sourceExpression,
double size)
Adds a column to the view.
|
protected DBQueryColumn |
DBQuery.createQueryColumn(DBColumnExpr expr,
int index)
factory method for column expressions in order to allow overrides
|
DBQueryColumn |
DBQuery.findColumn(DBColumnExpr expr)
This function provides the query column object for a particular query command expression
|
protected DBCompareExpr |
DBCommand.findConstraintOn(List<DBCompareExpr> list,
DBColumnExpr colExpr)
finds a constraint on a particular column to the 'where' or 'having' collections
|
DBView.DBViewColumn |
DBView.findViewColumn(DBColumnExpr expr)
This function searches for equal columns given by the specified DBColumnExpr object.
|
protected DBColumnExpr |
DBCommandExpr.getCmdColumn(DBColumnExpr col)
wraps a column expression such that is specific for to this command and detached from its source.
|
Class<?> |
DBDatabase.getColumnJavaType(DBColumnExpr expr)
Returns the java class type for a given dataType
|
DBColumnExpr |
DBDatabase.getIgnoreCaseExpr(DBColumnExpr columnExpr)
Returns an expression that ignores the case of a column expression
This is only called for case sensitive column expressions (expr.isCaseSensitive())
Default is upper(expr)
|
protected String |
DBCommandExpr.getInsertInto(DBTable table,
DBColumnExpr[] select,
List<DBColumnExpr> columns)
Create the insert into SQL-Command which copies data
from a select statement to a destination table.
|
DBCommand |
DBCommand.groupBy(DBColumnExpr... exprs)
Adds a list of columns to the Group By clause of an sql statement.
|
DBCommand |
DBCommand.groupBy(DBColumnExpr columnExpr)
Adds a column expression to the Group By clause of an sql statement.
|
boolean |
DBCommand.hasHavingConstraintOn(DBColumnExpr col)
Checks whether the command has a constraint on a particular column expression
|
abstract boolean |
DBCommandExpr.hasSelectExpr(DBColumnExpr expr)
returns whether or not the command has a specific select expression
|
boolean |
DBCommand.hasSelectExpr(DBColumnExpr expr)
returns whether or not the command has a specific select expression
|
boolean |
DBCombinedCmd.hasSelectExpr(DBColumnExpr expr)
returns whether or not the command has a specific select expression
|
boolean |
DBCommand.hasWhereConstraintOn(DBColumnExpr col)
Checks whether the command has a constraint on a particular column expression
|
protected void |
DBReader.init(DBDatabase db,
DBColumnExpr[] columns,
ResultSet rset)
Initialize the reader from an open JDBC-ResultSet
|
DBCommand |
DBCommand.join(DBColumnExpr left,
DBColumn right,
DBCompareExpr... addlConstraints)
Adds an inner join based on two columns to the list of join expressions.
|
DBCommand |
DBCommand.join(DBColumnExpr left,
DBColumn right,
DBJoinType joinType,
DBCompareExpr... addlConstraints)
Adds a join based on two columns to the list of join expressions.
|
DBCommand |
DBCommand.joinLeft(DBColumnExpr left,
DBColumn right,
DBCompareExpr... addlConstraints)
Adds a left join based on two columns to the list of join expressions.
|
DBCommand |
DBCommand.joinRight(DBColumnExpr left,
DBColumn right,
DBCompareExpr... addlConstraints)
Adds a right join based on two columns to the list of join expressions.
|
DBColumnJoinExpr |
DBColumnExpr.on(DBColumnExpr joinWith)
create a join expression for DBCommand.join()
|
DBCommandExpr |
DBCommandExpr.orderBy(DBColumnExpr... exprs)
Adds a list of columns to the orderBy clause in ascending order
|
DBCommand |
DBCommand.orderBy(DBColumnExpr... exprs)
Overridden to change return type from DBCommandExpr to DBCommand
|
DBCommandExpr |
DBCommandExpr.orderBy(DBColumnExpr expr,
boolean desc)
Adds an order by with ascending or descending order
|
DBCommand |
DBCommand.orderBy(DBColumnExpr expr,
boolean desc)
Overridden to change return type from DBCommandExpr to DBCommand
|
DBCommandExpr |
DBCommandExpr.orderByUpper(DBColumnExpr... exprs)
Adds a list of columns to the orderBy clause in ascending order
|
DBCommand |
DBCommand.orderByUpper(DBColumnExpr... expr)
Overridden to change return type from DBCommandExpr to DBCommand
|
DBCommandExpr |
DBCommandExpr.orderByUpper(DBColumnExpr expr,
boolean desc)
Adds a case insensitive order by with ascending or descending order
|
DBCommand |
DBCommand.orderByUpper(DBColumnExpr expr,
boolean desc)
Overridden to change return type from DBCommandExpr to DBCommand
|
protected DBCompareExpr |
DBCommand.removeConstraintOn(List<DBCompareExpr> list,
DBColumnExpr colExpr)
removes a constraint on a particular column to the 'where' or 'having' collections
|
DBCompareExpr |
DBCommand.removeHavingConstraintOn(DBColumnExpr col)
removes a constraint on a particular column from the having clause
|
void |
DBCommand.removeSelect(DBColumnExpr... exprs)
removes one or more expressions from the Select expression list
|
DBCompareExpr |
DBCommand.removeWhereConstraintOn(DBColumnExpr col)
removes a constraint on a particular column from the where clause
|
void |
DBCommand.replaceSelect(DBColumnExpr replExpr,
DBColumnExpr replWith)
replaces a select expression with another or removes a select expression
In order to remove the expression, set the replWith parameter to null
If the replace expression is not found, an ItemNotFoundException is thrown
|
DBCommand |
DBCommand.select(DBColumnExpr... exprs)
Adds a list of columns to the select phrase of an sql statement.
|
DBCommand |
DBCommand.select(DBColumnExpr expr)
Adds a DBColumnExpr object to the Select collection
|
DBCommand |
DBCommand.selectQualified(DBColumnExpr... columns)
Adds a list of columns with their qualified name to the select phrase of an sql statement.
|
<T extends Column> |
DBColumn.setNormalizedColumn(DBColumnExpr normalizedColumn)
Sets a normalized columnExpr for this columnExpr
|
<T extends DBColumn> |
DBColumn.setSortExpr(DBColumnExpr sortExpression)
Sets a sort function expression for a given column
|
protected boolean |
DBCommand.useCmdParam(DBColumnExpr col,
Object value)
returns true if a cmdParam should be used for the given column or false otherwise
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> DBBeanListFactory<T> |
DBUtils.createDefaultBeanListFactory(Class<T> beanType,
Column[] keyColumns,
List<? extends DBColumnExpr> selectColumns)
Crates a default DBBeanListFactory for Java bean class
The DBRecord class must provide
either a standard construtor with correspondig property set fundtions
or a constructor using the fields of the query
|
protected String |
DBCommandExpr.getInsertInto(DBTable table,
DBColumnExpr[] select,
List<DBColumnExpr> columns)
Create the insert into SQL-Command which copies data
from a select statement to a destination table.
|
String |
DBCommandExpr.getInsertInto(DBTable table,
List<DBColumnExpr> columns)
Create the insert into SQL-Command which copies
data from a select statement to a destination table.
|
DBCommand |
DBCommand.groupBy(Collection<? extends DBColumnExpr> columns)
Adds a collection of columns to the Group By clause of an sql statement.
|
DBCommand |
DBCommand.select(Collection<? extends DBColumnExpr> columns)
Adds a collection of columns to the select phrase of an sql statement.
|
DBCommand |
DBCommand.selectQualified(Collection<? extends DBColumnExpr> columns)
Adds a collection of columns to the select phrase of an sql statement.
|
| Constructor and Description |
|---|
DBCmdColumn(DBRowSet query,
DBColumnExpr expr)
Constructs a new DBCmdColumn object
|
DBCmdQuery(DBCommandExpr cmd,
DBDatabase db,
DBColumnExpr[] exprList)
Creates a new DBCmdQueryObject
|
DBExpressionIndex(String name,
boolean unique,
DBColumnExpr... columnExpressions)
Constructs a DBExpresionIndex
|
DBExpressionIndex(String name,
DBIndex.DBIndexType type,
DBColumnExpr... columnExpressions)
Constructs a DBExpresionIndex
|
DBQueryColumn(DBQuery query,
String name,
DBColumnExpr expr)
Constructs a DBQueryColumn object set the specified parameters to this object.
|
DBQueryExprColumn(DBQuery q,
String name,
DBColumnExpr expr) |
DBViewColumn(DBView view,
String name,
DBColumnExpr expr,
double size)
Constructs a DBViewColumn object set the specified parameters to this object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DBAbstractFuncExpr
This implements some basic functionality for SQL functions based on a column expression
|
class |
DBAliasExpr
This class allows column renaming in SQL.
|
class |
DBCalcExpr
This class is used for performing calculations in SQL
It handles the mathematical operations ("+", "-", "*", "/") for the current column. |
class |
DBCaseExpr
This class represents a SQL case expression
like "case when ?
|
class |
DBCaseMapExpr
This class is used to create a SQL CASE constraint in the form of
case {expr} when {value1} then {result1}
when {value2} then {result2}
...
|
class |
DBCaseWhenExpr
This class is used to create a SQL CASE constraint in the form of
case when {cond1} then {result1}
when {cond2} then {result2}
...
|
class |
DBCmdResultExpr |
class |
DBCoalesceExpr |
class |
DBConcatExpr
This class is used for performing string concatenation in SQL
There is no need to explicitly create instances of this class. |
class |
DBConcatFuncExpr
DBConcatExpression
|
class |
DBConvertExpr
This class is used to convert a value to a different data type.
|
class |
DBCountExpr
This class is used to add the "count" statement to the SQL-Command.
|
class |
DBDecodeExpr
This class is used to decode a set of keys to the corresponding target values.
|
class |
DBFuncExpr
This class is used for performing various SQL functions on a column or column expression.
|
class |
DBParenthesisExpr
This class allows column renaming in SQL.
|
class |
DBScalarExpr
This class is used for declaring scalar functions in SQL (like e.g. random).
|
class |
DBValueExpr
This class is used for declaring constant values in SQL.
|
class |
DBVarArgsFuncExpr |
| Modifier and Type | Field and Description |
|---|---|
protected DBColumnExpr |
DBAbstractFuncExpr.expr |
protected DBColumnExpr |
DBConcatExpr.left |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBValueExpr.getIgnoreCaseExpr(DBColumnExpr context)
Returns an expression which ignores the case
Only for case sensitive columns!
|
protected DBColumnExpr |
DBCaseExpr.getSourceColumnExpr(Collection<?> values,
Object elseValue) |
DBColumnExpr |
DBParenthesisExpr.unwrap()
Returns the underlying column expression.
|
DBColumnExpr |
DBCoalesceExpr.unwrap() |
DBColumnExpr |
DBAliasExpr.unwrap()
Returns the underlying column expression.
|
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBValueExpr.getIgnoreCaseExpr(DBColumnExpr context)
Returns an expression which ignores the case
Only for case sensitive columns!
|
| Constructor and Description |
|---|
DBAbstractFuncExpr(DBColumnExpr expr,
boolean isAggregate,
DataType dataType)
Constructs a new DBFuncExpr object set the specified parameters to this object.
|
DBAliasExpr(DBColumnExpr expr,
String alias)
Constructs a DBAliasExpr object combine the DBColumnExpr object with the alias name.
|
DBCalcExpr(DBColumnExpr expr,
String op,
Object value)
Constructs a DBCalcExpr object Sets the mathematical operations ("+", "-", "*", "/")
for the specified DBColumnExpr object and value. |
DBCaseExpr(DBColumnExpr caseExpr) |
DBCaseMapExpr(DBColumnExpr caseExpr,
Map<? extends Object,? extends Object> valueMap,
Object elseValue)
constructs a DBCaseSelectExpr expr
|
DBCaseMapExpr(DBColumnExpr caseExpr,
Object cmpVal,
Object trueValue,
Object elseValue) |
DBCaseMapExpr(DBColumnExpr caseExpr,
Object cmpVal1,
Object trueValue1,
Object cmpVal2,
Object trueValue2,
Object elseValue) |
DBCoalesceExpr(DBColumnExpr expr,
Object nullValue) |
DBConcatExpr(DBColumnExpr left,
Object right)
Constructs a new DBConcatExpr object set the specified parameters to this object.
|
DBConcatFuncExpr(DBColumnExpr first,
DBColumnExpr... others)
create concat expression
|
DBConcatFuncExpr(DBColumnExpr first,
DBColumnExpr... others)
create concat expression
|
DBConcatFuncExpr(DBColumnExpr first,
String separator,
DBColumnExpr... others)
create concat expression
|
DBConcatFuncExpr(DBColumnExpr first,
String separator,
DBColumnExpr... others)
create concat expression
|
DBConvertExpr(DBColumnExpr expr,
DataType dataType,
Object format)
Constructs a DBDecodeExpr
|
DBCountExpr(DBColumnExpr expr,
boolean distinct)
Constructs a DBCountExpr.
|
DBDecodeExpr(DBColumnExpr expr,
Map<?,?> valueMap,
Object elseExpr,
DataType dataType)
Constructs a DBDecodeExpr
|
DBFuncExpr(DBColumnExpr expr,
DBSqlPhrase phrase,
Object[] params,
DataType dataType)
Constructs a new DBFuncExpr object set the specified parameters to this object.
|
DBFuncExpr(DBColumnExpr expr,
String template,
Object[] params,
boolean isAggregate,
DataType dataType)
Constructs a new DBFuncExpr object set the specified parameters to this object.
|
DBParenthesisExpr(DBColumnExpr expr)
Constructs a DBAliasExpr object combine the DBColumnExpr object with the alias name.
|
DBVarArgsFuncExpr(DBDatabase db,
DataType dataType,
String template,
DBColumnExpr... cols) |
| Modifier and Type | Field and Description |
|---|---|
protected DBColumnExpr |
DBCompareColExpr.expr |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBCompareColExpr.getColumnExpr()
Gets the DBColumnExpr object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DBExistsExpr.isConstraintOn(DBColumnExpr colExpr)
Returns whether the constraint is on the given column
|
boolean |
DBCompareParenthesisExpr.isConstraintOn(DBColumnExpr colExpr) |
boolean |
DBCompareNotExpr.isConstraintOn(DBColumnExpr colExpr)
Returns whether the constraint is on the given column
|
abstract boolean |
DBCompareExpr.isConstraintOn(DBColumnExpr colExpr) |
boolean |
DBCompareColExpr.isConstraintOn(DBColumnExpr colExpr)
Returns whether the constraint is on the given column
|
boolean |
DBCompareAndOrExpr.isConstraintOn(DBColumnExpr colExpr)
Returns whether the constraint is on the given column
|
| Constructor and Description |
|---|
DBCompareColExpr(DBColumnExpr expr,
DBCmpType op,
Object value)
Constructs a DBCompareColExpr object set the specified parameters to this object.
|
| Modifier and Type | Field and Description |
|---|---|
protected DBColumnExpr |
DBColumnJoinExpr.left |
protected DBColumnExpr |
DBColumnJoinExpr.right |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBColumnJoinExpr.getLeft()
returns the left join expression
|
DBColumnExpr |
DBColumnJoinExpr.getRight()
returns the right join expression
|
| Modifier and Type | Method and Description |
|---|---|
DBColumnJoinExpr |
DBColumnJoinExpr.and(DBColumnExpr c1,
DBColumnExpr c2)
This function adds an additional constraint to the join.
|
| Constructor and Description |
|---|
DBColumnJoinExpr(DBColumnExpr left,
DBColumnExpr right,
DBJoinType type) |
DBColumnJoinExpr(DBColumnExpr left,
DBColumnExpr right,
DBJoinType type,
DBCompareExpr addlConstraint)
Constructs a join expression based on two columns or column expressions
|
| Modifier and Type | Field and Description |
|---|---|
protected DBColumnExpr |
DBOrderByExpr.expr |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBOrderByExpr.getColumn() |
| Constructor and Description |
|---|
DBOrderByExpr(DBColumnExpr expr,
boolean desc)
Construct a new DBOrderByInfo object set the specified
parameters to this object.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<? extends DBColumnExpr> |
DBBeanListFactoryImpl.constructorParams |
protected List<? extends DBColumnExpr> |
DBBeanListFactoryImpl.setterColumns |
| Modifier and Type | Method and Description |
|---|---|
protected static <T> Constructor<T> |
DBBeanListFactoryImpl.findBeanConstructor(Class<T> beanType,
List<? extends DBColumnExpr> params)
Finds a suitable constructor for the beanClass
|
| Constructor and Description |
|---|
DBBeanListFactoryImpl(Class<T> beanType,
Column[] keyColumns,
List<? extends DBColumnExpr> selectColumns)
Constructs a DBRecordListFactoryImpl based on an DBRecord class
|
DBBeanListFactoryImpl(Class<T> beanType,
List<? extends DBColumnExpr> selectColumns)
Constructs a DBRecordListFactoryImpl based on an DBRecord class
|
DBBeanListFactoryImpl(Class<T> beanType,
List<? extends DBColumnExpr> keyColumns,
List<? extends DBColumnExpr> selectColumns)
Constructs a DBRecordListFactoryImpl based on an DBRecord class
|
DBBeanListFactoryImpl(Class<T> beanType,
List<? extends DBColumnExpr> keyColumns,
List<? extends DBColumnExpr> selectColumns)
Constructs a DBRecordListFactoryImpl based on an DBRecord class
|
DBBeanListFactoryImpl(Constructor<T> constructor,
List<? extends DBColumnExpr> constructorParams,
List<? extends DBColumnExpr> setterColumns)
Constructs a DBRecordListFactoryImpl based on an DBRecord constructor
|
DBBeanListFactoryImpl(Constructor<T> constructor,
List<? extends DBColumnExpr> constructorParams,
List<? extends DBColumnExpr> setterColumns)
Constructs a DBRecordListFactoryImpl based on an DBRecord constructor
|
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerBase.getIgnoreCaseExpr(DBColumnExpr expr)
Returns an expression that ignores the case of a column expression
Only for text columns.
|
DBColumnExpr |
DBMSHandler.getIgnoreCaseExpr(DBColumnExpr columnExpr)
Returns an expression that ignores the case of a column expression
This is only called for case sensitive column expressions (expr.isCaseSensitive())
Default is upper(expr)
|
abstract DBColumnExpr |
DBMSHandlerBase.getNextSequenceValueExpr(DBTableColumn column)
Returns an expression for creating a sequence value.
|
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerBase.getIgnoreCaseExpr(DBColumnExpr expr)
Returns an expression that ignores the case of a column expression
Only for text columns.
|
DBColumnExpr |
DBMSHandler.getIgnoreCaseExpr(DBColumnExpr columnExpr)
Returns an expression that ignores the case of a column expression
This is only called for case sensitive column expressions (expr.isCaseSensitive())
Default is upper(expr)
|
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerDerby.getNextSequenceValueExpr(DBTableColumn column) |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerH2.getNextSequenceValueExpr(DBTableColumn column) |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerHSql.getNextSequenceValueExpr(DBTableColumn column) |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerMySQL.getNextSequenceValueExpr(DBTableColumn column) |
| Modifier and Type | Class and Description |
|---|---|
class |
OracleRowNumExpr
implements a column expression for the Oracle rownum function
|
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerOracle.getNextSequenceValueExpr(DBTableColumn column) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
OracleDDLGenerator.appendIndexColumn(DBIndex index,
DBColumnExpr idxColumn,
DBSQLBuilder sql) |
| Modifier and Type | Class and Description |
|---|---|
class |
PostgresBoolAndOrExpr |
class |
PostgresFuncExpr |
class |
PostgresIntervalExpr |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerPostgreSQL.getNextSequenceValueExpr(DBTableColumn column) |
DBColumnExpr |
DBCommandPostgres.pgAge(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/functions-datetime.html
|
DBColumnExpr |
DBCommandPostgres.pgAge(DBColumnExpr expr1,
DBColumnExpr expr2)
See https://www.postgresql.org/docs/current/functions-datetime.html
|
DBColumnExpr |
DBCommandPostgres.pgBoolAnd(DBCompareExpr cmpExpr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgBoolOr(DBCompareExpr cmpExpr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgExtract(PostgresExtractField field,
DBColumnExpr expr)
See https://www.postgresql.org/docs/current/functions-datetime.html
|
DBColumnExpr |
DBCommandPostgres.pgPlaintoTsquery(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgToTsquery(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgToTsvector(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgWebsearchToTsquery(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PostgresAtAt.isConstraintOn(DBColumnExpr colExpr) |
DBColumnExpr |
DBCommandPostgres.pgAge(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/functions-datetime.html
|
DBColumnExpr |
DBCommandPostgres.pgAge(DBColumnExpr expr1,
DBColumnExpr expr2)
See https://www.postgresql.org/docs/current/functions-datetime.html
|
PostgresAtAt |
DBCommandPostgres.pgCompareAtAt(DBColumnExpr left,
DBColumnExpr right)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgExtract(PostgresExtractField field,
DBColumnExpr expr)
See https://www.postgresql.org/docs/current/functions-datetime.html
|
DBColumnExpr |
DBCommandPostgres.pgPlaintoTsquery(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgToTsquery(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgToTsvector(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
DBColumnExpr |
DBCommandPostgres.pgWebsearchToTsquery(DBColumnExpr expr)
See https://www.postgresql.org/docs/current/textsearch-controls.html
|
| Constructor and Description |
|---|
PostgresAtAt(DBColumnExpr left,
DBColumnExpr right) |
PostgresFuncExpr(DBColumnExpr expr,
PostgresSqlPhrase phrase,
Object[] params,
DataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerSQLite.getNextSequenceValueExpr(DBTableColumn column) |
| Modifier and Type | Method and Description |
|---|---|
DBColumnExpr |
DBMSHandlerMSSQL.getNextSequenceValueExpr(DBTableColumn column) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.