Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abs() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the absolute abs() function.
- add(int, E) - Method in class org.apache.empire.commons.ArraySet
- add(int, PostgresIntervalExpr.PostgresIntervalUnitField) - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- add(E) - Method in class org.apache.empire.commons.ArraySet
- add(Object, String) - Method in class org.apache.empire.commons.Options
-
Adds or updates an option Same as set() but allows Option building
- add(Object, String, boolean) - Method in class org.apache.empire.commons.Options
-
Adds or updates an option Same as set() but allows Option building
- add(K, V) - Method in class org.apache.empire.commons.ArrayMap
-
Builder method to build an ArrayMap
- add(Attributes.Attribute) - Method in class org.apache.empire.commons.Attributes
- add(OptionEntry) - Method in class org.apache.empire.commons.Options
- add(DBCmdParam) - Method in class org.apache.empire.db.DBCmdParamList
- add(DBCommand, DataType, Object) - Method in class org.apache.empire.db.DBCmdParamList
- addAll(Collection<? extends OptionEntry>) - Method in class org.apache.empire.commons.Options
- addAlterTableStmt(DBColumn, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
- addClass(BeanClass) - Method in class org.apache.empire.data.bean.BeanDomain
- addColumn(String, DataType) - Method in class org.apache.empire.db.DBView
-
Adds a column to the view.
- addColumn(String, DataType, double) - Method in class org.apache.empire.db.DBView
-
Adds a column to the view.
- addColumn(String, DataType, double, boolean) - Method in class org.apache.empire.db.DBTable
-
Creates a new table column and adds it to the table's column list
- addColumn(String, DataType, double, boolean, Class<? extends Enum<?>>) - Method in class org.apache.empire.db.DBTable
-
Creates a new table column with Enum-Options and adds it to the table's column list This overload should be used for column containing enum values which have no default value.
- addColumn(String, DataType, double, boolean, Enum<?>) - Method in class org.apache.empire.db.DBTable
-
Creates a new table column with Enum-Options and adds it to the table's column list This overload should be used for column containing enum values which have a default value.
- addColumn(String, DataType, double, boolean, Object) - Method in class org.apache.empire.db.DBTable
-
Creates a new DBTableColumn object and adds it to the column collection.
- addColumn(String, DataType, double, boolean, Options) - Method in class org.apache.empire.db.DBTable
-
Creates a new table column with options and adds it to the table's column list This overload should be used for column containing enum values which have no default value.
- addColumn(String, DataType, double, boolean, Options, Object) - Method in class org.apache.empire.db.DBTable
-
Creates a new table column with options and adds it to the table's column list This overload should be used for column containing enum values which have a default value.
- addColumn(String, DBColumnExpr) - Method in class org.apache.empire.db.DBView
-
Adds a column to the view.
- addColumn(DBRowSet, ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
- addColumn(DBTableColumn) - Method in class org.apache.empire.db.DBTable
-
Adds a column to this table's column list.
- addColumn(DBTableColumn) - Method in class org.apache.empire.db.DBView
-
Adds a column to the view based on an existing column in another table.
- addColumn(DBView.DBViewColumn) - Method in class org.apache.empire.db.DBView
-
Adds a column to the view based on an existing column in another view.
- addColumnReference(DBColumn, DBColumn) - Method in class org.apache.empire.db.DBRowSet
-
Adds a column reference to the list of table references.
- addCompareExpr(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Add the comparison operator and value to the SQL-Command.
- addCreateIndexStmt(DBIndex, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
- addCreateIndexStmt(DBIndex, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- addCreateIndexStmt(DBIndex, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
- addCreateRelationStmt(DBRelation, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
- addCreateTableStmt(DBTable, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
- addCreateTableStmt(DBTable, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- addCreateViewStmt(DBView, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
- addCreateViewStmt(DBView, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- addCreateViewStmt(DBView, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
- addDate(Date, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
-
Calculates a date relative to the supplied date.
- addDecodeParts(DBSQLBuilder) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
- addDelete(DBCommand, DBTable) - Method in class org.apache.empire.db.DBSQLScript
-
Adds an delete statement
- addDeleteForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
- addDeleteForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- addDeleteWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
- addDeleteWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- addDeleteWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- addElement(Element, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Adds a child element to the parent.
- addElement(Node, String, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Adds a new child element to a parent.
- addElementNS(Element, String, String) - Static method in class org.apache.empire.xml.XMLUtil
- addElementNS(Node, String, String, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Adds a new child element to a parent with a namespace.
- addForeignKey(String, DBTable, boolean) - Method in class org.apache.empire.db.DBTable
-
Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign key
- addForeignKey(String, DBTable, boolean, boolean) - Method in class org.apache.empire.db.DBTable
-
Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign key
- addForeignKey(String, DBTable, boolean, Options, DBRelation.DBCascadeAction) - Method in class org.apache.empire.db.DBTable
-
Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign key
- addFrom(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
- addGrouping(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
- addIdentity(String) - Method in class org.apache.empire.db.DBTable
-
Adds an Identity column to the table which also serves as the PrimaryKey An Identity Column is always an auto-generated Integer(Long) value
- addIdentity(String, String) - Method in class org.apache.empire.db.DBTable
-
Adds an Identity column to the table which also serves as the PrimaryKey An Identity Column is always an auto-generated Integer(Long) value
- addIndex(String, boolean, DBColumn...) - Method in class org.apache.empire.db.DBTable
-
Adds an index.
- addIndex(String, DBIndex.DBIndexType, DBColumn...) - Method in class org.apache.empire.db.DBTable
-
Adds an index.
- addIndex(DBIndex) - Method in class org.apache.empire.db.DBTable
-
Adds an index.
- addInsert(DBCommand) - Method in class org.apache.empire.db.DBSQLScript
-
Adds an insert statement
- addJoinRestriction(DBCommand, DBColumn, DBColumn, Object[], DBRecordBase) - Method in class org.apache.empire.db.DBQuery
-
Adds join restrictions to the supplied command object.
- addJoins(List<DBJoinExpr>) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of join expressions to the command.
- addJoins(List<DBJoinExpr>) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite.DBCommandSQLite
- addKeyConstraints(DBRowSet, RecordData) - Method in class org.apache.empire.db.DBCommand
-
Adds key constraints the command
- addListExpr(DBSQLBuilder, List<? extends DBExpr>, long, String) - Method in class org.apache.empire.db.DBCommandExpr
-
Internally used to build a string from a list of database expressions
- addNamespaceURIs(Document, Map<String, String>) - Static method in class org.apache.empire.xml.XMLUtil
- addOrder(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
- addParam() - Method in class org.apache.empire.db.DBCommand
-
Adds an command parameter which will be used in a prepared statement.
- addParam(Object) - Method in class org.apache.empire.db.DBCommand
-
Adds an command parameter which will be used in a prepared statement.
- addParam(DataType, Object) - Method in class org.apache.empire.db.DBCommand
-
Adds an command parameter which will be used in a prepared statement.
- addParam(DBColumnExpr, Object) - Method in class org.apache.empire.db.DBCommand
-
Adds an command parameter which will be used in a prepared statement.
- addProp(String, DataType, double, boolean) - Method in class org.apache.empire.data.bean.BeanClass
- addProp(String, DataType, double, boolean, boolean) - Method in class org.apache.empire.data.bean.BeanClass
- addProp(String, DataType, double, boolean, String) - Method in class org.apache.empire.data.bean.BeanClass
- addProp(String, DataType, double, boolean, String, boolean) - Method in class org.apache.empire.data.bean.BeanClass
- addProp(BeanProperty) - Method in class org.apache.empire.data.bean.BeanClass
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCmdParam
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBColumn
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCombinedCmd
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCommand
-
Adds Columns
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBExpr
-
Internal function to obtain all DBColumnExpr-objects used by this expression.
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBGeneratedValue.DBFuncGeneratedValue
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBGeneratedValue.DBTriggerGeneratedValue
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBRowSet
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCaseMapExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCountExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBFuncExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBValueExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.set.DBSetExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- addRelation(String, DBRelation.DBReference...) - Method in class org.apache.empire.db.DBDatabase
-
Adds a foreign key relation to the database.
- addRelation(String, DBRelation.DBReference...) - Method in class org.apache.empire.db.validation.DBModelParser
- addRelation(DBRelation.DBReference) - Method in class org.apache.empire.db.DBDatabase
-
Adds a foreign key relation to the database.
- addRelation(DBRelation.DBReference, DBRelation.DBReference) - Method in class org.apache.empire.db.DBDatabase
-
Adds a foreign key relation to the database.
- addRows(Element) - Method in class org.apache.empire.db.DBReader
-
Adds all children to a parent.
- addRowsetToAliasMap(DBRowSet) - Method in class org.apache.empire.db.DBDatabase
-
adds a DBRowSet to the alias map
- addSelect(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
- addSelect(DBSQLBuilder) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCmdParam
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBColumn
-
Adds the colunm name to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr
-
Creates the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
create the SQL-Command set the expression name to the SQL-Command
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Creates the SQL-Command adds the select statement into the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBExpr
-
Used to build the SQL command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBGeneratedValue.DBFuncGeneratedValue
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBGeneratedValue.DBTriggerGeneratedValue
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBQuery
-
Adds the select SQL Command of this object to the specified StringBuilder object.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBTable
-
Adds the table's name to the supplied sql command buffer.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBView
-
Creates the SQL-Command adds the alias name to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Creates the SQL-Command adds the alias name to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Creates the SQL-Command adds the mathematical operations for the specified DBColumnExpr object and value to the.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCaseMapExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
-
Creates the SQL-Command concatenate a specified column with a specified value sets the column with a specified value to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBConvertExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Creates the SQL-Command adds the String "count(*)" to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBFuncExpr
-
Creates the SQL-Command adds a function to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Creates the SQL-Command adds the alias name to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Creates the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Creates the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
Creates the SQL-Command sets the specified compare value (the varible boolOP) between the two DBCompareExpr objects.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Creates the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Creates the SQL-Command sets the specified compare value (the varible boolOP) between the two DBCompareExpr objects.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
-
Creates the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Not allowed, this operation have to be done in the DBCommand object.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
Not allowed, this operation have to be done in the DBCommand object.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
-
Adds a column expression to the orderBy clause followed by the desc keyword if the order should be descending
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.set.DBSetExpr
-
Creates the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Creates the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
-
Creates the SQL-Command adds a function to the SQL-Command.
- addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- addSQL(DBSQLBuilder, String, Object[], long) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Creates the SQL-Command adds a function to the SQL-Command.
- addSQLKeyword(String) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Adds an additional SQL Keyword to the keyword list
- addStatementParam(PreparedStatement, int, Object) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Adds a statement parameter to a prepared statement
- addStatementParam(PreparedStatement, int, Object) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Adds a statement parameter to a prepared statement
- addStatementParam(PreparedStatement, int, Object) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Adds special behaviour for Timestamp columns with are declared as DATETIME
- addStmt(String) - Method in class org.apache.empire.db.DBSQLScript
-
Adds a statement to the script.
- addStmt(String, Object[]) - Method in class org.apache.empire.db.DBSQLScript
-
Adds a statement to the script.
- addStmt(DBSQLBuilder) - Method in class org.apache.empire.db.DBSQLScript
-
Adds a statement to the script.
The supplied StringBuilder will be reset to a length of 0 - addTable(String) - Method in class org.apache.empire.db.validation.DBModelParser
- addTable(DBTable) - Method in class org.apache.empire.db.DBDatabase
-
Adds a DBTable object to list of database tables.
This function is called internally from the DBTable's constructor. - addTimestamp(String) - Method in class org.apache.empire.db.DBTable
-
Adds a Timestamp column to the current table which will be used for optimistic locking.
- addUpdate(DBCommand) - Method in class org.apache.empire.db.DBSQLScript
-
Adds an update statement
- addUpdateForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
- addUpdateForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
- addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
- addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- addView(String) - Method in class org.apache.empire.db.validation.DBModelParser
- addView(DBView) - Method in class org.apache.empire.db.DBDatabase
-
Adds a DBView object to list of database views.
This function is called internally from the DBView's constructor. - addViewColumn(DBView.DBViewColumn) - Method in class org.apache.empire.db.DBView
-
Adds a column to the view.
- addWhere(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
- addWhere(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommand
- addWhereConstraints(List<DBCompareExpr>) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of constraints to the command.
- addXml(Element, long) - Method in class org.apache.empire.commons.Attributes
- addXml(Element, long) - Method in class org.apache.empire.db.DBColumn
-
Appends column meta information to the parent element
- addXml(Element, long) - Method in class org.apache.empire.db.DBColumnExpr
-
Add a description of this column with relevant metadata to the supplied parent XML Element.
- addXml(Element, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Adds the expression definition to the xml element.
- addXml(Element, long) - Method in class org.apache.empire.db.DBQueryColumn
- addXml(Element, long) - Method in class org.apache.empire.db.DBTableColumn
-
Sets field elements, default attributes and all options to the specified Element object (XML tag).
- addXml(Element, long) - Method in class org.apache.empire.db.DBView.DBViewColumn
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
This function set the alias name to the XML tag.
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
This function set the specified mathematical operations to the XML tag.
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
this adds the column description to the parent element
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
This function set the alias name to the XML tag.
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
this helper function calls the DBColumnExpr.addXML(Element, long) method
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
this helper function calls the DBColumnExpr.addXML(Element, long) method
- addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- addXml(Element, long) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
this helper function calls the DBColumnExpr.addXML(Element, long) method
- addXml(Element, long) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- addXml(Element, long) - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- addXml(Element, DataType) - Method in class org.apache.empire.commons.Options
-
Adds all these options to the xml element
- addXmlData(Element) - Method in class org.apache.empire.db.DBReader
-
Adds all children to a parent.
- addXmlData(Element) - Method in class org.apache.empire.db.DBRecordBase
-
Add the values of this record to the specified XML Element object.
- addXmlData(Element) - Method in class org.apache.empire.db.DBRecordData
- addXmlMeta(Element) - Method in class org.apache.empire.db.DBReader
-
Moves the cursor down one row from its current position.
- addXmlMeta(Element) - Method in class org.apache.empire.db.DBRecordBase
-
This function set the field descriptions to the the XML tag.
- addXmlMeta(Element) - Method in class org.apache.empire.db.DBRecordData
- AGE - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- AGE_BETWEEN - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- aggregate(String, DataType, Object...) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a function from an sql template The template may consist of the following placeholders: ?
- alias - Variable in class org.apache.empire.db.DBQuery
- allowBlock(SqlFormat.KeyWord) - Method in class org.apache.empire.commons.SqlFormat
- allowFieldChange(DBColumn) - Method in class org.apache.empire.db.DBRecordBase
-
Checks whether or not this field can be changed at all.
- allowReadOnlyUpdate - Variable in class org.apache.empire.db.DBRecordBase
- ALTER - Enum constant in enum org.apache.empire.db.DBDDLGenerator.DDLActionType
- alterColumnPhrase - Variable in class org.apache.empire.db.DBDDLGenerator
- alterTable(DBTableColumn, DBDDLGenerator.DDLActionType, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for altering a table to an SQL-Script
- and(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
This function adds an additional constraint to the join.
- and(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
-
Creates a new DBCompareAndOrExpr object.
- and(DBCompareExpr) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
This function adds an additional constraint to the join.
- AND - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- append(char) - Method in class org.apache.empire.db.DBSQLBuilder
- append(double) - Method in class org.apache.empire.db.DBSQLBuilder
- append(int, int, boolean, boolean, int) - Method in class org.apache.empire.commons.SqlFormat
- append(long) - Method in class org.apache.empire.db.DBSQLBuilder
- append(CharSequence) - Method in class org.apache.empire.db.DBSQLBuilder
- append(CharSequence, int, int) - Method in class org.apache.empire.db.DBSQLBuilder
- append(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a new DBConcatExpr object with the specified value.
- append(Object, String, boolean) - Method in class org.apache.empire.commons.Options
-
Appends an option Useful for fast loading when it is certain that there are no duplicates WARNING: Does not check if the entry already exists
- append(OptionEntry) - Method in class org.apache.empire.commons.Options
-
Appends an option Useful for fast loading when it is certain that there are no duplicates WARNING: Does not check if the entry already exists
- append(DBCommandExpr) - Method in class org.apache.empire.db.DBSQLBuilder
- append(DBSqlPhrase) - Method in class org.apache.empire.db.DBSQLBuilder
- append(T[], T) - Static method in class org.apache.empire.commons.ObjectUtils
-
appends an element to an array
- appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
-
appends the data type of a column
- appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.derby.DerbyDDLGenerator
- appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.h2.H2DDLGenerator
- appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
- appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
- appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
- appendColumnDesc(DBTableColumn, boolean, DBSQLBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends a table column definition to a ddl statement
- appendColumnDesc(DBTableColumn, boolean, DBSQLBuilder) - Method in class org.apache.empire.dbms.derby.DerbyDDLGenerator
- appendColumnDesc(DBTableColumn, boolean, DBSQLBuilder) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- appendColumnDesc(DBTableColumn, boolean, DBSQLBuilder) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
- appendCompareColExprs(DBRowSet, DBCompareExpr, List<DBCompareColExpr>) - Method in class org.apache.empire.db.DBCommand
-
Appends all nested DBCompareColExpr for a particular RowSet to a list
- appendConfigProperties(Class<?>, Object, StringBuilder, boolean) - Method in class org.apache.empire.xml.XMLConfiguration
- appendElementName(DBSQLBuilder, String) - Method in class org.apache.empire.db.DBDDLGenerator
- appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Appends a statement to enable or disable a foreign key relation.
The default is to drop or create the relation Override this method to provide different behavior for your database. - appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Appends a statement to enable or disable a foreign key relation.
The default is to drop or create the relation Override this method to provide different behavior for your database. - appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- appendHandler(Connection, DBRollbackHandler) - Method in class org.apache.empire.db.context.DBRollbackManager
-
Add a rollback handler for a particular Connection
- appendIndexColumn(DBIndex, DBColumnExpr, DBSQLBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends an column expression to an index
- appendIndexColumn(DBIndex, DBColumnExpr, DBSQLBuilder) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- appendIndexType(DBIndex, DBSQLBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the index type when creating an index
- appendIndexType(DBIndex, DBSQLBuilder) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
- appendName(StringBuilder, DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- appendObjectName(DBSQLBuilder, String, Boolean) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Appends a table, view or column name to an SQL phrase.
- appendObjectName(DBSQLBuilder, String, Boolean) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Appends a table, view or column name to an SQL phrase.
- appendQualifiedName(DBSQLBuilder, String, Boolean) - Method in class org.apache.empire.db.DBDatabase
-
Adds a full qualified object name including schema prefix and database link postfix (if any).
- appendRollbackHandler(DBRollbackHandler) - Method in class org.apache.empire.db.context.DBContextBase
- appendRollbackHandler(DBRollbackHandler) - Method in interface org.apache.empire.db.DBContext
- appendSimpleValue(DataType, Object) - Method in class org.apache.empire.db.DBSQLBuilder
-
Returns a sql string for a given value.
- appendStringLiteral(DataType, Object) - Method in class org.apache.empire.db.DBSQLBuilder
-
encodes Text values for an SQL command string.
- appendStringLiteral(DataType, Object) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBSQLBuilderMSSQL
- appendTemplate(String, Object[], DataType[], long, String) - Method in class org.apache.empire.db.DBSQLBuilder
-
Expands an SQL template and adds it to the SQL command
- appendValue(DataType, Object) - Method in class org.apache.empire.db.DBSQLBuilder
-
Appends the SQL representation of a value
- appendValue(DataType, Object, long) - Method in class org.apache.empire.db.DBSQLBuilder
-
Appends the SQL representation of a value
- appendValue(DataType, Object, long, String) - Method in class org.apache.empire.db.DBSQLBuilder
-
Appends the SQL representation of a value
- ArrayMap<K,
V> - Class in org.apache.empire.commons -
This class is a lightweight Map implementation using an ArrayList
- ArrayMap() - Constructor for class org.apache.empire.commons.ArrayMap
-
Default constructor
- ArrayMap(int) - Constructor for class org.apache.empire.commons.ArrayMap
-
Constructor with initialCapacity
- ArrayMap(Map<K, V>) - Constructor for class org.apache.empire.commons.ArrayMap
-
Copy Constructor
- ArrayMap.Entry<K,
V> - Class in org.apache.empire.commons -
The Entry class represents a map entry
- ArraySet<E> - Class in org.apache.empire.commons
-
This class is a lightweight Set implementation using an ArrayList
- ArraySet() - Constructor for class org.apache.empire.commons.ArraySet
-
Default constructor
- ArraySet(int) - Constructor for class org.apache.empire.commons.ArraySet
-
Constructor with initialCapacity
- ArraySet(E...) - Constructor for class org.apache.empire.commons.ArraySet
-
Constructor with initial list
- ArraySet(ArraySet<E>) - Constructor for class org.apache.empire.commons.ArraySet
-
Copy constructor
- arrayToList(Class<T>, T[]) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an array to a list
- arrayToString(Object[]) - Static method in class org.apache.empire.commons.StringUtils
-
Converts an array of objects to a string.
- arrayToString(Object[], String) - Static method in class org.apache.empire.commons.StringUtils
-
Converts an array of objects to a string.
- arrayToString(Object[], String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Converts an array of objects to a string.
- arrayToString(Object[], String, String, StringUtils.ObjectStringifier) - Static method in class org.apache.empire.commons.StringUtils
-
Converts an array of objects to a string.
- as(String) - Method in class org.apache.empire.db.DBColumnExpr
-
creates a new DBAliasExpr which renames the current expression to the supplied name.
- as(DBColumn) - Method in class org.apache.empire.db.DBColumnExpr
-
creates a new DBAliasExpr which renames the current expression to the name of the supplied column.
- AS - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- asc() - Method in class org.apache.empire.db.DBColumnExpr
-
creates a new DBOrderByExpr for ascending order
- assignParentIdentities() - Method in class org.apache.empire.db.DBRecordBase
-
For DBMS with IDENTITY-columns the deferred parent-keys are set by this functions The parent records must have been previously set using setParentRecord
- asString(Object) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a value to a string.
- attachDatabase(DBDatabase, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Called when a database is opened
- attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Called when a database is opened
- attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Initialize Database on open
- attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Called when a database is opened
- Attribute(String, Object) - Constructor for class org.apache.empire.commons.Attributes.Attribute
- Attribute(String, Object, String) - Constructor for class org.apache.empire.commons.Attributes.Attribute
- attributes - Variable in class org.apache.empire.commons.Attributes
- attributes - Variable in class org.apache.empire.db.DBColumnExpr
- attributes - Variable in class org.apache.empire.db.DBRowSet
- Attributes - Class in org.apache.empire.commons
-
This class holds a map of objects which are identified by a case insensitive key string.
- Attributes() - Constructor for class org.apache.empire.commons.Attributes
- Attributes(int) - Constructor for class org.apache.empire.commons.Attributes
- Attributes.Attribute - Class in org.apache.empire.commons
- autoGenerated - Variable in class org.apache.empire.db.DBTableColumn
- AUTOINC - Enum constant in enum org.apache.empire.data.DataType
-
A numeric sequence generated value
- autoParam() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
-
Automatically converts all literal values into Value expressions
- autoParam() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Sets literal mode off, i.e. the value may passed as a parameter and referenced by a ?
- autoPrepareStmt - Variable in class org.apache.empire.db.DBCommand
- autoSelectColumns(DBRowSet) - Method in class org.apache.empire.data.bean.BeanResult
-
Selects all columns for a given rowset
- avg() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an aggregation function object which returns the average value for the current expression over a group of rows.
B
- beanClass - Variable in class org.apache.empire.data.bean.BeanProperty
- BeanClass - Class in org.apache.empire.data.bean
-
BeanObject This class defines Metadata for any type of java class.
- BeanClass(String) - Constructor for class org.apache.empire.data.bean.BeanClass
- BeanClass(String, BeanDomain) - Constructor for class org.apache.empire.data.bean.BeanClass
- BeanDomain - Class in org.apache.empire.data.bean
-
BeanDomain This class defines Metadata for a domain of java classes.
- BeanDomain(String) - Constructor for class org.apache.empire.data.bean.BeanDomain
- BeanException - Exception in org.apache.empire.exceptions
-
BeanException Base class for bean related exceptions
- BeanException(ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.exceptions.BeanException
-
Constructor
- BeanIncompatibleException - Exception in org.apache.empire.exceptions
- BeanIncompatibleException(Class<?>, DBRowSet) - Constructor for exception org.apache.empire.exceptions.BeanIncompatibleException
- BeanInstantiationException - Exception in org.apache.empire.exceptions
- BeanInstantiationException(Class<?>, ReflectiveOperationException) - Constructor for exception org.apache.empire.exceptions.BeanInstantiationException
- BeanInstantiationException(Class<?>, RuntimeException) - Constructor for exception org.apache.empire.exceptions.BeanInstantiationException
- BeanInstantiationException(Constructor<?>, ReflectiveOperationException) - Constructor for exception org.apache.empire.exceptions.BeanInstantiationException
- BeanInstantiationException(Constructor<?>, RuntimeException) - Constructor for exception org.apache.empire.exceptions.BeanInstantiationException
- BeanMethodInvokeException - Exception in org.apache.empire.exceptions
- BeanMethodInvokeException(Object, String, ReflectiveOperationException) - Constructor for exception org.apache.empire.exceptions.BeanMethodInvokeException
- BeanMethodInvokeException(Object, String, RuntimeException) - Constructor for exception org.apache.empire.exceptions.BeanMethodInvokeException
- BeanProperty - Class in org.apache.empire.data.bean
-
BeanObject This class defines Metadata for a single property.
- BeanProperty(String, DataType, double, boolean) - Constructor for class org.apache.empire.data.bean.BeanProperty
-
Constructs a bean property definition
- BeanProperty(String, DataType, double, boolean, String) - Constructor for class org.apache.empire.data.bean.BeanProperty
-
Constructs a bean property definition
- BeanProperty(String, DataType, double, boolean, String, boolean) - Constructor for class org.apache.empire.data.bean.BeanProperty
-
Constructs a bean property definition
- BeanPropertyGetException - Exception in org.apache.empire.exceptions
- BeanPropertyGetException(Object, String, ReflectiveOperationException) - Constructor for exception org.apache.empire.exceptions.BeanPropertyGetException
- BeanPropertyGetException(Object, String, RuntimeException) - Constructor for exception org.apache.empire.exceptions.BeanPropertyGetException
- beanPropertyName - Variable in class org.apache.empire.db.DBColumnExpr
- BeanPropertySetException - Exception in org.apache.empire.exceptions
- BeanPropertySetException(Object, String, ReflectiveOperationException) - Constructor for exception org.apache.empire.exceptions.BeanPropertySetException
- BeanPropertySetException(Object, String, RuntimeException) - Constructor for exception org.apache.empire.exceptions.BeanPropertySetException
- BeanPropertyUtils - Class in org.apache.empire.commons
-
BeanPropertyUtils provides methods for getting and setting bean property values It is a replacement for org.apache.commons.beanutils.BeanUtils
- BeanPropertyUtils() - Constructor for class org.apache.empire.commons.BeanPropertyUtils
- BeanPropertyUtils.BeanPropertyUtilsImpl - Class in org.apache.empire.commons
-
Provided the implementation for the BeanUtils methods
- BeanPropertyUtilsImpl() - Constructor for class org.apache.empire.commons.BeanPropertyUtils.BeanPropertyUtilsImpl
- BeanRecordProxy<T> - Class in org.apache.empire.data.bean
-
BeanRecordProxy This class defines proxy that allows any POJO to behave like a record object.
- BeanRecordProxy(List<Column>, Column[], Entity) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
- BeanRecordProxy(BeanClass) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
- BeanRecordProxy(T, List<Column>, Column[], Entity) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
- BeanRecordProxy(T, BeanClass) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
- BeanResult<T> - Class in org.apache.empire.data.bean
-
BeanResult This is a simple helper class that performs reading a list of beans from a query Internally DBReader.getBeanList() is used.
- BeanResult(Class<T>, DBCommand) - Constructor for class org.apache.empire.data.bean.BeanResult
-
Create a bean result from a command object.
- BeanResult(Class<T>, DBRowSet) - Constructor for class org.apache.empire.data.bean.BeanResult
-
Creates a bean result for a Table, View or Query from the supplied columns.
- beanType - Variable in class org.apache.empire.db.DBRowSet
- BETWEEN - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- BETWEEN - Enum constant in enum org.apache.empire.db.DBCmpType
- BLOB - Enum constant in enum org.apache.empire.data.DataType
-
Binary data
- BOOL - Enum constant in enum org.apache.empire.data.DataType
-
Boolean field (emulated if not supported by DBMS as number or char)
- Bottom - Enum constant in enum org.apache.empire.commons.Options.InsertPos
- build() - Method in class org.apache.empire.commons.SqlFormat
-
Builds the formatted SQL
- byFunction(DBTable, String) - Static method in class org.apache.empire.db.DBGeneratedValue
-
Returns generator for a record value created from other record fields The function template must contain the column names wrapped in square brackets like e.g.
- byTrigger(DBTable, String, DBTableColumn...) - Static method in class org.apache.empire.db.DBGeneratedValue
-
Returns a generated value for a trigger
C
- C_CHAR_LENGTH - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_COLUMN_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
- C_COLUMN_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_COLUMN_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
- C_COMMENTS - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
- C_COMMENTS - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
- C_CONSTRAINT_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
- C_CONSTRAINT_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
- C_CONSTRAINT_TYPE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
- C_DATA_LENGTH - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_DATA_PRECISION - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_DATA_SCALE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_DATA_TYPE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_DATA_TYPE_MOD - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_DATA_TYPE_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_NULLABLE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
- C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
- C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
- C_R_CONSTRAINT_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
- C_SEQNAME - Variable in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
- C_SEQVALUE - Variable in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
- C_STATUS - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
- C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
- C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
- C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
- C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
- C_TABLE_TYPE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
- C_TIMESTAMP - Variable in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
- canonical - Variable in class org.apache.empire.xml.XMLWriter
-
Canonical output.
- CASCADE - Enum constant in enum org.apache.empire.db.DBRelation.DBCascadeAction
- CASCADE_RECORDS - Enum constant in enum org.apache.empire.db.DBRelation.DBCascadeAction
- CASE_WHEN - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- caseMap(DBColumnExpr, Object, Object, Object) - Method in class org.apache.empire.db.DBDatabase
-
Creates a SQL case expression in the form "case [Expr] when [compareValue] then [trueValue] else [elseValue] end"
- caseMap(DBColumnExpr, Map<? extends Object, ? extends Object>, Object) - Method in class org.apache.empire.db.DBDatabase
-
Creates a SQL case expression in the form "case [Expr] when [mapKey] then [mapValue] else [elseValue] end"
- caseMap(DBColumnExpr, Options, Object) - Method in class org.apache.empire.db.DBDatabase
-
Creates a SQL case expression in the form "case [Expr] when [optionValue] then [optionText] else [elseValue] end"
- caseWhen(Map<DBCompareExpr, ? extends Object>, Object) - Method in class org.apache.empire.db.DBDatabase
-
Creates a SQL case expression in the form "case when [mapKey] then [mapValue] else [elseValue] end"
- caseWhen(DBCompareExpr, Object, Object) - Method in class org.apache.empire.db.DBDatabase
-
Creates a SQL case expression in the form "case when [condition] then [trueValue] else [falseValue] end" This is a helper function to simplify client usage
- caseWhenNull(DBColumnExpr, Object, Object) - Method in class org.apache.empire.db.DBDatabase
-
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
- catalog - Variable in class org.apache.empire.db.validation.DBModelParser
- CC - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
- ceiling() - Method in class org.apache.empire.db.DBColumnExpr
-
Create and returns an expression for the SQL-function ceil()
- CENTURY - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- changeState(DBRecordBase.State) - Method in class org.apache.empire.db.DBRecordBase
-
changes the state of the record
- changeTagName(Element, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Changes the tag name of an element.
- CHAR - Enum constant in enum org.apache.empire.data.DataType
-
Fixed length character value.
- CHAR - Enum constant in enum org.apache.empire.dbms.oracle.DBMSHandlerOracle.BooleanType
- checkAutoIncColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkBlobColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkBoolColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkBoolColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.dbms.oracle.OracleDBModelChecker
- checkCharColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkClobColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkColumnNullable(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkColumnSize(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkColumnType(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkColumnType(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.dbms.oracle.OracleDBModelChecker
- checkDatabase(DBDatabase, String, Connection) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Checks whether the database definition matches the real database structure.
- checkDateColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkDBTableDefinition(List<DBTable>) - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
- checkDBViewDefinition(List<DBView>) - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
- checkDecimalColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkExists(DBContext) - Method in class org.apache.empire.db.DBDatabase
-
Checks if the database exists The implementation depends on the DBMSHandler
- checkExists(DBDatabase, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Checks if a database exists
- checkExists(DBDatabase, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
checks if the database exists The default implementation performs a simple count query on the first table or view SELECT count(*) FROM table
- checkExists(DBDatabase, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
checks if the database exists The default implementation performs a simple count query on the first table or view SELECT count(*) FROM table
- checkFloatColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkForeignKeys(DBTable, DBTable, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkIntegerColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkModel(DBDatabase, Connection, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
-
Populates the remote database and compares it against the given database
- checkOpen() - Method in class org.apache.empire.db.DBDatabase
-
checks if the database has been opened or false otherwise
- checkOpenResultSets() - Static method in class org.apache.empire.db.DBReader
-
Call this if you want to check whether there are any unclosed resultsets It logs stack traces to help find piece of code where a DBReader was opened but not closed.
- checkParamNull(String, T) - Static method in class org.apache.empire.db.DBObject
-
Internally used for parameter checking
- checkParamRecord(DBRecordBase, boolean) - Method in class org.apache.empire.db.DBRowSet
-
Internally used for parameter checking
- checkPrimaryKey(DBTable, DBTable, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkRemoteAgainst(DBDatabase, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
-
Check the remote database against an existing model
- checkTable(DBTable, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkTextColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkUniqueConstraints(DBRecordBase) - Method in class org.apache.empire.db.DBTable
-
Checks weather a unique constraint is violated when inserting or updating a record.
- checkUniqueIdColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- checkUnknownColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
-
empire-db DataType-specific checker
- checkUpdateable() - Method in class org.apache.empire.db.DBRecordBase
-
Checks whether the record is updateable If its read-only a RecordReadOnlyException is thrown
- checkValid() - Method in class org.apache.empire.db.DBRecordBase
-
helper to check if the object is valid
- checkValid(int) - Method in class org.apache.empire.db.DBRecordBase
-
helper to check if the object is valid
- checkView(DBView, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
- CI - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
- ClassUtils - Class in org.apache.empire.commons
- ClassUtils.Copy - Class in org.apache.empire.commons
-
Definition of Copy flags
- clear() - Method in class org.apache.empire.commons.Attributes
- clear() - Method in class org.apache.empire.commons.Options
- clear() - Method in class org.apache.empire.db.DBCommand
-
Clears the entire command object.
- clear() - Method in class org.apache.empire.db.DBSQLScript
-
Clears the script by removing all statements
- clear() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- clear(int) - Method in class org.apache.empire.db.DBCmdParamList
- clearConnectBy() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
-
Clears the connectBy Expression.
- clearGroupBy() - Method in class org.apache.empire.db.DBCommand
-
Clears the Group By clause
- clearHaving() - Method in class org.apache.empire.db.DBCommand
-
Removes all constraints from the Having clause
- clearJoin() - Method in class org.apache.empire.db.DBCommand
-
Clears the From / Join clause
- clearLimit() - Method in class org.apache.empire.db.DBCommandExpr
-
Clears a limit or offset set by calling limit() or offset()
- clearLimit() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
- clearLimit() - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
- clearLimit() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- clearLimit() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- clearLimit() - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- clearLimit() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- clearModified() - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
clears the modification status of the object and all fields.
- clearOrderBy() - Method in class org.apache.empire.db.DBCommandExpr
-
Clears the list of order by expressions.
- clearSelect() - Method in class org.apache.empire.db.DBCommand
-
Clears the list of selected columns.
- clearSelectDistinct() - Method in class org.apache.empire.db.DBCommand
-
Clears the select distinct option.
- clearSet() - Method in class org.apache.empire.db.DBCommand
-
Clears the Set clause
- clearWhere() - Method in class org.apache.empire.db.DBCommand
-
Removes all constraints from the Where clause
- CLOB - Enum constant in enum org.apache.empire.data.DataType
-
Long text > 2K
- clone() - Method in class org.apache.empire.commons.Attributes
- clone() - Method in class org.apache.empire.commons.OptionEntry
- clone() - Method in class org.apache.empire.commons.Options
- clone() - Method in class org.apache.empire.db.DBCommand
-
Creates a clone of this class.
- clone() - Method in class org.apache.empire.db.DBCommandExpr
-
Creates a clone of this class.
- clone() - Method in class org.apache.empire.db.DBRecordBase
- clone() - Method in class org.apache.empire.db.DBTable
-
Clones this table and assigns a new table alias.
- clone() - Method in class org.apache.empire.db.DBView
-
Allows a second instance of a view with a different alias
- clone(String) - Method in class org.apache.empire.db.DBTable
- clone(String) - Method in class org.apache.empire.db.DBView
-
Allows a second instance of a view with a different alias
- cloneColumn(DBRowSet, DBColumn) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
throws ERR_NOTSUPPORTED
- cloneColumn(DBRowSet, DBColumn) - Method in class org.apache.empire.db.DBQuery
- cloneColumn(DBRowSet, DBColumn) - Method in class org.apache.empire.db.DBRowSet
-
Clones a RowSet column
- cloneColumn(DBRowSet, DBColumn) - Method in class org.apache.empire.db.DBTable
- cloneColumn(DBRowSet, DBColumn) - Method in class org.apache.empire.db.DBView
- cloneKeyColumns(DBView) - Method in class org.apache.empire.db.DBView
- clonePrimaryKey(DBRowSet) - Method in class org.apache.empire.db.DBTable
- close() - Method in class org.apache.empire.db.DBReader
-
Closes the DBRecordSet object, the Statement object and detach the columns.
A reader must always be closed immediately after using it. - close() - Method in class org.apache.empire.db.DBRecordBase
-
Closes the record by releasing all resources and resetting the record's state to invalid.
- close() - Method in class org.apache.empire.db.DBRecordBean
- close(DBContext) - Method in class org.apache.empire.db.DBDatabase
-
Closes this database object by detaching it from the dbms
- closeConnection() - Method in class org.apache.empire.db.context.DBContextBase
-
helper to close a connection on discard
- closeResultSet(ResultSet) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Closes the provided JDBC Resultset Use it instead of rset.close() and stmt.close()
- closeResultSet(ResultSet) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Convenience function for closing a JDBC Resultset
Use it instead of rset.close() and stmt.close() - closeStatement(Statement) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Convenience function for closing a JDBC Resultset
Use it instead of stmt.close() - cmd - Variable in class org.apache.empire.db.DBCmdParam
- cmd - Variable in class org.apache.empire.db.expr.compare.DBExistsExpr
- cmdExpr - Variable in class org.apache.empire.db.DBQuery
- cmdParamList - Variable in class org.apache.empire.db.DBSQLBuilder
- cmdParams - Variable in class org.apache.empire.db.DBCmdParamList
- cmdParams - Variable in class org.apache.empire.db.DBCombinedCmd
- cmdParams - Variable in class org.apache.empire.db.DBCommand
- cmdQuery - Variable in class org.apache.empire.db.DBCommandExpr
- cmp - Variable in class org.apache.empire.db.expr.join.DBCompareJoinExpr
- cmp(DBCmpType, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the given comparison operator and value.
- cmpop - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
- CO - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
- coalesce(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a sql-expression for the nvl() or coalesce() function.
- coalesce(String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Returns the preferred String if it is not empty ot the alternative String otherwise.
- coalesce(T, T) - Static method in class org.apache.empire.commons.ObjectUtils
-
Checks whether a preferred value is valid and returns an alternative value if not.
- coalesceColumn(Object) - Method in class org.apache.empire.db.DBColumn
-
Creates a column expression with coalesce and renames it to this column
- COLATTR_CASESENSITIVE - Static variable in interface org.apache.empire.data.Column
- COLATTR_COLLATION - Static variable in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- COLATTR_CURRENCY_CODE - Static variable in interface org.apache.empire.data.Column
- COLATTR_ENUMTYPE - Static variable in interface org.apache.empire.data.Column
- COLATTR_FRACTION_DIGITS - Static variable in interface org.apache.empire.data.Column
- COLATTR_INTEGER_DIGITS - Static variable in interface org.apache.empire.data.Column
- COLATTR_MAXVALUE - Static variable in interface org.apache.empire.data.Column
- COLATTR_MINLENGTH - Static variable in interface org.apache.empire.data.Column
- COLATTR_MINVALUE - Static variable in interface org.apache.empire.data.Column
- COLATTR_NORMCOLUMN - Static variable in interface org.apache.empire.data.Column
- COLATTR_NULLTEXT - Static variable in interface org.apache.empire.data.Column
- COLATTR_NUMBER_GROUPSEP - Static variable in interface org.apache.empire.data.Column
- COLATTR_NUMBER_TYPE - Static variable in interface org.apache.empire.data.Column
- COLATTR_REFCOLUMNS - Static variable in interface org.apache.empire.data.Column
- COLATTR_REGEXP - Static variable in interface org.apache.empire.data.Column
- COLATTR_SORTDESCENDING - Static variable in interface org.apache.empire.data.Column
- COLATTR_SORTEXPRESSION - Static variable in interface org.apache.empire.data.Column
- COLATTR_SQLEXPRESSION - Static variable in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- COLATTR_TITLE - Static variable in interface org.apache.empire.data.Column
-
Predefined column expression attributes (optional) for method Object getAttribute(String name)
- COLATTR_TOOLTIP - Static variable in interface org.apache.empire.data.Column
- COLATTR_TYPE - Static variable in interface org.apache.empire.data.Column
- collectColumns(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
-
collects column information from database meta data for each table
- collectColumns(DatabaseMetaData) - Method in class org.apache.empire.dbms.oracle.OracleDBModelParser
-
collects all column information at once
- collectColumns(DatabaseMetaData) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDBModelParser
-
collects all column information at once
- collectColumns(DatabaseMetaData, String) - Method in class org.apache.empire.db.validation.DBModelParser
-
collects column information from database meta data for whole schema
- collectForeignKeys(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
-
collects foreign key information from database meta data
- collectForeignKeys(DatabaseMetaData) - Method in class org.apache.empire.dbms.oracle.OracleDBModelParser
-
collects all foreign keys at once
- collectForeignKeys(DatabaseMetaData, String) - Method in class org.apache.empire.db.validation.DBModelParser
-
collects foreign key information from database meta data
- collectPrimaryKeys(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
-
collects primary key information from database meta data
- collectTablesAndViews(DatabaseMetaData, String) - Method in class org.apache.empire.db.validation.DBModelParser
-
collects table and view information from database meta data
- column - Variable in class org.apache.empire.db.expr.set.DBSetExpr
- column(int) - Method in class org.apache.empire.db.DBQuery
-
Returns the query column for a particular index Same as getColumn(columnIndex) but throws an exception if index is out of range
- column(String) - Method in class org.apache.empire.db.DBQuery
-
Returns the query column for a given column name in the underlying query
- column(DBColumnExpr) - Method in class org.apache.empire.db.DBQuery
-
Returns the query column for a underlying column expression Use this function to map table columns to query columns
- Column - Interface in org.apache.empire.data
-
The column interface provides methods for accessing metadata that is only relevant for updating records.
- ColumnExpr - Interface in org.apache.empire.data
-
The column interface provides methods for accessing metadata that is relevant for managing and displaying data available through the RecordData interface.
- ColumnInfo(String, int, int, int, int, String) - Constructor for class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
- columnNullableMismatch(DBColumn, boolean) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
-
This method is called when a NOT NULL constraints of a column in the Empire-db definition does not match the database.
- columnNullableMismatch(DBColumn, boolean) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
-
handle columnNullableMismatch errors
- columnReferences - Variable in class org.apache.empire.db.DBRowSet
- columns - Variable in class org.apache.empire.data.bean.BeanRecordProxy
- columns - Variable in class org.apache.empire.data.list.DataListHead
- columns - Variable in class org.apache.empire.db.DBRowSet
- columnSeparator - Variable in class org.apache.empire.data.list.DataListHead
- columnSizeMismatch(DBColumn, int, int) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
-
This method is called when the size of a column in the Empire-db definition does not match the database.
- columnSizeMismatch(DBColumn, int, int) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
-
handle columnSizeMismatch errors
- columnTypeMismatch(DBColumn, DataType) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
-
This method is called when the type of a column in the Empire-db definition does not match the database.
- columnTypeMismatch(DBColumn, DataType) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
-
handle columnTypeMismatch errors
- ColumnUtils - Class in org.apache.empire.commons
-
ColumnUtils This class contains a set of generic functions for Columns
- ColumnUtils() - Constructor for class org.apache.empire.commons.ColumnUtils
- combine(DBRollbackHandler) - Method in interface org.apache.empire.db.context.DBRollbackHandler
- combine(DBRollbackHandler) - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
- combine(T[], T[]) - Static method in class org.apache.empire.commons.ObjectUtils
-
combines two arrays
- combineBlanks(String) - Method in class org.apache.empire.commons.SqlFormat
- commandSeparator - Variable in class org.apache.empire.db.DBSQLScript
- CommandWithoutSelectException - Exception in org.apache.empire.db.exceptions
- CommandWithoutSelectException(DBCommandExpr) - Constructor for exception org.apache.empire.db.exceptions.CommandWithoutSelectException
- comment - Variable in class org.apache.empire.db.DBColumn
- comment - Variable in class org.apache.empire.db.DBRowSet
- commit() - Method in class org.apache.empire.db.context.DBContextBase
- commit() - Method in interface org.apache.empire.db.DBContext
- compare(Object, Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Compares two objects for equality
- compare(Object, Object) - Method in class org.apache.empire.commons.ValueUtils
-
Compares two objects for equality
- compareColumns(DBColumn[]) - Method in class org.apache.empire.db.DBIndex
-
checks whether the columns of this index match the supplied columns
- compareDates(Date, Date) - Static method in class org.apache.empire.commons.DateUtils
- compareEqual(Object[], Object[]) - Static method in class org.apache.empire.commons.ObjectUtils
-
Compares two arrays for equality
- compareEqual(Object, Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Compares two objects for equality
- compareEqual(Object, Object) - Method in class org.apache.empire.commons.ValueUtils
-
Compares two objects for equality
- compareEqual(String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Compares two Strings with each other - either with or without character case.
- compareEqual(String, String, boolean) - Static method in class org.apache.empire.commons.StringUtils
-
Compares two Strings with each other - either with or without character case.
- compareEqual(Date, Date) - Static method in class org.apache.empire.commons.DateUtils
- compareEqual(ColumnExpr, ColumnExpr) - Static method in class org.apache.empire.commons.ObjectUtils
-
Compares two ColumnExpr for equality
- compareExpr - Variable in class org.apache.empire.db.expr.compare.DBExistsExpr
- compareKey(Column[], Object[]) - Method in class org.apache.empire.data.list.DataListEntry
-
Compares a given record key with the key of the entry
- compareNotEqual(String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Compares two Strings with each other - either with or without character case.
- compareNotEqual(String, String, boolean) - Static method in class org.apache.empire.commons.StringUtils
-
Compares two Strings with each other - either with or without character case.
- compExpr - Variable in class org.apache.empire.db.expr.join.DBColumnJoinExpr
- completeInitRecord(DBRecordBase) - Method in class org.apache.empire.db.DBRowSet
-
Completes the record initialization.
Override this function to do post initialization processing. - completeParamUsage() - Method in class org.apache.empire.db.DBCommand
-
internally used to remove unused Command Params from list Note: Only one thread my generate an SQL statement
- completeParamUsage(DBCommand) - Method in class org.apache.empire.db.DBCmdParamList
-
internally used to remove unused Command Params from list Note: Only one thread my generate an SQL statement
- completeQuery(List<T>) - Method in interface org.apache.empire.data.list.DataListFactory
- completeQuery(List<T>) - Method in class org.apache.empire.data.list.DataListFactoryImpl
- completeQuery(List<T>) - Method in interface org.apache.empire.db.list.DBBeanListFactory
- completeQuery(List<T>) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
- completeQuery(List<T>) - Method in interface org.apache.empire.db.list.DBRecordListFactory
- completeQuery(List<T>) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
- concat(String...) - Static method in class org.apache.empire.commons.StringUtils
-
Assembles a string from several parts
- concat(String, DBColumnExpr...) - Method in class org.apache.empire.db.DBColumnExpr
-
concatenates a list of expressions to the current column
- concat(DBColumnExpr...) - Method in class org.apache.empire.db.DBColumnExpr
-
concatenates a list of expressions to the current column
- concatItems(char, Object...) - Static method in class org.apache.empire.commons.StringUtils
-
Assembles a string from parts with a separator char
- connectBy - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
- connectByPrior(DBCompareExpr) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- ConstraintViolationException - Exception in org.apache.empire.db.exceptions
- ConstraintViolationException(DBMSHandler, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.ConstraintViolationException
-
Constructor for ConstraintViolationException
- constructor - Variable in class org.apache.empire.data.list.DataListFactoryImpl
- constructor - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
- constructor - Variable in class org.apache.empire.db.list.DBRecordListFactoryImpl
- constructorParams - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
- contains(Object) - Method in class org.apache.empire.commons.Attributes
- contains(Object) - Method in class org.apache.empire.commons.Options
- contains(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the "contains(column, val)" comparator
- contains(String) - Method in class org.apache.empire.commons.Attributes
- contains(String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Returns true if the given substring is part of the string provided by value
- contains(DBColumn) - Method in class org.apache.empire.db.DBExpressionIndex
-
Checks if this index contains the column col
- contains(DBColumn) - Method in class org.apache.empire.db.DBIndex
-
Checks if this index contains the column col
- contains(T[], T) - Static method in class org.apache.empire.commons.ObjectUtils
-
returns whether or not a array contains a certain item performs a simple (==) comparison (fast)
- CONTAINS - Enum constant in enum org.apache.empire.db.DBCmpType
- containsNull() - Method in class org.apache.empire.commons.Options
-
Checks if the Option list contains an empty value
- context - Variable in class org.apache.empire.db.DBReader
- context - Variable in class org.apache.empire.db.DBRecord
- context - Variable in class org.apache.empire.db.DBSQLScript
- context - Variable in class org.apache.empire.db.DBUtils
- convert(Class<T>, Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Generic conversion function that will convert a object to another value type.
- convert(Class<T>, Collection<? extends T>) - Static method in class org.apache.empire.commons.ObjectUtils
-
Generic conversion function that will convert a list to another list type.
- convertColumnValue(ColumnExpr, Object, Class<T>) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts a column value to a Java type
- convertColumnValue(ColumnExpr, Object, Class<T>) - Method in class org.apache.empire.commons.ValueUtils
-
Converts a column value to a Java type Allows custom conversions and handling of special cases.
- convertPropertyValue(Object, Class<?>) - Method in class org.apache.empire.commons.BeanPropertyUtils.BeanPropertyUtilsImpl
- convertPropertyValue(Object, Class<?>) - Static method in class org.apache.empire.commons.BeanPropertyUtils
-
Converts a bean property value to a specific Java type
- convertTo(DataType) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new DBFuncExpr object that will convert the current column to the destination data type specified.
- convertTo(DataType, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a new DBFuncExpr object that will convert the current column to the destination data type specified.
- convertToData(DataType, Object) - Method in class org.apache.empire.commons.ValueUtils
-
Converts a value to a specific DataType The returned value is used for generating SQL statements
- convertToJava(Class<T>, Object) - Method in class org.apache.empire.commons.ValueUtils
-
Generic conversion function that will convert a object to another value type.
- convertValue(DataType, Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts a value to a specific DataType The returned value is used for generating SQL statements
- copy(boolean[]) - Static method in class org.apache.empire.commons.ClassUtils
-
Copies a boolean array
- copy(Object[]) - Static method in class org.apache.empire.commons.ClassUtils
-
Copies an Object array
- copy(String[]) - Static method in class org.apache.empire.commons.ClassUtils
-
Copies a String array
- copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
-
internally used for command cloning
- copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.db.expr.set.DBSetExpr
-
Copy Command
- copy(DBCommand) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- copy(T) - Static method in class org.apache.empire.commons.ClassUtils
-
Makes a copy of an object if possible or returns the object itself if copy is not supported
- copy(T, int) - Static method in class org.apache.empire.commons.ClassUtils
-
Makes a copy of an object if possible or returns null or self (depending on flags)
- Copy() - Constructor for class org.apache.empire.commons.ClassUtils.Copy
- copySmart(T) - Static method in class org.apache.empire.commons.ClassUtils
-
Makes a copy of an object if the object is an array or a collection (List,Set,Map,...)
- count() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "count()" function which returns the number of rows in the result set.
- count() - Method in class org.apache.empire.db.DBRowSet
-
Returns a new DBCountExpr object.
- countDistinct() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "count()" function which returns the number of unique values in the result set.
- create() - Method in class org.apache.empire.db.DBRecord
-
Creates a new record
- create(Object[]) - Method in class org.apache.empire.db.DBRecord
-
Creates a new record
- create(DBContext, DBRowSet) - Method in class org.apache.empire.db.DBRecordBean
-
Creates a new record
- create(DBContext, DBRowSet, Object[]) - Method in class org.apache.empire.db.DBRecordBean
-
Creates a new record
- CREATE - Enum constant in enum org.apache.empire.db.DBDDLGenerator.DDLActionType
- CREATE_SCHEMA - Enum constant in enum org.apache.empire.dbms.DBMSFeature
- CREATE_VIEW - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- createAndAppendColumn(String, DataType, double, boolean, Object) - Method in class org.apache.empire.db.DBTable
-
Creates a new Column object and appends it to the column list
- createAndAppendColumn(String, DBColumnExpr, double) - Method in class org.apache.empire.db.DBView
-
Adds a column to the view.
- createCombinedCommand(DBCommandExpr, String, DBCommandExpr) - Method in interface org.apache.empire.dbms.DBMSHandler
-
This function gives the dbms a chance to provide a custom implementation for a combined command such as UNION or INTERSECT
- createCombinedCommand(DBCommandExpr, String, DBCommandExpr) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
This function gives the dbms a chance to provide a custom implementation for a combined command such as UNION or INTERSECT
- createCombinedCommand(DBCommandExpr, String, DBCommandExpr) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- createCommand() - Method in class org.apache.empire.db.context.DBContextBase
-
Creates a new Command object for the given database
- createCommand() - Method in interface org.apache.empire.db.DBContext
- createCommand() - Method in class org.apache.empire.db.DBDatabase
-
Creates a new Command object for this database Deprecated instead use context.createCommand();
- createCommand() - Method in class org.apache.empire.db.DBView
-
Returns the command required to create the view
This is function is only used for the creation of DDL statements - createCommand(boolean) - Method in interface org.apache.empire.dbms.DBMSHandler
-
This function creates a DBCommand for this DBMS
- createCommand(boolean) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
This function creates a DBCommand derived object this database
- createCommand(boolean) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
Creates a new H2 command object.
- createCommand(boolean) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
-
Override standard command
- createCommand(boolean) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Creates a new MySQL command object.
- createCommand(boolean) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Creates a new Oracle command object.
- createCommand(boolean) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Creates a new PostgreSQL command object.
- createCommand(boolean) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
-
Creates a new SQLite command object.
- createCommand(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Creates a new Microsoft SQL-Server command object.
- createComment(DBDatabase, String, DBExpr, String, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for creating the given database to an SQL-Script
This includes the generation of all tables, views and relations. - createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.HSqlDDLGenerator
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
- createDefaultBeanListFactory(Class<T>, Column[], List<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBUtils
-
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
- createDefaultDataListFactory(Class<T>, DataListHead) - Method in class org.apache.empire.db.DBUtils
-
Crates a default DataListFactory for a DataListEntry class The DataListEntry class must provide the following constructor DataListEntry(DataListFactory<?
- createDefaultDataListHead(DBCommandExpr, Class<? extends DataListEntry>) - Method in class org.apache.empire.db.DBUtils
-
Crates a default DataListHead for a DataListEntry class
- createDefaultRecordListFactory(Class<R>, DBRowSet) - Method in class org.apache.empire.db.DBUtils
-
Crates a default DBRecordListFactory for a DBRecord class The DBRecord class must provide the following constructor DBRecord(DBContext context, DBRowSet rowset)
- createDocument() - Static method in class org.apache.empire.xml.XMLUtil
-
Returns a document newly created by the class's static DocumentBuilder.
- createDocument(String) - Static method in class org.apache.empire.xml.XMLUtil
- createDocumentNS(String, String, Map<String, String>) - Static method in class org.apache.empire.xml.XMLUtil
- createIndex(DBTable, DBIndex, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for creating a single index to an SQL-Script
- createModelChecker(DBDatabase) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Creates a DataModelChecker instance of this DBMSHandler
- createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Creates a DataModelChecker instance of this DBMSHandler
- createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
-
Creates a DBModelChecker instance of this DBMSHandler
- createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Creates a DataModelChecker instance of this DBMSHandler
- createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- createModelParser(String, String) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Creates a DataModelParser instance of this DBMSHandler
- createModelParser(String, String) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Creates a DataModelParser instance of this DBMSHandler
- createModelParser(String, String) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- createModelParser(String, String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Creates a DataModelChecker instance of this DBMSHandler
- createOptionEntry(Object, String, boolean) - Method in class org.apache.empire.commons.Options
- createQueryColumn(DBColumnExpr, int) - Method in class org.apache.empire.db.DBQuery
-
factory method for column expressions in order to allow overrides
- createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
throws ERR_NOTSUPPORTED
- createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBQuery
-
Returns an error, because it is not possible to add a record to a query.
- createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBRowSet
- createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBTable
-
Gets all table fields and the fields properties.
- createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBView
- createRecordCommand(DBContext) - Method in class org.apache.empire.db.DBRowSet
-
Creates a new command object for record handing May use Prepared statements even if disabled in context
- createRelation(DBRelation, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script
- createRelation(DBRelation, DBSQLScript) - Method in class org.apache.empire.dbms.sqlite.SQLiteDDLGenerator
- createRemoteDatabase() - Method in class org.apache.empire.db.validation.DBModelParser
- createRollbackHandler() - Method in class org.apache.empire.db.DBRecordBase
-
Factory function to create createRollbackHandler();
- createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.HSqlDDLGenerator
-
Appends the DDL-Script for creating a sequence to an SQL-Script
- createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
-
Returns true if the sequence has been created successfully.
- createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
-
Appends the DDL-Script for creating a sequence to an SQL-Script
- createSQLBuilder() - Method in interface org.apache.empire.dbms.DBMSHandler
-
This function creates a DBSQLBuilder for this DBMS
- createSQLBuilder() - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
This function creates a DBSQLBuilder for this DBMS
- createSQLBuilder() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Creates a new MySQL SQL-Builder.
- createSQLBuilder() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Creates a new Microsoft SQL-Server SQL-Builder.
- createSQLBuilder(String) - Method in class org.apache.empire.db.DBCombinedCmd
- createSQLBuilder(String) - Method in class org.apache.empire.db.DBCommand
- createSQLBuilder(String) - Method in class org.apache.empire.db.DBCommandExpr
-
creates a new DBSQLBuilder
- createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for creating the given table to an SQL-Script
- createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
-
Appends the DDL-Script for creating the given table to an SQL-Script
- createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.dbms.sqlite.SQLiteDDLGenerator
- createTableIndexes(DBTable, DBIndex, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for creating all indexes of table (except the primary key) to an SQL-Script
- createUtils() - Method in class org.apache.empire.db.context.DBContextBase
-
Factory function for Utils creation
- createView(DBView, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for creating the given view to an SQL-Script
- createView(DBView, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
-
Appends the DDL-Script for creating the given view to an SQL-Script
- CTX - Variable in class org.apache.empire.db.generic.TRecord
- CTX_ALIAS - Static variable in class org.apache.empire.db.DBExpr
- CTX_ALL - Static variable in class org.apache.empire.db.DBExpr
- CTX_DEFAULT - Static variable in class org.apache.empire.db.DBExpr
- CTX_FULLNAME - Static variable in class org.apache.empire.db.DBExpr
- CTX_NAME - Static variable in class org.apache.empire.db.DBExpr
- CTX_NOPARENTHESIS - Static variable in class org.apache.empire.db.DBExpr
- CTX_VALUE - Static variable in class org.apache.empire.db.DBExpr
- curCount - Variable in class org.apache.empire.db.DBReader.DBReaderIterator
D
- data - Variable in class org.apache.empire.data.bean.BeanRecordProxy
- DatabaseNotOpenException - Exception in org.apache.empire.db.exceptions
- DatabaseNotOpenException(DBDatabase) - Constructor for exception org.apache.empire.db.exceptions.DatabaseNotOpenException
- databaseObjectName - Variable in class org.apache.empire.db.DBDDLGenerator
- DataBean<DB extends DBDatabase> - Interface in org.apache.empire.db.list
- DataListEntry - Class in org.apache.empire.data.list
- DataListEntry(DataListHead, Object[]) - Constructor for class org.apache.empire.data.list.DataListEntry
- DataListEntry(DataListHead, Object[], int) - Constructor for class org.apache.empire.data.list.DataListEntry
- DataListFactory<T extends DataListEntry> - Interface in org.apache.empire.data.list
- DataListFactoryImpl<T extends DataListEntry> - Class in org.apache.empire.data.list
-
DataListFactoryImpl Implements the DataListFactory
- DataListFactoryImpl(Class<T>, DataListHead) - Constructor for class org.apache.empire.data.list.DataListFactoryImpl
-
Constructs a DataListFactoryImpl based on a DateListEntry class and a DataListHead
- DataListFactoryImpl(Constructor<T>, DataListHead) - Constructor for class org.apache.empire.data.list.DataListFactoryImpl
-
Constructs a DataListFactoryImpl based on a DateListEntry constructor and a DataListHead
- DataListHead - Class in org.apache.empire.data.list
- DataListHead(ColumnExpr[]) - Constructor for class org.apache.empire.data.list.DataListHead
-
Constructs a DataListHead based on an DataListEntry constructor
- dataType - Variable in class org.apache.empire.db.DBView.DBViewColumn
- dataType - Variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
- dataType - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
- DataType - Enum in org.apache.empire.data
-
DataType is an enumeration of data types that are supported with the empire-db component.
- DATATYPE_BLOB - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_BOOLEAN - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_CHAR - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_CLOB - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_DATE - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_DATETIME - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_DECIMAL - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_FLOAT - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_INT_BIG - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_INT_MEDIUM - Variable in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
- DATATYPE_INT_SMALL - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_INT_TINY - Variable in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
- DATATYPE_INTEGER - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_TIME - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_TIMESTAMP - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_UNIQUEID - Variable in class org.apache.empire.db.DBDDLGenerator
- DATATYPE_VARCHAR - Variable in class org.apache.empire.db.DBDDLGenerator
- DATE - Enum constant in enum org.apache.empire.data.DataType
-
Date only value (without time)
- DATE_FORMAT - Static variable in class org.apache.empire.commons.ValueUtils
- dateOnlyFormatter - Static variable in class org.apache.empire.commons.ValueUtils
- DATETIME - Enum constant in enum org.apache.empire.data.DataType
-
Date including time but without nanoseconds
- DATETIME_FORMAT - Static variable in class org.apache.empire.commons.ValueUtils
- dateTimeFormatter - Static variable in class org.apache.empire.commons.ValueUtils
- DateUtils - Class in org.apache.empire.commons
-
This class contains common functions for comparing and converting values of type Date.
- day() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an function object that calculates the day of a date value.
- DAY - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- DAYS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
- db - Variable in class org.apache.empire.db.DBGeneratedValue
- db - Variable in class org.apache.empire.db.DBRowSet
- db - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
- db - Variable in class org.apache.empire.db.expr.column.DBValueExpr
- db - Variable in class org.apache.empire.dbms.oracle.OracleRowNumExpr
- DB - Variable in class org.apache.empire.db.generic.TTable
- DB - Variable in class org.apache.empire.db.generic.TView
- DBAbstractFuncExpr - Class in org.apache.empire.db.expr.column
-
This implements some basic functionality for SQL functions based on a column expression
- DBAbstractFuncExpr(DBColumnExpr, boolean, DataType) - Constructor for class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Constructs a new DBFuncExpr object set the specified parameters to this object.
- DBAliasExpr - Class in org.apache.empire.db.expr.column
-
This class allows column renaming in SQL.
- DBAliasExpr(DBColumnExpr, String) - Constructor for class org.apache.empire.db.expr.column.DBAliasExpr
-
Constructs a DBAliasExpr object combine the DBColumnExpr object with the alias name.
- DBBeanFactoryCache - Class in org.apache.empire.db.list
-
DBBeanFactoryCache
- DBBeanFactoryCache() - Constructor for class org.apache.empire.db.list.DBBeanFactoryCache
- DBBeanListFactory<T> - Interface in org.apache.empire.db.list
- DBBeanListFactoryImpl<T> - Class in org.apache.empire.db.list
-
DBRecordListFactoryImpl Implements the DBRecordListFactory interface
- DBBeanListFactoryImpl(Class<T>, List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
-
Constructs a DBRecordListFactoryImpl based on an DBRecord class
- DBBeanListFactoryImpl(Class<T>, List<? extends DBColumnExpr>, List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
-
Constructs a DBRecordListFactoryImpl based on an DBRecord class
- DBBeanListFactoryImpl(Class<T>, Column[], List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
-
Constructs a DBRecordListFactoryImpl based on an DBRecord class
- DBBeanListFactoryImpl(Constructor<T>, List<? extends DBColumnExpr>, List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
-
Constructs a DBRecordListFactoryImpl based on an DBRecord constructor
- DBBlobData - Class in org.apache.empire.db
-
This class allocates methods to store binary large objects in the database.
- DBBlobData(byte[]) - Constructor for class org.apache.empire.db.DBBlobData
-
Constructor for LobData from a byte array.
- DBBlobData(InputStream, int) - Constructor for class org.apache.empire.db.DBBlobData
-
Constructor to pass LOB data to the setValue methods of a record, consisting of the input stream where the data can be loaded from and the length of the data.
- DBBlobData(String) - Constructor for class org.apache.empire.db.DBBlobData
-
Constructor for LobData from a string.
- DBBlobData(String, String) - Constructor for class org.apache.empire.db.DBBlobData
-
Constructor for LobData from a string.
- DBCalcExpr - Class in org.apache.empire.db.expr.column
-
This class is used for performing calculations in SQL
It handles the mathematical operations ("+", "-", "*", "/") for the current column. - DBCalcExpr(DBColumnExpr, String, Object) - Constructor for class org.apache.empire.db.expr.column.DBCalcExpr
-
Constructs a DBCalcExpr object Sets the mathematical operations ("+", "-", "*", "/")
for the specified DBColumnExpr object and value. - DBCaseExpr - Class in org.apache.empire.db.expr.column
-
This class represents a SQL case expression like "case when ?
- DBCaseExpr(DBColumnExpr) - Constructor for class org.apache.empire.db.expr.column.DBCaseExpr
- DBCaseExpr(DBDatabase) - Constructor for class org.apache.empire.db.expr.column.DBCaseExpr
- DBCaseMapExpr - Class in org.apache.empire.db.expr.column
-
This class is used to create a SQL CASE constraint in the form of case {expr} when {value1} then {result1} when {value2} then {result2} ...
- DBCaseMapExpr(DBColumnExpr, Object, Object, Object) - Constructor for class org.apache.empire.db.expr.column.DBCaseMapExpr
- DBCaseMapExpr(DBColumnExpr, Object, Object, Object, Object, Object) - Constructor for class org.apache.empire.db.expr.column.DBCaseMapExpr
- DBCaseMapExpr(DBColumnExpr, Map<? extends Object, ? extends Object>, Object) - Constructor for class org.apache.empire.db.expr.column.DBCaseMapExpr
-
constructs a DBCaseSelectExpr expr
- DBCaseWhenExpr - Class in org.apache.empire.db.expr.column
-
This class is used to create a SQL CASE constraint in the form of case when {cond1} then {result1} when {cond2} then {result2} ...
- DBCaseWhenExpr(DBDatabase, Map<DBCompareExpr, ? extends Object>, Object) - Constructor for class org.apache.empire.db.expr.column.DBCaseWhenExpr
-
Constructs a DBCaseExpr
- DBCaseWhenExpr(DBCompareExpr, Object, Object) - Constructor for class org.apache.empire.db.expr.column.DBCaseWhenExpr
- DBClobData - Class in org.apache.empire.db
-
This class allocates methods to store binary character objects in the database.
- DBClobData(Reader, int) - Constructor for class org.apache.empire.db.DBClobData
-
Constructor to pass LOB data to the setValue methods of a record, consisting of the input stream where the data can be loaded from and the length of the data.
- DBClobData(String) - Constructor for class org.apache.empire.db.DBClobData
-
Constructor for LobData from a string.
- DBCmdColumn(DBRowSet, DBColumnExpr) - Constructor for class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Constructs a new DBCmdColumn object
- DBCmdParam - Class in org.apache.empire.db
-
This class defines a parameter for a prepared statement query.
- DBCmdParam(DBCommand, DataType, Object) - Constructor for class org.apache.empire.db.DBCmdParam
-
Protected constructor used e.g. by DBCommand.addParam(...)
- DBCmdParamList - Class in org.apache.empire.db
-
DBCmdParamList This class handles command parameters for Prepared Statements
- DBCmdParamList() - Constructor for class org.apache.empire.db.DBCmdParamList
- DBCmdParamList(int) - Constructor for class org.apache.empire.db.DBCmdParamList
- DBCmdParamList(DBCmdParams) - Constructor for class org.apache.empire.db.DBCmdParamList
- DBCmdParams - Interface in org.apache.empire.db
-
DBCmdParams Provides information about the command parameters used in a DBCommand
- DBCmdQuery(DBCommandExpr, DBDatabase, DBColumnExpr[]) - Constructor for class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Creates a new DBCmdQueryObject
- DBCmdResultExpr - Class in org.apache.empire.db.expr.column
- DBCmdResultExpr(DBCommandExpr) - Constructor for class org.apache.empire.db.expr.column.DBCmdResultExpr
- DBCmpType - Enum in org.apache.empire.db
-
This enum allocates the available compare types.
- DBCoalesceExpr - Class in org.apache.empire.db.expr.column
- DBCoalesceExpr(DBColumnExpr, Object) - Constructor for class org.apache.empire.db.expr.column.DBCoalesceExpr
- DBCOLATTR_SINGLEBYTECHARS - Static variable in class org.apache.empire.db.DBTableColumn
- DBColComments(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
- DBColInfo(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
- DBColumn - Class in org.apache.empire.db
-
This is the base class for all database columns that have a physical representation.
- DBColumn(DBRowSet, String) - Constructor for class org.apache.empire.db.DBColumn
-
Constructs a DBColumn object and set the specified parameters to this object.
- DBColumnExpr - Class in org.apache.empire.db
-
This class is the base class for all expressions that represent a single value.
- DBColumnExpr() - Constructor for class org.apache.empire.db.DBColumnExpr
- DBColumnJoinExpr - Class in org.apache.empire.db.expr.join
- DBColumnJoinExpr(DBColumnExpr, DBColumnExpr, DBJoinType) - Constructor for class org.apache.empire.db.expr.join.DBColumnJoinExpr
- DBColumnJoinExpr(DBColumnExpr, DBColumnExpr, DBJoinType, DBCompareExpr) - Constructor for class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Constructs a join expression based on two columns or column expressions
- DBColumnJoinExpr(DBColumnJoinExpr, DBCompareExpr) - Constructor for class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Copy and concat constructor
- DBCombinedCmd - Class in org.apache.empire.db
-
This class is used for combining two DBCommandExpr objects to a new single DBCommandExpr This may be used to create "UNION" or "INTERSECT" queries
- DBCombinedCmd(DBCommandExpr, String, DBCommandExpr) - Constructor for class org.apache.empire.db.DBCombinedCmd
-
Constructs a new DBFuncExpr object and sets the specified parameters to this object.
- DBCommand - Class in org.apache.empire.db
-
This abstract class handles the creation of the SQL-Commands.
- DBCommand(DBMSHandler, boolean) - Constructor for class org.apache.empire.db.DBCommand
-
Constructs a new DBCommand object and set the specified DBDatabase object.
- DBCommand(DBMSHandler, boolean, DBCmdParamList) - Constructor for class org.apache.empire.db.DBCommand
-
Constructs a new DBCommand object and set the specified DBDatabase object.
- DBCommandExpr - Class in org.apache.empire.db
-
This abstract class handles the creation of the SQL-Commands.
- DBCommandExpr(DBMSHandler) - Constructor for class org.apache.empire.db.DBCommandExpr
-
Constructs an empty DBCommandExpr object
- DBCommandExpr.DBCmdColumn - Class in org.apache.empire.db
-
This class wraps a column of sql command in a special command column object.
- DBCommandExpr.DBCmdQuery - Class in org.apache.empire.db
- DBCommandH2(DBMSHandlerH2, boolean) - Constructor for class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
- DBCommandHSql - Class in org.apache.empire.dbms.hsql
-
This class handles the special features of an HSqlDB database.
- DBCommandHSql(DBMSHandlerHSql, boolean) - Constructor for class org.apache.empire.dbms.hsql.DBCommandHSql
-
Constructs an HSqlDB command object.
- DBCommandMSSQL(DBMSHandlerMSSQL, boolean) - Constructor for class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- DBCommandMySQL(DBMSHandlerMySQL, boolean) - Constructor for class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- DBCommandOracle - Class in org.apache.empire.dbms.oracle
-
This class handles the special features of an oracle database.
- DBCommandOracle(DBMSHandlerOracle, boolean) - Constructor for class org.apache.empire.dbms.oracle.DBCommandOracle
-
Constructs an oracle command object.
- DBCommandPostgres - Class in org.apache.empire.dbms.postgresql
-
Defines the PostgreSQL command type.
- DBCommandPostgres(DBMSHandlerPostgreSQL, boolean) - Constructor for class org.apache.empire.dbms.postgresql.DBCommandPostgres
- DBCommandSQLite(DBMSHandlerSQLite, boolean) - Constructor for class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite.DBCommandSQLite
- DBCompareAndOrExpr - Class in org.apache.empire.db.expr.compare
-
This class is used for combining two filter constraints by and / or operator
- DBCompareAndOrExpr(DBCompareExpr, DBCompareExpr, boolean) - Constructor for class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
Constructs a DBCompareColExpr object
- DBCompareColExpr - Class in org.apache.empire.db.expr.compare
-
This class is used for defining filter constraints based on a column expression in SQL
- DBCompareColExpr(DBColumnExpr, DBCmpType, Object) - Constructor for class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Constructs a DBCompareColExpr object set the specified parameters to this object.
- DBCompareExpr - Class in org.apache.empire.db.expr.compare
-
This class is a common base class for all SQL filter constraints classes
- DBCompareExpr() - Constructor for class org.apache.empire.db.expr.compare.DBCompareExpr
- DBCompareJoinExpr - Class in org.apache.empire.db.expr.join
-
This class is used for building a join expression of an SQL statement.
- DBCompareJoinExpr(DBRowSet, DBCompareExpr, DBJoinType) - Constructor for class org.apache.empire.db.expr.join.DBCompareJoinExpr
-
Constructs a new DBJoinExprEx
- DBCompareNotExpr - Class in org.apache.empire.db.expr.compare
-
This class is used for defining filter constraints based on a column expression in SQL
- DBCompareNotExpr(DBCompareExpr) - Constructor for class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Constructs a DBCompareColExpr object
- DBCompareParenthesisExpr - Class in org.apache.empire.db.expr.compare
-
This class wraps an existing compare expression with parenthesis.
- DBCompareParenthesisExpr(DBCompareExpr) - Constructor for class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- DBConcatExpr - Class in org.apache.empire.db.expr.column
-
This class is used for performing string concatenation in SQL
- DBConcatExpr(DBColumnExpr, Object) - Constructor for class org.apache.empire.db.expr.column.DBConcatExpr
-
Constructs a new DBConcatExpr object set the specified parameters to this object.
- DBConcatFuncExpr - Class in org.apache.empire.db.expr.column
-
DBConcatExpression
- DBConcatFuncExpr(DBColumnExpr, String, DBColumnExpr...) - Constructor for class org.apache.empire.db.expr.column.DBConcatFuncExpr
-
create concat expression
- DBConcatFuncExpr(DBColumnExpr, DBColumnExpr...) - Constructor for class org.apache.empire.db.expr.column.DBConcatFuncExpr
-
create concat expression
- DBConstraints(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
- DBContext - Interface in org.apache.empire.db
-
DBContext A context is required for every database operation
- DBContextAware - Interface in org.apache.empire.db.context
- DBContextBase - Class in org.apache.empire.db.context
-
DBContextBase Basic implementation of the DBContext interface which can be used as a base class for own implmentations
- DBContextBase() - Constructor for class org.apache.empire.db.context.DBContextBase
- DBContextStatic - Class in org.apache.empire.db.context
- DBContextStatic(DBMSHandler, Connection) - Constructor for class org.apache.empire.db.context.DBContextStatic
-
Creates a static DBContext with default options
- DBContextStatic(DBMSHandler, Connection, boolean) - Constructor for class org.apache.empire.db.context.DBContextStatic
-
Creates a static DBContext with custom options
- DBConvertExpr - Class in org.apache.empire.db.expr.column
-
This class is used to convert a value to a different data type.
- DBConvertExpr(DBColumnExpr, DataType, Object) - Constructor for class org.apache.empire.db.expr.column.DBConvertExpr
-
Constructs a DBDecodeExpr
- DBCountExpr - Class in org.apache.empire.db.expr.column
-
This class is used to add the "count" statement to the SQL-Command.
- DBCountExpr(DBColumnExpr, boolean) - Constructor for class org.apache.empire.db.expr.column.DBCountExpr
-
Constructs a DBCountExpr.
- DBCountExpr(DBRowSet) - Constructor for class org.apache.empire.db.expr.column.DBCountExpr
-
Constructs a DBCountExpr.
- DBCrossJoinExpr - Class in org.apache.empire.db.expr.join
-
This class is used for building a join expression of an SQL statement.
- DBCrossJoinExpr(DBRowSet, DBRowSet) - Constructor for class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
Constructs a new DBJoinExpr object initialize this object with the left and right column and the data type of the join expression.
- DBDatabase - Class in org.apache.empire.db
-
This abstract class is the applicaton's interface for a particular database schema.
- DBDatabase() - Constructor for class org.apache.empire.db.DBDatabase
-
Constructs a new DBDatabase object set the variable 'schema' = null.
- DBDatabase(String) - Constructor for class org.apache.empire.db.DBDatabase
-
Constructs a new DBDatabase object and sets the specified schema object.
- DBDatabase(String, String) - Constructor for class org.apache.empire.db.DBDatabase
-
Constructs a new DBDatabase object and sets the specified schema object.
- DBDatabase.DBSystemDate - Class in org.apache.empire.db
-
This class represents the database systems current date and time.
- DBDDLGenerator<T extends DBMSHandler> - Class in org.apache.empire.db
- DBDDLGenerator(T) - Constructor for class org.apache.empire.db.DBDDLGenerator
- DBDDLGenerator.DDLActionType - Enum in org.apache.empire.db
-
DDLActionType for DDLScript generation
- DBDecodeExpr - Class in org.apache.empire.db.expr.column
-
This class is used to decode a set of keys to the corresponding target values.
- DBDecodeExpr(DBColumnExpr, Map<?, ?>, Object, DataType) - Constructor for class org.apache.empire.db.expr.column.DBDecodeExpr
-
Constructs a DBDecodeExpr
- DBExistsExpr - Class in org.apache.empire.db.expr.compare
-
This class is used for building up the SQL-Command for the EXISTS syntax.
- DBExistsExpr(DBCommandExpr) - Constructor for class org.apache.empire.db.expr.compare.DBExistsExpr
-
Constructs a DBExistsExpr object set the specified parameters to this object.
- DBExistsExpr(DBCommandExpr, DBCompareExpr) - Constructor for class org.apache.empire.db.expr.compare.DBExistsExpr
-
Constructs a DBExistsExpr object set the specified parameters to this object.
- DBExpr - Class in org.apache.empire.db
-
This abstract class is the base class for all database expression classes (e.g.
- DBExpr() - Constructor for class org.apache.empire.db.DBExpr
- DBExpressionIndex - Class in org.apache.empire.db
-
This class allows to create an expression based index
- DBExpressionIndex(String, boolean, DBColumnExpr...) - Constructor for class org.apache.empire.db.DBExpressionIndex
-
Constructs a DBExpresionIndex
- DBExpressionIndex(String, DBIndex.DBIndexType, DBColumnExpr...) - Constructor for class org.apache.empire.db.DBExpressionIndex
-
Constructs a DBExpresionIndex
- DBFuncExpr - Class in org.apache.empire.db.expr.column
-
This class is used for performing various SQL functions on a column or column expression.
- DBFuncExpr(DBColumnExpr, String, Object[], boolean, DataType) - Constructor for class org.apache.empire.db.expr.column.DBFuncExpr
-
Constructs a new DBFuncExpr object set the specified parameters to this object.
- DBFuncExpr(DBColumnExpr, DBSqlPhrase, Object[], DataType) - Constructor for class org.apache.empire.db.expr.column.DBFuncExpr
-
Constructs a new DBFuncExpr object set the specified parameters to this object.
- DBFuncGeneratedValue(DBTable, String) - Constructor for class org.apache.empire.db.DBGeneratedValue.DBFuncGeneratedValue
- DBGeneratedValue - Class in org.apache.empire.db
-
DBGeneratedValue Abstract base class for Auto generated values
- DBGeneratedValue(DBDatabase) - Constructor for class org.apache.empire.db.DBGeneratedValue
- DBGeneratedValue.DBFuncGeneratedValue - Class in org.apache.empire.db
-
DBFuncGeneratedValue Auto-generates a record value from other record fields The template must contain the column names wrapped in square brackets like e.g.
- DBGeneratedValue.DBTriggerGeneratedValue - Class in org.apache.empire.db
-
DBTriggerGeneratedValue Value is generated by Trigger
- DBIndex - Class in org.apache.empire.db
-
This class handles the primary key for the tables.
- DBIndex(String, DBIndex.DBIndexType, DBColumn[]) - Constructor for class org.apache.empire.db.DBIndex
-
Constructs a DBIndex object set the specified parameters to this object.
- DBIndex.DBIndexType - Enum in org.apache.empire.db
- DBJoinExpr - Class in org.apache.empire.db.expr.join
-
This class is used for building a join expression of an SQL statement.
- DBJoinExpr(DBJoinType) - Constructor for class org.apache.empire.db.expr.join.DBJoinExpr
-
Constructs a new DBJoinExpr object initialize this object with the left and right column and the data type of the join expression.
- DBJoinType - Enum in org.apache.empire.db
-
DBJoinType contains the possibilities to join two database tables.
- DBMaterializedView - Interface in org.apache.empire.db
-
DBMaterializedView This interface should be used in conjunction with a DBView to indicate that the view is materialized
- DBModelChecker - Class in org.apache.empire.db.validation
- DBModelChecker(DBModelParser) - Constructor for class org.apache.empire.db.validation.DBModelChecker
-
Creates a new Model Checker
- DBModelErrorHandler - Interface in org.apache.empire.db.validation
- DBModelErrorLogger - Class in org.apache.empire.db.validation
-
An implemtnation of the
DBModelErrorHandlerinterface that logs all errors - DBModelErrorLogger() - Constructor for class org.apache.empire.db.validation.DBModelErrorLogger
- DBModelParser - Class in org.apache.empire.db.validation
- DBModelParser(String, String) - Constructor for class org.apache.empire.db.validation.DBModelParser
-
Creates a new Model Checker
- dbms - Variable in class org.apache.empire.db.DBDatabase
- dbms - Variable in class org.apache.empire.db.DBDDLGenerator
- dbms - Variable in class org.apache.empire.db.DBSQLBuilder
- dbms - Variable in class org.apache.empire.db.DBUtils
- DBMSBuilder(DBMSHandler) - Constructor for class org.apache.empire.dbms.DBMSHandlerBase.DBMSBuilder
- DBMSCommand(DBMSHandler, boolean) - Constructor for class org.apache.empire.dbms.DBMSHandlerBase.DBMSCommand
- DBMSFeature - Enum in org.apache.empire.dbms
-
This enum is used with the DBMSHandler::isSupported method to query database dbms capabilities.
- DBMSHandler - Interface in org.apache.empire.dbms
-
The DBMSHandler interface implements all RDBMS specific logic
- DBMSHandler.DBSetGenKeys - Interface in org.apache.empire.dbms
-
This interface is used to set the auto generated keys when executing insert statements.
- DBMSHandlerBase - Class in org.apache.empire.dbms
-
The DBMSHandler class is an abstract base class for all database handler.
- DBMSHandlerBase() - Constructor for class org.apache.empire.dbms.DBMSHandlerBase
-
Constructor
- DBMSHandlerBase(String[]) - Constructor for class org.apache.empire.dbms.DBMSHandlerBase
-
Constructor
- DBMSHandlerBase.DBMSBuilder - Class in org.apache.empire.dbms
-
DBMSBuilder A Default DBSQLBuilder implementation with no additional features
- DBMSHandlerBase.DBMSCommand - Class in org.apache.empire.dbms
-
DBMSCommand A Default DBCommand implementation with no additional features
- DBMSHandlerBase.DBSeqTable - Class in org.apache.empire.dbms
-
This class is used to emulate sequences by using a sequence table.
- DBMSHandlerDerby - Class in org.apache.empire.dbms.derby
-
This class provides support for the Derby database system.
- DBMSHandlerDerby() - Constructor for class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
Constructor for the Derby database handler.
- DBMSHandlerH2 - Class in org.apache.empire.dbms.h2
-
This class provides support for the H2 database system.
- DBMSHandlerH2() - Constructor for class org.apache.empire.dbms.h2.DBMSHandlerH2
-
Constructor for the H2 database dbms.
- DBMSHandlerH2.DBCommandH2 - Class in org.apache.empire.dbms.h2
-
Defines the H2 command type.
- DBMSHandlerHSql - Class in org.apache.empire.dbms.hsql
-
This class provides support for the HSQLDB database system.
- DBMSHandlerHSql() - Constructor for class org.apache.empire.dbms.hsql.DBMSHandlerHSql
-
Constructor for the HSQLDB database dbms.
- DBMSHandlerMSSQL - Class in org.apache.empire.dbms.sqlserver
-
This class provides support for the Microsoft SQL-Server database system.
- DBMSHandlerMSSQL() - Constructor for class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Constructor for the MSSQL database dbms.
- DBMSHandlerMSSQL.DBCommandMSSQL - Class in org.apache.empire.dbms.sqlserver
-
Provides a DBCommand implementation for Microsoft SQL-Server
- DBMSHandlerMSSQL.DBSQLBuilderMSSQL - Class in org.apache.empire.dbms.sqlserver
-
Provides a DBSQLBuilder implementation for Microsoft SQL-Server
- DBMSHandlerMySQL - Class in org.apache.empire.dbms.mysql
-
This class provides support for the MySQL database system.
- DBMSHandlerMySQL() - Constructor for class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Constructor for the MySQL database dbms.
- DBMSHandlerMySQL.DBCommandMySQL - Class in org.apache.empire.dbms.mysql
-
Defines the MySQL command type.
- DBMSHandlerMySQL.DBSQLBuilderMySQL - Class in org.apache.empire.dbms.mysql
-
Provides a DBSQLBuilder implementation for MySQL
- DBMSHandlerOracle - Class in org.apache.empire.dbms.oracle
-
This class provides support for the Oracle database system.
Oracle Version 9 or higher is required. - DBMSHandlerOracle() - Constructor for class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Constructor for the Oracle database dbms.
- DBMSHandlerOracle.BooleanType - Enum in org.apache.empire.dbms.oracle
- DBMSHandlerPostgreSQL - Class in org.apache.empire.dbms.postgresql
-
This class provides support for the PostgreSQL database system.
- DBMSHandlerPostgreSQL() - Constructor for class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Constructor for the PostgreSQL database dbms.
- DBMSHandlerSQLite - Class in org.apache.empire.dbms.sqlite
-
This class provides support for the SQLite database system.
- DBMSHandlerSQLite() - Constructor for class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
-
Constructor for the SQLite database dbms.
- DBMSHandlerSQLite.DBCommandSQLite - Class in org.apache.empire.dbms.sqlite
-
Defines the SQLite command type.
- DBObject - Class in org.apache.empire.db
-
Base class for all objects that directly or indirectly belong to a database including the database object itself.
- DBObject() - Constructor for class org.apache.empire.db.DBObject
- DBOrderByExpr - Class in org.apache.empire.db.expr.order
- DBOrderByExpr(DBColumnExpr, boolean) - Constructor for class org.apache.empire.db.expr.order.DBOrderByExpr
-
Construct a new DBOrderByInfo object set the specified parameters to this object.
- DBParenthesisExpr - Class in org.apache.empire.db.expr.column
-
This class allows column renaming in SQL.
- DBParenthesisExpr(DBColumnExpr) - Constructor for class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Constructs a DBAliasExpr object combine the DBColumnExpr object with the alias name.
- DBPreparable - Interface in org.apache.empire.db.expr.column
-
DBPreparable This interface indicates that a DBExpr Object wants to perform preparation tasks when added to a DBCommand
- DBQuery - Class in org.apache.empire.db
-
This 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. - DBQuery(DBCommandExpr) - Constructor for class org.apache.empire.db.DBQuery
-
Creates a DBQuery object from a given command object.
- DBQuery(DBCommandExpr, String) - Constructor for class org.apache.empire.db.DBQuery
-
Creates a DBQuery object from a given command object.
- DBQuery(DBCommandExpr, DBColumn) - Constructor for class org.apache.empire.db.DBQuery
-
Constructs a new DBQuery object initialize the query object.
- DBQuery(DBCommandExpr, DBColumn[]) - Constructor for class org.apache.empire.db.DBQuery
-
Constructor initializes the query object.
- DBQuery(DBCommandExpr, DBColumn[], String) - Constructor for class org.apache.empire.db.DBQuery
-
Constructor initializes the query object.
- DBQuery(DBCommandExpr, DBColumn, String) - Constructor for class org.apache.empire.db.DBQuery
-
Constructs a new DBQuery object initialize the query object.
- DBQuery(DBQuery, String) - Constructor for class org.apache.empire.db.DBQuery
-
Creates a copy of an existing DBQuery object.
- DBQueryColumn - Class in org.apache.empire.db
- DBQueryColumn(DBQuery, String, DBColumnExpr) - Constructor for class org.apache.empire.db.DBQueryColumn
-
Constructs a DBQueryColumn object set the specified parameters to this object.
- DBReader - Class in org.apache.empire.db
-
This class is used to perform database queries from a DBCommand object and access the results.
In oder to perform a query call the open() function or - for single row queries - call getRecordData();
You can iterate through the rows using moveNext() or an iterator. - DBReader(DBContext) - Constructor for class org.apache.empire.db.DBReader
-
Constructs a default DBReader object with the fieldIndexMap enabled.
- DBReader(DBContext, boolean) - Constructor for class org.apache.empire.db.DBReader
-
Constructs an empty DBRecordSet object.
- DBReader.DBReaderForwardIterator - Class in org.apache.empire.db
-
This is an iterator for forward only resultsets.
- DBReader.DBReaderIterator - Class in org.apache.empire.db
-
DBReaderIterator Base class for DBReader interators
- DBReader.DBReaderScrollableIterator - Class in org.apache.empire.db
-
This is an iterator for scrolling resultsets.
- DBReaderForwardIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderForwardIterator
- DBReaderIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderIterator
- DBReaderScrollableIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderScrollableIterator
- DBRecord - Class in org.apache.empire.db
-
This class represents a record from a database table, view or query The class provides methods to create, read, update and delete records If an Idendity-column (AUTOINC) is defined, the value will be set upon creation by the dbms to the next value If a Timestamp-column is defined the value will be automatically set and concurrent changes of the record will be detected If changes to the record are made, but a rollback on the connection is performed, the changes will be reverted (Rollback-Handling) The record is Serializable either if the provided DBContext is serializable, or if the Context is provided on deserialization in a derived class.
- DBRecord(DBContext, DBRowSet) - Constructor for class org.apache.empire.db.DBRecord
-
Constructs a new DBRecord.
- DBRecord(DBContext, DBRowSet, boolean) - Constructor for class org.apache.empire.db.DBRecord
-
Internal constructor for DBRecord May be used by derived classes to provide special behaviour
- DBRecordBase - Class in org.apache.empire.db
-
This abstract class provides write access to the fields of a record The class provides methods that are useful for frontend-form development like - providing information about the allowed values for a field (field options) - providing information about whether or not a field is visible to the user - providing information about whether or not a field is required (mandantory) - providing information about whether or not a field is read-only - providing information about whether a particular field value is valid - providing information about whether a field was modified since it was read from the database - providing information about whether the record was modified Also, field value changes, can be handled using the onFieldChanged event.
- DBRecordBase() - Constructor for class org.apache.empire.db.DBRecordBase
-
Internal constructor for DBRecord May be used by derived classes to provide special behaviour
- DBRecordBase.DBRecordRollbackHandler - Class in org.apache.empire.db
-
DBRecordRollbackHandler
- DBRecordBase.State - Enum in org.apache.empire.db
- DBRecordBean - Class in org.apache.empire.db
-
This class represents a record from a database table, view or query Other than DBRecord it is not permanently attached to a context or rowset Thus it has a Default constructor and is essentially a dynamic bean
- DBRecordBean() - Constructor for class org.apache.empire.db.DBRecordBean
-
Constructs a new DBRecordBean.
- DBRecordBean(boolean) - Constructor for class org.apache.empire.db.DBRecordBean
-
Constructs a new DBRecordBean.
- DBRecordData - Class in org.apache.empire.db
-
This class provides access to the fields of one data-row of a table, view or query The fields can be accessed either by Column or by index There are various accessor functions for many data types.
- DBRecordData() - Constructor for class org.apache.empire.db.DBRecordData
- DBRecordListFactory<T extends DBRecordBase> - Interface in org.apache.empire.db.list
- DBRecordListFactoryImpl<T extends DBRecordBase> - Class in org.apache.empire.db.list
-
DBRecordListFactoryImpl Implements the DBRecordListFactory interface
- DBRecordListFactoryImpl(Class<T>, Class<? extends DBContext>, DBRowSet) - Constructor for class org.apache.empire.db.list.DBRecordListFactoryImpl
-
Constructs a DBRecordListFactoryImpl based on an DBRecord class
- DBRecordListFactoryImpl(Constructor<T>, DBRowSet) - Constructor for class org.apache.empire.db.list.DBRecordListFactoryImpl
-
Constructs a DBRecordListFactoryImpl based on an DBRecord constructor
- DBRecordRollbackHandler(DBRecordBase) - Constructor for class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
- DBReference(DBTableColumn, DBTableColumn) - Constructor for class org.apache.empire.db.DBRelation.DBReference
- DBRelation - Class in org.apache.empire.db
-
This class creates a DBReferene object for a foreing key relation.
- DBRelation(DBDatabase, String, DBRelation.DBReference[]) - Constructor for class org.apache.empire.db.DBRelation
-
Creates a DBRelation object for a foreing key relation.
- DBRelation(DBDatabase, String, DBRelation.DBReference[], DBRelation.DBCascadeAction) - Constructor for class org.apache.empire.db.DBRelation
-
Creates a DBRelation object for a foreing key relation.
- DBRelation.DBCascadeAction - Enum in org.apache.empire.db
-
DBCascadeAction enum
- DBRelation.DBReference - Class in org.apache.empire.db
- DBRollbackHandler - Interface in org.apache.empire.db.context
- DBRollbackManager - Class in org.apache.empire.db.context
- DBRollbackManager(int, int) - Constructor for class org.apache.empire.db.context.DBRollbackManager
-
DBRollbackManager constructor
- DBRollbackManager.ReleaseAction - Enum in org.apache.empire.db.context
-
Connection release action
- DBRowSet - Class in org.apache.empire.db
-
This class is the base class for all the DBTable, DBView and DBQuery classes this class contains all the columns of the tables, views or queries
- DBRowSet(DBDatabase) - Constructor for class org.apache.empire.db.DBRowSet
-
Constructs a DBRecord object set the current database object.
- DBRowSet.FieldInitMode - Enum in org.apache.empire.db
- DBRowSet.PartialMode - Enum in org.apache.empire.db
- DBScalarExpr - Class in org.apache.empire.db.expr.column
-
This class is used for declaring scalar functions in SQL (like e.g. random).
- DBScalarExpr(DBDatabase, String, Object[], DataType) - Constructor for class org.apache.empire.db.expr.column.DBScalarExpr
-
Constructs a new DBValueExpr object.
- DBScalarExpr(DBDatabase, String, Object, DataType) - Constructor for class org.apache.empire.db.expr.column.DBScalarExpr
-
Constructs a new DBValueExpr object.
- DBSeqTable(String, DBDatabase) - Constructor for class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
-
Constructor
- DBSetExpr - Class in org.apache.empire.db.expr.set
-
This class is used for building a set expression of a SQL update statement.
- DBSetExpr(DBColumn, Object) - Constructor for class org.apache.empire.db.expr.set.DBSetExpr
-
Constructs a new DBSetExpr object.
- DBSQLBuilder - Class in org.apache.empire.db
-
DBSQLBuilder This class is used for building a single SQL statement
- DBSQLBuilder(DBMSHandler) - Constructor for class org.apache.empire.db.DBSQLBuilder
-
Don't use this directly Use dbms.createSQLBuilder()
- DBSQLBuilderMSSQL(DBMSHandlerMSSQL) - Constructor for class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBSQLBuilderMSSQL
- DBSQLBuilderMySQL(DBMSHandlerMySQL) - Constructor for class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBSQLBuilderMySQL
- DBSqlPhrase - Enum in org.apache.empire.dbms
-
Enum for all SQL phrases that may be supplied by the dbms The phase may consist of the following placeholders: ?
- DBSQLScript - Class in org.apache.empire.db
-
DBSQLScript
This class is a collection of sql command strings.
The class is used for obtaining and executing DDL commands supplied by the database dbms (@seeDBMSHandler.getDDLScript(DDLActionType, DBObject, DBSQLScript)) - DBSQLScript(DBContext) - Constructor for class org.apache.empire.db.DBSQLScript
- DBSQLScript(DBContext, String) - Constructor for class org.apache.empire.db.DBSQLScript
- DBSQLScript.SQLStmt - Class in org.apache.empire.db
-
SQLCmd
- DBTabComments(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
- DBTable - Class in org.apache.empire.db
-
This class represent one table of the database.
- DBTable(String, DBDatabase) - Constructor for class org.apache.empire.db.DBTable
-
Construct a new DBTable object set the specified parameters to this object and add this object to the current database.
- DBTable(String, DBDatabase, String) - Constructor for class org.apache.empire.db.DBTable
-
Construct a new DBTable object set the specified parameters to this object and add this object to the current database.
- DBTableColumn - Class in org.apache.empire.db
-
This class represent one column of a table.
- DBTableColumn(DBTable, DataType, String, double, boolean, boolean, Object) - Constructor for class org.apache.empire.db.DBTableColumn
-
Constructs a DBTableColumn object set the specified parameters to this object.
- DBTableColumn(DBTable, DBTableColumn) - Constructor for class org.apache.empire.db.DBTableColumn
-
Clone Constructor
- DBTriggerGeneratedValue(DBRowSet, String, DBTableColumn[]) - Constructor for class org.apache.empire.db.DBGeneratedValue.DBTriggerGeneratedValue
- DBUserConCol(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
- DBUtils - Class in org.apache.empire.db
-
DBUtils This class provides various query functions and functions for command execution.
- DBUtils(DBContext) - Constructor for class org.apache.empire.db.DBUtils
-
DBUtils constructor
- DBValueExpr - Class in org.apache.empire.db.expr.column
-
This class is used for declaring constant values in SQL.
- DBValueExpr(DBDatabase, Object, DataType) - Constructor for class org.apache.empire.db.expr.column.DBValueExpr
-
Deprecated.please use DBDatabase.getValueExpr(...) The constructor will be made protected in future versions
- DBVarArgsFuncExpr - Class in org.apache.empire.db.expr.column
- DBVarArgsFuncExpr(DBDatabase, DataType, String, DBColumnExpr...) - Constructor for class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- DBView - Class in org.apache.empire.db
-
This class represents a database view.
- DBView(String, DBDatabase) - Constructor for class org.apache.empire.db.DBView
-
Creates a view object for a given view in the database.
- DBView(String, DBDatabase, boolean) - Constructor for class org.apache.empire.db.DBView
-
Creates a view object for a given view in the database.
- DBView(String, DBDatabase, boolean, String) - Constructor for class org.apache.empire.db.DBView
-
Creates a view object for a given view in the database.
- DBView.DBViewColumn - Class in org.apache.empire.db
-
DBViewColumn
- DBViewColumn(DBView, String, DBColumnExpr, double) - Constructor for class org.apache.empire.db.DBView.DBViewColumn
-
Constructs a DBViewColumn object set the specified parameters to this object.
- DBViewColumn(DBView, DBView.DBViewColumn) - Constructor for class org.apache.empire.db.DBView.DBViewColumn
-
Copy constructor
- DBXmlDictionary - Class in org.apache.empire.db
-
This class is used to configure XML generation as performed by the getXmlDocument Document function on DBReader and DBRecord.
- DBXmlDictionary() - Constructor for class org.apache.empire.db.DBXmlDictionary
- ddlColumnDefaults - Variable in class org.apache.empire.db.DBDDLGenerator
- ddlGenerator - Variable in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- debug(Document) - Static method in class org.apache.empire.xml.XMLWriter
-
Prints out the DOM-Tree on System.out for debugging purposes.
- debugToFile(Document, String) - Static method in class org.apache.empire.xml.XMLWriter
-
Prints out the DOM-Tree to a file for debugging purposes.
- DECADE - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- DECIMAL - Enum constant in enum org.apache.empire.data.DataType
-
Decimal numeric value (size indicates scale and precision)
- decimalScale - Variable in class org.apache.empire.db.DBTableColumn
- decode(Object, Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
- decode(Object, Object, Object, Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
- decode(Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
- decode(Map<?, ?>, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression that compares the current column expression with a list of values and returns the corresponding alternative value.
- decode(Options) - Method in class org.apache.empire.db.DBColumnExpr
- decode(Options, Object) - Method in class org.apache.empire.db.DBColumnExpr
- decodeEnum() - Method in class org.apache.empire.db.DBColumn
-
Creates and returns a sql-expression that maps enum values by name or ordinal to their string representation
- decodeEnum(Class<? extends Enum<?>>, String) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression that maps enum values by name or ordinal to their string representation
- decodeSort(boolean) - Method in class org.apache.empire.db.DBColumn
-
Creates and returns a sql-expression that maps enum values from name to ordinal
- decodeSort(Class<? extends Enum<?>>, boolean) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression that maps enum values from name to ordinal This is useful for sorting.
- DEFAULT_ITEM_SEPARATOR - Static variable in class org.apache.empire.commons.StringUtils
-
Default Item Separator
- DEFAULT_LIST_CAPACITY - Variable in class org.apache.empire.db.DBUtils
- DefaultSqlFormatter() - Constructor for class org.apache.empire.commons.SqlFormat.DefaultSqlFormatter
- defaultValue - Variable in class org.apache.empire.db.DBTableColumn
- delete() - Method in class org.apache.empire.db.DBRecord
-
This helper function calls the DBRowset.deleteRecord method to delete the record.
- delete(DBContext) - Method in class org.apache.empire.db.DBRecordBean
-
This helper function calls the DBRowset.deleteRecord method to delete the record.
- DELETE_FROM - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- deleteAllReferences(Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
-
Deletes all records which reference this table.
- deleteRecord(long, DBContext) - Method in class org.apache.empire.db.DBRowSet
-
Deletes a single record from the database.
- deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
throws ERR_NOTSUPPORTED
- deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBQuery
-
Deletes a record identified by its primary key from the database.
- deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
- deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBTable
-
Creates a delete SQL-Command by using the DBCommand getDelete method execute the the SQL-Command with the DBDatabase executeSQL method.
- deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBView
- deleteReferenceRecords(DBRelation.DBReference[], Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
-
Deletes all records which are referenced by a particular relation.
- DERBY_SQL_KEYWORDS - Static variable in class org.apache.empire.dbms.derby.DBMSHandlerDerby
- DerbyDDLGenerator - Class in org.apache.empire.dbms.derby
- DerbyDDLGenerator(DBMSHandlerDerby) - Constructor for class org.apache.empire.dbms.derby.DerbyDDLGenerator
- desc - Variable in class org.apache.empire.db.expr.order.DBOrderByExpr
- desc() - Method in class org.apache.empire.db.DBColumnExpr
-
creates a new DBOrderByExpr for descending order
- detachDatabase(DBDatabase, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Called when a database is closed
- detachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Called when a database is closed
- detectDataType(Object) - Method in class org.apache.empire.db.DBDatabase
-
Detects the DataType of a given value.
- detectQuoteName(DBObject, String) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Returns true if a name needs to be wrapped in quotes or false otherwise
- detectQuoteName(DBObject, String) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Detects whether a table or column name needs to be quoted or not
By default all reserved SQL keywords as well as names containing a "-", "/", "+" or " " require quoting.
Overrides this function to add database specific keywords like "user" or "count" - detectRecordState(DBRecordData) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
- discard() - Method in class org.apache.empire.db.context.DBContextBase
-
Discard connection releated ressources WARING: No gurarantee it will be called
- discard() - Method in class org.apache.empire.db.context.DBContextStatic
- discard() - Method in interface org.apache.empire.db.DBContext
- discard() - Method in class org.apache.empire.db.DBDatabase
-
Frees all resources and unregisters database in global map.
- discard(Connection) - Method in interface org.apache.empire.db.context.DBRollbackHandler
- discard(Connection) - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
- Discard - Enum constant in enum org.apache.empire.db.context.DBRollbackManager.ReleaseAction
- dispose() - Method in class org.apache.empire.db.DBReader.DBReaderIterator
-
Disposes the iterator.
- divideBy(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new calculation object for the SQL "/" (divide) operator.
- domain - Variable in class org.apache.empire.data.bean.BeanClass
- DOUBLE_ZERO - Static variable in class org.apache.empire.commons.ValueUtils
- DOW - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- DOY - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- DROP - Enum constant in enum org.apache.empire.db.DBDDLGenerator.DDLActionType
- dropDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for dropping a database to the given script object
- dropDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- dropObject(String, String, String, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the DDL-Script for dropping a database object to an SQL-Script
E
- EmpireException - Exception in org.apache.empire.exceptions
-
This exception type is used for all empire errors.
- EmpireException(ErrorType, String[]) - Constructor for exception org.apache.empire.exceptions.EmpireException
-
Constructor for derived classes
- EmpireException(ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.exceptions.EmpireException
-
Constructor for derived classes
- EmpireException.ExceptionMessageFormatter - Class in org.apache.empire.exceptions
-
ExceptionMessageFormatter returns a message text for an Exception from a given pattern and parameters
- EmpireFileException - Exception in org.apache.empire.exceptions
-
This exception type is used for file related empire errors.
- EmpireFileException(ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.exceptions.EmpireFileException
- EmpireSQLException - Exception in org.apache.empire.db.exceptions
- EmpireSQLException(ErrorType, String[], int, SQLException) - Constructor for exception org.apache.empire.db.exceptions.EmpireSQLException
- EmpireSQLException(DBObject, SQLException) - Constructor for exception org.apache.empire.db.exceptions.EmpireSQLException
- EmpireSQLException(DBMSHandler, SQLException) - Constructor for exception org.apache.empire.db.exceptions.EmpireSQLException
- EMPTY - Static variable in class org.apache.empire.commons.StringUtils
-
Empty String
- EMPTY_ARGS - Static variable in class org.apache.empire.commons.ClassUtils
- EMPTY_STRING - Static variable in class org.apache.empire.db.DBDatabase
- enableOpenResultSetTracking(boolean) - Static method in class org.apache.empire.db.DBReader
-
Enables or disabled tracking of open ResultSets
- enableRollbackHandling - Variable in class org.apache.empire.db.DBRecordBean
- endTrackingThisResultSet() - Method in class org.apache.empire.db.DBReader
-
Support for finding code errors where a DBRecordSet is opened but not closed.
- entity - Variable in class org.apache.empire.data.bean.BeanRecordProxy
- Entity - Interface in org.apache.empire.data
-
EntityType Defines an entity such as a table or view
- EntityDomain - Interface in org.apache.empire.data
-
EntityDomain Holder for Entity objects
- entityName - Variable in class org.apache.empire.db.DBRowSet
- entityName(Entity) - Static method in exception org.apache.empire.db.exceptions.RecordException
- EntityType - Interface in org.apache.empire.data
-
Deprecated.
- Entry(K, V) - Constructor for class org.apache.empire.commons.ArrayMap.Entry
- entrySet() - Method in class org.apache.empire.commons.ArrayMap
- enumToString(Enum<?>) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an Enum to a String
- enumToValue(Enum<?>, boolean) - Method in class org.apache.empire.commons.ValueUtils
-
Convert Enum to Object
- EnumValue - Interface in org.apache.empire.commons
-
EnumValue allows to provide a custom conversion between an enum and its database value
- EPOCH - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- EQUAL - Enum constant in enum org.apache.empire.db.DBCmpType
- equals(char[], int) - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- equals(Object) - Method in class org.apache.empire.commons.ArrayMap.Entry
- equals(Object) - Method in class org.apache.empire.commons.Attributes.Attribute
- equals(Object) - Method in class org.apache.empire.db.DBColumn
-
Custom serialization for transient rowset.
- equals(Object) - Method in class org.apache.empire.db.DBQueryColumn
-
Overrides the equals method
- equals(Object) - Method in class org.apache.empire.db.DBRowSet
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Overrides the equals method
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBCaseMapExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Overrides the equals method
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
-
Returns true if other is equal to this expression
- equals(Object) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Compares two DBJoinExpr objects.
- equals(Object) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
Compares two DBJoinExpr objects.
- equals(Object) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
- errorCount - Variable in class org.apache.empire.db.validation.DBModelErrorLogger
- errorType - Static variable in exception org.apache.empire.db.exceptions.CommandWithoutSelectException
- errorType - Static variable in exception org.apache.empire.db.exceptions.ConstraintViolationException
- errorType - Static variable in exception org.apache.empire.db.exceptions.DatabaseNotOpenException
- errorType - Static variable in exception org.apache.empire.db.exceptions.EmpireSQLException
- errorType - Static variable in exception org.apache.empire.db.exceptions.FieldIllegalValueException
- errorType - Static variable in exception org.apache.empire.db.exceptions.FieldNotNullException
- errorType - Static variable in exception org.apache.empire.db.exceptions.FieldReadOnlyException
- errorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueNotFetchedException
- errorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueTooLongException
- errorType - Static variable in exception org.apache.empire.db.exceptions.InvalidKeyException
- errorType - Static variable in exception org.apache.empire.db.exceptions.NoPrimaryKeyException
- errorType - Static variable in exception org.apache.empire.db.exceptions.QueryFailedException
- errorType - Static variable in exception org.apache.empire.db.exceptions.QueryNoResultException
- errorType - Static variable in exception org.apache.empire.db.exceptions.RecordDeleteFailedException
- errorType - Static variable in exception org.apache.empire.db.exceptions.RecordNotFoundException
- errorType - Static variable in exception org.apache.empire.db.exceptions.RecordReadOnlyException
- errorType - Static variable in exception org.apache.empire.db.exceptions.RecordUpdateAmbiguousException
- errorType - Static variable in exception org.apache.empire.db.exceptions.RecordUpdateFailedException
- errorType - Static variable in exception org.apache.empire.db.exceptions.StatementFailedException
- errorType - Static variable in exception org.apache.empire.db.exceptions.UnknownBeanTypeException
- errorType - Static variable in exception org.apache.empire.exceptions.BeanIncompatibleException
- errorType - Static variable in exception org.apache.empire.exceptions.BeanInstantiationException
- errorType - Static variable in exception org.apache.empire.exceptions.BeanMethodInvokeException
- errorType - Static variable in exception org.apache.empire.exceptions.BeanPropertyGetException
- errorType - Static variable in exception org.apache.empire.exceptions.BeanPropertySetException
- errorType - Static variable in exception org.apache.empire.exceptions.FileParseException
- errorType - Static variable in exception org.apache.empire.exceptions.FileReadException
- errorType - Static variable in exception org.apache.empire.exceptions.FileWriteException
- errorType - Static variable in exception org.apache.empire.exceptions.InternalException
- errorType - Static variable in exception org.apache.empire.exceptions.InvalidArgumentException
- errorType - Static variable in exception org.apache.empire.exceptions.InvalidOperationException
- errorType - Static variable in exception org.apache.empire.exceptions.InvalidPropertyException
- errorType - Static variable in exception org.apache.empire.exceptions.InvalidValueException
- errorType - Static variable in exception org.apache.empire.exceptions.ItemExistsException
- errorType - Static variable in exception org.apache.empire.exceptions.ItemNotFoundException
- errorType - Static variable in exception org.apache.empire.exceptions.NotImplementedException
- errorType - Static variable in exception org.apache.empire.exceptions.NotSupportedException
- errorType - Static variable in exception org.apache.empire.exceptions.ObjectNotValidException
- errorType - Static variable in exception org.apache.empire.exceptions.OperationFailedException
- errorType - Static variable in exception org.apache.empire.exceptions.PropertyReadOnlyException
- errorType - Static variable in exception org.apache.empire.exceptions.UnexpectedReturnValueException
- errorType - Static variable in exception org.apache.empire.exceptions.UnsupportedTypeException
- errorType - Static variable in exception org.apache.empire.exceptions.ValueConversionException
- ErrorType - Class in org.apache.empire.commons
-
The ErrorType class defines a type of error.
- ErrorType(String, String) - Constructor for class org.apache.empire.commons.ErrorType
-
Defines an error type.
- escapeAndAppendLiteral(String) - Method in class org.apache.empire.db.DBSQLBuilder
-
this helper function doubles up single quotes for SQL
- escapeAndAppendLiteral(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBSQLBuilderMySQL
- estimateArrayBufferSize(Object[], StringUtils.ObjectStringifier, int, int, boolean) - Static method in class org.apache.empire.commons.StringUtils
-
Estimates the buffer size needed to convert an Array into a String
- estimateBufferSize(Object, int) - Method in class org.apache.empire.commons.StringUtils.ObjectStringifier
-
Estimates the buffer size required for the target String This function should be fast and rather estimate to much than to little
- estimateListBufferSize(Collection<?>, StringUtils.ObjectStringifier, int, int, boolean) - Static method in class org.apache.empire.commons.StringUtils
-
Estimates the buffer size needed to convert a Collection into a String
- eval(Record) - Method in class org.apache.empire.db.DBGeneratedValue.DBFuncGeneratedValue
- eval(Record) - Method in class org.apache.empire.db.DBGeneratedValue.DBTriggerGeneratedValue
- eval(Record) - Method in class org.apache.empire.db.DBGeneratedValue
-
Evaluates a record and returns the generated value
- ExceptionMessageFormatter() - Constructor for class org.apache.empire.exceptions.EmpireException.ExceptionMessageFormatter
- EXCLUDE - Enum constant in enum org.apache.empire.db.DBRowSet.PartialMode
- executeAll() - Method in class org.apache.empire.db.DBSQLScript
-
Executes all SQL Statements one by one using the supplied dbms and connection.
- executeAll(boolean) - Method in class org.apache.empire.db.DBSQLScript
-
Executes all SQL Statements one by one using the supplied dbms and connection.
- executeBatch() - Method in class org.apache.empire.db.DBSQLScript
-
Executes all SQL Statements as a JDBC Batch Job.
- executeBatch(String[], Object[][], Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Executes a list of sql statements as batch
- executeBatch(String[], Object[][], Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Executes a list of sql statements as batch
- executeDelete(DBTable, DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
-
Executes a Delete statement from a command object
- executeDelete(DBTable, DBCommand) - Method in interface org.apache.empire.db.DBContext
- executeInsert(DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
-
Executes an Insert statement from a command object
- executeInsert(DBCommand) - Method in interface org.apache.empire.db.DBContext
- executeInsertInto(DBTable, DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
-
Executes an InsertInfo statement from a command object
- executeInsertInto(DBTable, DBCommand) - Method in interface org.apache.empire.db.DBContext
- executeQuery(String, Object[], boolean) - Method in class org.apache.empire.db.DBUtils
-
Executes a select SQL-Statement and returns a ResultSet containing the query results.
This function returns a JDBC ResultSet.
Instead of using this function directly you should use a DBReader object instead. - executeQuery(String, Object[], boolean, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Executes an select SQL-command and returns the query results
- executeQuery(String, Object[], boolean, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Executes an select SQL-command and returns the query results
- executeSQL(String, Object[]) - Method in class org.apache.empire.db.context.DBContextBase
-
Executes an SQLStatment
- executeSQL(String, Object[]) - Method in interface org.apache.empire.db.DBContext
- executeSQL(String, Object[], Connection, DBMSHandler.DBSetGenKeys) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Executes an insert, update or delete SQL-command
- executeSQL(String, Object[], Connection, DBMSHandler.DBSetGenKeys) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Executes the select, update or delete SQL-Command with a Statement object.
- executeSQL(String, Object[], Connection, DBMSHandler.DBSetGenKeys) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
-
Override since conn.prepareStatement(sqlCmd, Statement.RETURN_GENERATED_KEYS) is not supported by SQLLite dbms
- executeSQL(String, Object[], DBMSHandler.DBSetGenKeys) - Method in class org.apache.empire.db.DBUtils
-
Executes an update, insert or delete SQL-Statement.
We recommend to use a DBCommand object in order to build the sqlCmd. - executeStmt(DBMSHandler, String, Object[], Connection) - Method in class org.apache.empire.db.DBSQLScript
-
Executes a single statement
- executeUpdate(DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
-
Executes an Update statement from a command object
- executeUpdate(DBCommand) - Method in interface org.apache.empire.db.DBContext
- expr - Variable in class org.apache.empire.db.DBQueryColumn
- expr - Variable in class org.apache.empire.db.DBView.DBViewColumn
- expr - Variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
- expr - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
- expr - Variable in class org.apache.empire.db.expr.compare.DBCompareNotExpr
- expr - Variable in class org.apache.empire.db.expr.order.DBOrderByExpr
- EXTRACT - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- extractErrorMessage(SQLException) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Extracts native error message of an sqlExeption.
- extractErrorMessage(SQLException) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Extracts native error message of an sqlExeption.
- extractErrorMessage(SQLException) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Extracts native error message of an sqlExeption.
F
- fastAdd(int, E) - Method in class org.apache.empire.commons.ArraySet
- fastAdd(E) - Method in class org.apache.empire.commons.ArraySet
- fetch(DBContext) - Method in class org.apache.empire.data.bean.BeanResult
-
Executes the query and fetches the result
- fetch(DBContext, int) - Method in class org.apache.empire.data.bean.BeanResult
-
Executes the query and fetches the result
- FieldIllegalValueException - Exception in org.apache.empire.db.exceptions
- FieldIllegalValueException(Column, String) - Constructor for exception org.apache.empire.db.exceptions.FieldIllegalValueException
- FieldIllegalValueException(Column, String, Throwable) - Constructor for exception org.apache.empire.db.exceptions.FieldIllegalValueException
- FieldNotNullException - Exception in org.apache.empire.db.exceptions
- FieldNotNullException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldNotNullException
- FieldReadOnlyException - Exception in org.apache.empire.db.exceptions
- FieldReadOnlyException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldReadOnlyException
- FieldValueException - Exception in org.apache.empire.db.exceptions
- FieldValueException(Column, ErrorType, String[]) - Constructor for exception org.apache.empire.db.exceptions.FieldValueException
- FieldValueException(Column, ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.db.exceptions.FieldValueException
- FieldValueNotFetchedException - Exception in org.apache.empire.db.exceptions
- FieldValueNotFetchedException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldValueNotFetchedException
- FieldValueOutOfRangeException - Exception in org.apache.empire.db.exceptions
- FieldValueOutOfRangeException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- FieldValueOutOfRangeException(Column, Number, boolean) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- FieldValueOutOfRangeException(Column, Number, Number) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- FieldValueOutOfRangeException(Column, String, boolean) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- FieldValueOutOfRangeException(Column, String, String) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- FieldValueTooLongException - Exception in org.apache.empire.db.exceptions
- FieldValueTooLongException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldValueTooLongException
- FileParseException - Exception in org.apache.empire.exceptions
- FileParseException(String) - Constructor for exception org.apache.empire.exceptions.FileParseException
- FileParseException(String, Exception) - Constructor for exception org.apache.empire.exceptions.FileParseException
- FileReadException - Exception in org.apache.empire.exceptions
- FileReadException(String, Exception) - Constructor for exception org.apache.empire.exceptions.FileReadException
- FileWriteException - Exception in org.apache.empire.exceptions
- FileWriteException(String, Exception) - Constructor for exception org.apache.empire.exceptions.FileWriteException
- fillDataDictionnary(String, String, String, int, int, int, int, String) - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
- findBeanConstructor(Class<?>) - Method in class org.apache.empire.db.DBReader
-
Returns a constructor for a bean class for the set of parameters or null if no suitable constructor is found
- findBeanConstructor(Class<T>) - Static method in class org.apache.empire.db.list.DBBeanListFactoryImpl
- findBeanConstructor(Class<T>, List<? extends DBColumnExpr>) - Static method in class org.apache.empire.db.list.DBBeanListFactoryImpl
-
Finds a suitable constructor for the beanClass
- findByClass(Class<? extends DBDatabase>) - Static method in class org.apache.empire.db.DBDatabase
-
find a database by its Java type
- findByIdentifier(String) - Static method in class org.apache.empire.db.DBDatabase
-
find a database by id
- findColumn(String) - Method in class org.apache.empire.db.DBQuery
-
Deprecated.
- findColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBQuery
-
Deprecated.
- findConstraintOn(List<DBCompareExpr>, DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
finds a constraint on a particular column to the 'where' or 'having' collections
- findEntryConstructor(Class<?>, Class<? extends DataListHead>) - Static method in class org.apache.empire.data.list.DataListFactoryImpl
-
Finds a constructor for listEntryClass
- findFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBReader
-
finds the field Index of a given column expression Internally used as helper for getFieldIndex()
- findFirstChild(Node, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Finds the first (direct) child Element with a given tag name.
- findFirstChildDeep(Document, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Returns the first element which name matchtes a given tag name.
- findFirstChildDeep(Element, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Finds the first element which name matchtes a given tag name that is locacted anywhere below the given parent.
- findFirstChildWithAttrib(Node, String, String, Object) - Static method in class org.apache.empire.xml.XMLUtil
-
Finds the first (direct) child element with a given tag name and attribute.
- findInsertPos(String) - Method in class org.apache.empire.commons.Options
- findKeyWord(int) - Method in class org.apache.empire.commons.SqlFormat
- findMatchingConstructor(Class<T>, int, Class<?>...) - Static method in class org.apache.empire.commons.ClassUtils
-
copied from org.apache.commons.beanutils.ConstructorUtils since it's private there
- findNext(char, int) - Method in class org.apache.empire.commons.SqlFormat
- findNext(String, String, int) - Method in class org.apache.empire.commons.SqlFormat
- findRecordConstructor(Class<T>, Class<? extends DBContext>, Class<? extends DBRowSet>) - Static method in class org.apache.empire.db.list.DBRecordListFactoryImpl
-
Finds a constructor for recordClass
- findRelationsOn(DBTable) - Method in class org.apache.empire.db.DBDatabase
-
Returns a list of foreign key relations on a given table
- findViewColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBView
-
This function searches for equal columns given by the specified DBColumnExpr object.
- FLOAT - Enum constant in enum org.apache.empire.data.DataType
-
floating point value
- floor() - Method in class org.apache.empire.db.DBColumnExpr
-
Create and returns an expression for the SQL-function floor()
- format(String) - Static method in class org.apache.empire.commons.SqlFormat
-
Formats an sqlCmd using the current SQL formatter
- format(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Formats a column-expression using a format string This function is intended for formatting numbers.
- format(String, Object[]) - Static method in class org.apache.empire.commons.SqlFormat
-
Formats an sqlCmd using the current SQL formatter
- format(String, Object[], DataType[]) - Method in class org.apache.empire.commons.SqlFormat.DefaultSqlFormatter
- format(String, Object[], DataType[]) - Static method in class org.apache.empire.commons.SqlFormat
-
Formats an sqlCmd using the current SQL formatter
- format(String, Object[], DataType[]) - Method in interface org.apache.empire.commons.SqlFormat.SqlFormatter
- format(ErrorType, String, String[]) - Method in class org.apache.empire.exceptions.EmpireException.ExceptionMessageFormatter
- FORMAT_PATTERN_ISO_DATE - Static variable in class org.apache.empire.commons.DateUtils
- FORMAT_PATTERN_ISO_DATETIME - Static variable in class org.apache.empire.commons.DateUtils
- FORMAT_PATTERN_ISO_TIME - Static variable in class org.apache.empire.commons.DateUtils
- FORMAT_PATTERN_ISO_TIMESTAMP - Static variable in class org.apache.empire.commons.DateUtils
- FORMAT_PATTERN_ISO_TIMESTAMP6 - Static variable in class org.apache.empire.commons.DateUtils
- FORMAT_PATTERN_ISO_TIMESTAMP9 - Static variable in class org.apache.empire.commons.DateUtils
- formatColumnValue(ColumnExpr, Object, Locale) - Static method in class org.apache.empire.commons.ObjectUtils
-
Returns a formatted column value
- formatColumnValue(ColumnExpr, Object, Locale) - Method in class org.apache.empire.commons.ValueUtils
-
formats a column value into a string
- formatDate(LocalDate, Locale) - Static method in class org.apache.empire.commons.DateUtils
- formatDate(LocalDateTime, Locale) - Static method in class org.apache.empire.commons.DateUtils
- formatDate(Date, boolean) - Static method in class org.apache.empire.commons.ObjectUtils
-
Formats a given date object to a standard ISO date string.
- formatDate(Date, boolean) - Method in class org.apache.empire.commons.ValueUtils
-
Formats a given date object to a standard ISO date string.
- formatDate(Date, Locale) - Static method in class org.apache.empire.commons.DateUtils
- formatDateTime(LocalDateTime, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatDayOfWeek(int, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatDayOfWeek(Temporal, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatDayOfWeek(Date, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatErrorMessage(ErrorType, String, String[]) - Static method in exception org.apache.empire.exceptions.EmpireException
- formatMonth(int, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatMonth(Temporal, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatMonth(Date, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatParam(ErrorType, int, String) - Method in class org.apache.empire.exceptions.EmpireException.ExceptionMessageFormatter
- formatTime(Date, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- formatValue(ColumnExpr, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
Convert a non-string value to a string
- formatValue(ColumnExpr, Object) - Method in class org.apache.empire.data.list.DataListHead
-
Convert a non-string value to a string Overwrite this function in order to provide a locale
- formatValue(ColumnExpr, Object) - Method in class org.apache.empire.db.DBRecordData
-
Convert a non-string value to a string
- formatYear(Date, Locale) - Static method in class org.apache.empire.commons.DateUtils
- FROM - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- fromJavaType(Class<?>) - Static method in enum org.apache.empire.data.DataType
-
Returns the DataType from a given Java Type If the type is not mapped, then DataType.UNKNOWN is returned
- FULL - Enum constant in enum org.apache.empire.db.DBJoinType
-
SQL Full join
- FULL_JOIN - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- FULLTEXT - Enum constant in enum org.apache.empire.db.DBIndex.DBIndexType
- function - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
- function(String, DataType, Object...) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a function from an sql template The template may consist of the following placeholders: ?
G
- GENERAL_SQL_KEYWORDS - Static variable in class org.apache.empire.dbms.DBMSHandlerBase
- generateAlias(String) - Method in class org.apache.empire.db.DBQuery
-
Automatically generates a new alias for this Object
- generateAlias(String) - Method in class org.apache.empire.db.DBTable
-
Automatically generates a new alias for this Object
- generateAlias(String) - Method in class org.apache.empire.db.DBView
-
Automatically generates a new alias for this Object
- generateDDLScript(DBSQLScript) - Method in class org.apache.empire.db.DBDatabase
-
Override this to change or add DDL commands
- get(Object) - Method in class org.apache.empire.commons.Options
- get(String) - Method in class org.apache.empire.commons.Attributes
- get(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- get(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column .
- get(ColumnExpr) - Method in interface org.apache.empire.data.RecordData
-
returns the record value for a particular column
- get(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column .
- get(ColumnExpr, Class<V>) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- get(ColumnExpr, Class<V>) - Method in class org.apache.empire.data.list.DataListEntry
-
returns the record value for a particular column
- get(ColumnExpr, Class<V>) - Method in interface org.apache.empire.data.RecordData
-
returns the record value for a particular column
- get(ColumnExpr, Class<V>) - Method in class org.apache.empire.db.DBRecordData
-
returns the record value for a particular column
- getActive() - Method in class org.apache.empire.commons.Options
-
Returns the subset of active options
- getActiveCount() - Method in class org.apache.empire.commons.Options
-
Returns the number of active elements
- getAlias() - Method in class org.apache.empire.db.DBColumn
-
returns the qualified alias name for this column
- getAlias() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Not applicable - returns null
- getAlias() - Method in class org.apache.empire.db.DBQuery
-
not applicable - returns null
- getAlias() - Method in class org.apache.empire.db.DBRowSet
- getAlias() - Method in class org.apache.empire.db.DBTable
-
Returns the table alias name of this object.
- getAlias() - Method in class org.apache.empire.db.DBView
-
Returns the alias name of this object.
- getAllColumns() - Method in class org.apache.empire.db.DBRowSet
-
Returns an array of all columns of this rowset
- getAllRowSets() - Method in class org.apache.empire.db.DBDatabase
-
Returns all DBRowSet instances currently created for this database
- getArray(ColumnExpr...) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns an array of values for the given column expressions
- getArray(ColumnExpr...) - Method in class org.apache.empire.db.DBRecordData
-
Returns an array of values for the given column expressions
- getAttribute(String) - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns the value of a column attribute.
- getAttribute(String) - Method in interface org.apache.empire.data.ColumnExpr
-
Returns a metadata attribute.
- getAttribute(String) - Method in class org.apache.empire.db.DBColumn
- getAttribute(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the value of a column attribute.
- getAttribute(String) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Get Attributes of underlying table column.
- getAttribute(String) - Method in class org.apache.empire.db.DBQueryColumn
- getAttribute(String) - Method in class org.apache.empire.db.DBRowSet
-
Returns a named attribute for this table
- getAttribute(String) - Method in class org.apache.empire.db.DBView.DBViewColumn
- getAttribute(String) - Method in class org.apache.empire.db.expr.column.DBFuncExpr
- getAttribute(String, Class<T>) - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the value of a column attribute and converts it to the desired type
- getAttributes() - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns all metadata attributes.
- getAttributes() - Method in interface org.apache.empire.data.Column
-
Returns all metadata attributes.
- getAttributes() - Method in class org.apache.empire.db.DBColumn
-
Returns all metadata attributes.
- getAttributes() - Method in class org.apache.empire.db.DBRowSet
-
Returns all metadata attributes.
- getBean() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getBeanClass() - Method in class org.apache.empire.data.bean.BeanProperty
-
returns the bean class of this property.
- getBeanList(Class<T>) - Method in class org.apache.empire.db.DBReader
-
Returns the result of a query as a list of objects.
- getBeanList(Class<T>, int) - Method in class org.apache.empire.db.DBReader
-
Returns the result of a query as a list of objects.
- getBeanList(L, Class<T>, Object, int) - Method in class org.apache.empire.db.DBReader
-
Returns the result of a query as a list of objects restricted to a maximum number of objects (unless maxCount is -1).
- getBeanProperty(Object, String) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getBeanProperty(Object, ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getBeanPropertyName() - Method in class org.apache.empire.data.bean.BeanProperty
-
Gets the Java bean property name.
- getBeanPropertyName() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns the name of a Java bean property to which this column is mapped.
- getBeanPropertyName() - Method in class org.apache.empire.db.DBColumnExpr
-
Gets the Java bean property name for this column i.e.
- getBeanType() - Method in interface org.apache.empire.data.Entity
- getBeanType() - Method in class org.apache.empire.db.DBRowSet
-
returns the bean type for this rowset
- getBeanType() - Method in interface org.apache.empire.db.list.DBBeanListFactory
- getBeanType() - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
- getBoolean(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getBoolean(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getBoolean(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a boolean.
- getBoolean(Object, boolean) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a boolean.
- getBoolean(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getBoolean(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getBooleanType() - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- getCatalog() - Method in class org.apache.empire.db.validation.DBModelParser
- getCause(ReflectiveOperationException) - Static method in exception org.apache.empire.exceptions.BeanException
-
Returns the root cause of a ReflectiveOperationException such as InvocationTargetException
- getCharacterSet() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- getCharLength() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
- getChildText(Node, String) - Static method in class org.apache.empire.xml.XMLUtil
-
Returns the text value of a given child element.
- getClasses() - Method in class org.apache.empire.data.bean.BeanDomain
- getCmd() - Method in class org.apache.empire.db.DBCmdParam
-
Returns the command this parameter belongs to
- getCmd() - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
- getCmdColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommandExpr
-
wraps a column expression such that is specific for to this command and detached from its source.
- getCmdParamValue(Object) - Method in class org.apache.empire.db.DBCmdParam
-
Returns the internal parameter value for a given "real" value.
- getCmpOperator() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Gets the comparison operator
- getCollationSupport() - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Returns the support for collations
- getColumn() - Method in exception org.apache.empire.db.exceptions.FieldValueException
- getColumn() - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
- getColumn() - Method in class org.apache.empire.db.expr.set.DBSetExpr
- getColumn(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getColumn(int) - Method in class org.apache.empire.data.list.DataListEntry
- getColumn(int) - Method in interface org.apache.empire.data.Record
-
Overridden to change return type from ColumnExpr to Column
- getColumn(int) - Method in interface org.apache.empire.data.RecordData
-
returns the column expression for a given column This is the reverse operation of getFieldIndex()
- getColumn(int) - Method in class org.apache.empire.db.DBIndex
-
Returns the columns belonging to this index.
- getColumn(int) - Method in class org.apache.empire.db.DBReader
-
Get the column Expression at position
- getColumn(int) - Method in class org.apache.empire.db.DBRecordBase
-
Implements the Record Interface getColumn method.
Internally calls getDBColumn() - getColumn(int) - Method in class org.apache.empire.db.DBRowSet
-
Returns a DBColumn object by a specified index value.
- getColumn(String) - Method in interface org.apache.empire.data.Entity
- getColumn(String) - Method in class org.apache.empire.db.DBRowSet
-
Gets the column Expression with a particular name.
- getColumnAttribute(ColumnExpr, String) - Method in class org.apache.empire.commons.ColumnUtils
-
Returns the column attribute
- getColumnAutoValue(DBDatabase, DBTableColumn, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Returns an auto-generated value for a particular column
- getColumnAutoValue(DBDatabase, DBTableColumn, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Returns an auto-generated value for a particular column
- getColumnAutoValue(DBDatabase, DBTableColumn, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Returns an auto-generated value for a particular column
- getColumnCount() - Method in class org.apache.empire.db.DBIndex
-
Returns the number of columns belonging to this index.
- getColumnCount() - Method in class org.apache.empire.db.DBRowSet
-
Returns the number of columns in this rowset
- getColumnDefault(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
- getColumnDefault(ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
- getColumnExpr() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Gets the DBColumnExpr object
- getColumnExprAt(int) - Method in class org.apache.empire.db.DBQuery
- getColumnExprAt(int) - Method in class org.apache.empire.db.DBRowSet
-
Returns the column expression at a given column index Allow overrides in derived classes
- getColumnExprList() - Method in class org.apache.empire.db.DBReader
-
Access the column expression list
- getColumnIndex(String) - Method in class org.apache.empire.data.list.DataListHead
- getColumnIndex(ColumnExpr) - Method in class org.apache.empire.data.list.DataListHead
- getColumnIndex(ColumnExpr) - Method in class org.apache.empire.db.DBQuery
-
Gets the index of a particular column expression.
- getColumnIndex(ColumnExpr) - Method in class org.apache.empire.db.DBRowSet
-
Gets the index of a particular column expression.
- getColumnIndex(DBColumn) - Method in class org.apache.empire.db.DBQuery
- getColumnIndex(DBColumn) - Method in class org.apache.empire.db.DBRowSet
-
Gets the index of a particular column expression.
- getColumnJavaType(DBColumnExpr) - Method in class org.apache.empire.db.DBDatabase
-
Returns the java class type for a given dataType
- getColumnMaxLength(ColumnExpr) - Method in class org.apache.empire.commons.ColumnUtils
- getColumnNumberFormat(ColumnExpr, Locale) - Method in class org.apache.empire.commons.ColumnUtils
- getColumnPos(DBColumn) - Method in class org.apache.empire.db.DBExpressionIndex
-
Gets the position of a specified DBColumn object.
- getColumnPos(DBColumn) - Method in class org.apache.empire.db.DBIndex
-
Gets the position of a specified DBColumn object.
- getColumnReferences() - Method in class org.apache.empire.db.DBRowSet
-
Returns the a list of column references.
- getColumns() - Method in class org.apache.empire.data.bean.BeanClass
-
returns the list of key columns (if any)
- getColumns() - Method in interface org.apache.empire.data.Entity
- getColumns() - Method in class org.apache.empire.data.list.DataListHead
- getColumns() - Method in class org.apache.empire.db.DBIndex
-
Returns the columns belonging to this index.
- getColumns() - Method in class org.apache.empire.db.DBRowSet
-
Returns a list of all columns of this rowset (e.g. for cmd.select()).
- getColumnSequenceName(DBTableColumn) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Returns the sequence name of for a column of type AUTOINC The sequence name is usually provided as the default value If no Default value is provided the sequence name is generated from the table and the column name
- getColumnSize(ColumnExpr) - Method in class org.apache.empire.commons.ColumnUtils
-
Return the size of the column of 0.0d if unknown
- getColumnSize(DataType, ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
- getColumnSize(DataType, ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
- getColumnTitle(Column) - Static method in exception org.apache.empire.db.exceptions.FieldValueException
- getCommand() - Method in class org.apache.empire.data.bean.BeanResult
-
Returns the current command Used to add constraints, order, grouping etc.
- getCommandBeanListFactory(Class<T>, DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
gets or creates DBBeanListFactory for the given rowset
- getCommandExpr() - Method in class org.apache.empire.db.DBQuery
-
returns the underlying command expression
- getCommandFromExpression() - Method in class org.apache.empire.db.DBQuery
-
returns the command from the underlying command expression or throws an exception
- getComment() - Method in class org.apache.empire.db.DBColumn
-
Returns a comment describing the column in the data scheme.
- getComment() - Method in class org.apache.empire.db.DBRowSet
- getConnection() - Method in class org.apache.empire.db.context.DBContextBase
- getConnection() - Method in interface org.apache.empire.db.DBContext
- getConnection(boolean) - Method in class org.apache.empire.db.context.DBContextBase
- getConnection(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
- getContext() - Method in interface org.apache.empire.db.context.DBContextAware
- getContext() - Method in class org.apache.empire.db.DBReader
-
Returns the current Context
- getContext() - Method in class org.apache.empire.db.DBRecord
-
Returns the current Context
- getContext() - Method in class org.apache.empire.db.DBRecordBean
-
Returns the current Context
- getContext() - Method in class org.apache.empire.db.DBSQLScript
-
Returns the current Context
- getContext() - Method in class org.apache.empire.db.DBUtils
-
Returns the current Context
- getContext() - Method in class org.apache.empire.db.generic.TRecord
-
finally we know the Context class
- getControlType() - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns the columns control type.
- getControlType() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns the column's control type used for displaying and entering data.
- getControlType() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the column control type.
- getConvertPhrase(DataType, DataType, Object) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Returns a data type convertion phrase template for this dbms
The returned template must contain a '?' - getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- getCount() - Method in class org.apache.empire.db.DBSQLScript
-
Returns the number of statements in this script
- getCreateDDLScript(DBSQLScript) - Method in class org.apache.empire.db.DBDatabase
-
Creates a DDL Script for creating all database objects on the target database.
This function may be called even if the database has not been previously opened. - getDatabase() - Method in class org.apache.empire.db.DBCmdParam
- getDatabase() - Method in class org.apache.empire.db.DBColumn
- getDatabase() - Method in class org.apache.empire.db.DBCombinedCmd
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.DBCommand
- getDatabase() - Method in class org.apache.empire.db.DBDatabase
- getDatabase() - Method in class org.apache.empire.db.DBExpressionIndex
- getDatabase() - Method in class org.apache.empire.db.DBGeneratedValue
- getDatabase() - Method in class org.apache.empire.db.DBIndex
- getDatabase() - Method in interface org.apache.empire.db.DBMaterializedView
- getDatabase() - Method in class org.apache.empire.db.DBObject
-
Returns the database object to which this object belongs to.
- getDatabase() - Method in class org.apache.empire.db.DBReader
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.DBRecordBase
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.DBRelation
- getDatabase() - Method in class org.apache.empire.db.DBRowSet
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- getDatabase() - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
- getDatabase() - Method in class org.apache.empire.db.expr.set.DBSetExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.generic.TDatabase
-
finally we know the database type
- getDatabase() - Method in class org.apache.empire.db.generic.TTable
-
finally we know the database type
- getDatabase() - Method in class org.apache.empire.db.generic.TView
-
finally we know the database type
- getDatabase() - Method in class org.apache.empire.db.validation.DBModelParser
-
Returns the RemoteDatabase Only available after parseModel() is called
- getDatabase() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- getDatabase() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- getDatabase() - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- getDatabase(Class<T>) - Method in class org.apache.empire.data.list.DataListHead
-
Returns the database instance associated with this DataList (if any) The database is extracted from the column list
- getDatabaseName() - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- getDataLength() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
- getDataPrecision() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
- getDataScale() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
- getDataType() - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns the data type of the bean property.
- getDataType() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns the column's data type.
- getDataType() - Method in class org.apache.empire.db.DBCmdParam
-
Returns the data type of the command parameter
- getDataType() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the data type of this column expression.
- getDataType() - Method in class org.apache.empire.db.DBCombinedCmd
- getDataType() - Method in class org.apache.empire.db.DBCommand
- getDataType() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Returns the data type of the DBColumnExpr object.
- getDataType() - Method in class org.apache.empire.db.DBCommandExpr
-
Returns the DataType selected by this command if only one column is returned If the command has more than one select expression DataType.UNKNOWN will be returned
- getDataType() - Method in class org.apache.empire.db.DBQueryColumn
- getDataType() - Method in class org.apache.empire.db.DBTableColumn
-
Returns the data type.
- getDataType() - Method in class org.apache.empire.db.DBView.DBViewColumn
- getDataType() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Returns the data type of the DBColumnExpr object.
- getDataType() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Returns the data type of the DBColumnExpr object.
- getDataType() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Returns the data type: DBDataType.DECIMAL.
- getDataType() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- getDataType() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- getDataType() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
-
Returns the data type:
DataType.VARCHAR - getDataType() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns the data type: DT_INTEGER.
- getDataType() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Returns the data type of the DBColumnExpr object.
- getDataType() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Returns the data type of the DBColumnExpr object.
- getDataType() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns the data type of the DBColumnExpr object.
- getDataType() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- getDataType() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
- getDataType() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Returns the data type of the DBColumnExpr object.
- getDataType() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- getDataType() - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- getDate(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value as as a java.util.Date object The data value is converted to a Date if necessary.
- getDate(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value as as a java.util.Date object The data value is converted to a Date if necessary.
- getDate(int, int, int) - Static method in class org.apache.empire.commons.DateUtils
- getDate(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a Date.
- getDate(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value as as a java.util.Date object The data value is converted to a Date if necessary.
- getDate(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value as as a java.util.Date object The data value is converted to a Date if necessary.
- getDateFormatSymbols(Locale) - Static method in class org.apache.empire.commons.DateUtils
- getDateNow() - Static method in class org.apache.empire.commons.DateUtils
-
Returns the current date without time
- getDateOnly(Date) - Static method in class org.apache.empire.commons.DateUtils
- getDateTime(int) - Method in class org.apache.empire.db.DBRecordData
-
Deprecated.
- getDateTime(int, int, int, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
- getDateTime(int, int, int, int, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
- getDateTime(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Deprecated.
- getDateTimeString(Object, DBSqlPhrase, DBSqlPhrase, DBSqlPhrase) - Method in class org.apache.empire.db.DBSQLBuilder
-
encodes a Date value for an SQL command string.
- getDay() - Static method in class org.apache.empire.commons.DateUtils
- getDay(Date) - Static method in class org.apache.empire.commons.DateUtils
- getDayOfWeek() - Static method in class org.apache.empire.commons.DateUtils
- getDayOfWeek(Date) - Static method in class org.apache.empire.commons.DateUtils
- getDaysBetween(Date, Date) - Static method in class org.apache.empire.commons.DateUtils
- getDbms() - Method in class org.apache.empire.db.context.DBContextStatic
- getDbms() - Method in class org.apache.empire.db.DBCommandExpr
-
returns the DBMSHandler this command belongs to
- getDbms() - Method in interface org.apache.empire.db.DBContext
- getDbms() - Method in class org.apache.empire.db.DBDatabase
-
Returns the DBMS Handler for this database.
- getDbms() - Method in class org.apache.empire.db.DBSQLBuilder
- getDbms() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
returns the Database dbms or null if the Expression is not attached to an open database
This function is intended for convenience only. - getDDLGenerator() - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Returns the Postgres DDL Generator
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript.
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript.
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.HSqlDDLGenerator
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
- getDecimal(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getDecimal(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getDecimal(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a BigDecimal.
- getDecimal(Object, BigDecimal) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a BigDecimal.
- getDecimal(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getDecimal(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getDecimalScale() - Method in class org.apache.empire.db.DBTableColumn
-
Returns the scale of the Decimal or 0 if the DataType is not DataType.DECIMAL.
- getDefaultCascadeDeleteAction() - Method in class org.apache.empire.db.DBTable
-
returns the default cascade action for deletes on this table.
- getDefaultIdentifier() - Method in class org.apache.empire.db.DBDatabase
-
returns the default database identifier Override this to customize
- getDefaultSortOrder() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the default sort order FALSE is for ascending, TRUE for descending
- getDefaultValue() - Method in class org.apache.empire.db.DBTableColumn
-
Returns the default column value.
- getDelete(DBTable) - Method in class org.apache.empire.db.DBCommand
-
Creates a delete SQL-Statement
- getDictionnary() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
- getDocumentBuilder() - Static method in class org.apache.empire.xml.XMLUtil
-
Returns an initialzed, namespace aware DocumentBuilder.
- getDomain() - Method in class org.apache.empire.data.bean.BeanClass
-
returns the domain this class belongs to (if any)
- getDouble(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getDouble(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getDouble(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a double.
- getDouble(Object, double) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a double.
- getDouble(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getDouble(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getElementText(Node) - Static method in class org.apache.empire.xml.XMLUtil
-
Retrieves the text of a given element.
- getEmpireDataType(int) - Method in class org.apache.empire.db.validation.DBModelParser
- getEnableDisableStmt(boolean, DBContext) - Method in class org.apache.empire.db.DBRelation
-
Appends the required DLL command to enable or disable a foreign key constraint to the supplied DBDQLScript.
- getEngine() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Get the table engine that is used when creating new tables
- getEntity() - Method in class org.apache.empire.data.bean.BeanProperty
- getEntity() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getEntity() - Method in interface org.apache.empire.data.Column
-
Returns the EntityType that this Column belongs to
- getEntity() - Method in interface org.apache.empire.data.Record
-
Returns the entity this Record belongs to
- getEntity() - Method in class org.apache.empire.db.DBColumn
-
Returns the Entity Type Same as getRowSet()
- getEntity() - Method in class org.apache.empire.db.DBRecordBase
-
returns true if this record is a new record.
- getEntity() - Method in exception org.apache.empire.db.exceptions.RecordException
- getEntity(String) - Method in class org.apache.empire.data.bean.BeanDomain
- getEntity(String) - Method in interface org.apache.empire.data.EntityDomain
- getEntity(Record) - Static method in exception org.apache.empire.db.exceptions.RecordException
- getEntityName() - Method in class org.apache.empire.data.bean.BeanClass
-
returns the name of this class
- getEntityName() - Method in interface org.apache.empire.data.Entity
- getEntityName() - Method in class org.apache.empire.db.DBRowSet
-
Returns the entity name creating qualified names.
- getEntry(Object) - Method in class org.apache.empire.commons.Options
- getEntry(K) - Method in class org.apache.empire.commons.ArrayMap
- getEntryAt(int) - Method in class org.apache.empire.commons.Options
-
Gets the entry at index i
- getEnum(int, Class<T>) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value of a field as an enum For numeric columns the value is assumed to be an ordinal of the enumeration item For non numeric columns the value is assumed to be the name of the enumeration item
- getEnum(int, Class<T>) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value of a field as an enum For numeric columns the value is assumed to be an ordinal of the enumeration item For non numeric columns the value is assumed to be the name of the enumeration item
- getEnum(Class<T>, Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object to an enum of the given type
- getEnum(Column) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value of a field as an enum This assumes that the column attribute "enumType" has been set to an enum type For numeric columns the value is assumed to be an ordinal of the enumeration item
- getEnum(Column) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value of a field as an enum This assumes that the column attribute "enumType" has been set to an enum type For numeric columns the value is assumed to be an ordinal of the enumeration item
- getEnum(ColumnExpr, Class<T>) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value of a field as an enum For numeric columns the value is assumed to be an ordinal of the enumeration item For non numeric columns the value is assumed to be the name of the enumeration item
- getEnum(ColumnExpr, Class<T>) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value of a field as an enum For numeric columns the value is assumed to be an ordinal of the enumeration item For non numeric columns the value is assumed to be the name of the enumeration item
- getEnumByName(Class<T>, String) - Static method in class org.apache.empire.commons.ObjectUtils
-
find by name
- getEnumType() - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns the enum type for this column
- getEnumType() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns the enum type for this column
- getEnumType() - Method in class org.apache.empire.db.DBColumn
-
Returns the enum type for this column
- getEnumType() - Method in class org.apache.empire.db.DBQueryColumn
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Maybe an Enum...
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Returns the enum type of this Expression (if any)
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Not an Enum.
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
-
Returns the column enum type
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
-
Not an Enum.
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Not an Enum.
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBFuncExpr
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Returns the enum type of this Expression (if any)
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Returns null
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns the EnumType if the value is an Enum
- getEnumType() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- getEnumType() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Not an Enum.
- getEnumType() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- getEnumType() - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- getEnumValue(Enum<?>, boolean) - Static method in class org.apache.empire.commons.ObjectUtils
-
Convert Enum to Object
- getErrorCount() - Method in class org.apache.empire.db.validation.DBModelErrorLogger
- getErrorParams() - Method in exception org.apache.empire.exceptions.EmpireException
-
The message parameters for the message.
- getErrorType() - Method in exception org.apache.empire.exceptions.EmpireException
-
The type of error that occurred
- getExistingReferenceTables(Object[], DBContext) - Method in class org.apache.empire.db.DBTable
-
Returns a list of all tables that contain records which reference this record
- getExpr() - Method in class org.apache.empire.db.DBQueryColumn
- getExpr() - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Returns the wrapped expression
- getExpressions() - Method in class org.apache.empire.db.DBExpressionIndex
-
Returns the columnExpressions belonging to this index.
- getExpressions() - Method in class org.apache.empire.db.DBIndex
-
Returns the columnExpressions belonging to this index.
- getExprFromPhrase(DBSqlPhrase, Object[]) - Method in class org.apache.empire.db.DBColumnExpr
- getExprFromPhrase(DBSqlPhrase, Object[], DataType) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a new DBFuncExpr from a given SQL-PRHASE and optional additional parameters.
- getFactoryForType(Class<T>) - Static method in class org.apache.empire.db.list.DBBeanFactoryCache
-
Returns the DBRowSet instance assigned to a particular Java bean type
- getFieldCount() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getFieldCount() - Method in class org.apache.empire.data.list.DataListEntry
- getFieldCount() - Method in interface org.apache.empire.data.RecordData
-
returns the number of field available
- getFieldCount() - Method in class org.apache.empire.db.DBReader
-
returns the number of the elements of the colList array
- getFieldCount() - Method in class org.apache.empire.db.DBRecordBase
-
Returns the number of the columns.
- getFieldCount() - Method in class org.apache.empire.db.DBRecordData
- getFieldIndex(String) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getFieldIndex(String) - Method in class org.apache.empire.data.list.DataListEntry
- getFieldIndex(String) - Method in interface org.apache.empire.data.RecordData
-
returns the index of the column expression with the given name
- getFieldIndex(String) - Method in class org.apache.empire.db.DBReader
-
Returns the index value by a specified column name.
- getFieldIndex(String) - Method in class org.apache.empire.db.DBRecordBase
-
Returns the index value by a specified column name.
- getFieldIndex(String) - Method in class org.apache.empire.db.DBRecordData
- getFieldIndex(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getFieldIndex(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
- getFieldIndex(ColumnExpr) - Method in interface org.apache.empire.data.RecordData
-
returns the index of the given column expression Indexed operations provide better performance for bulk processing
- getFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBReader
-
Returns the index value by a specified DBColumnExpr object.
- getFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBRecordBase
-
Returns the index value by a specified DBColumnExpr object.
- getFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
- getFieldOptions(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getFieldOptions(Column) - Method in interface org.apache.empire.data.Record
-
returns the Options list for the given record field.
- getFieldOptions(Column) - Method in class org.apache.empire.db.DBRecordBase
-
Gets the possbile Options for a field in the context of the current record.
Same as getFieldOptions(DBColumn) - getFieldOptions(DBColumn) - Method in class org.apache.empire.db.DBRecordBase
-
Gets the possbile Options for a field in the context of the current record.
- getFields() - Method in class org.apache.empire.db.DBRecordBase
-
This function provides direct access to the record fields.
This method is used internally be the RowSet to fill the data. - getFieldValue(Class<?>, Object, String, boolean) - Static method in class org.apache.empire.commons.ClassUtils
-
Retrieve a field value using reflection
- getFieldValue(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
-
Retrieve a field value using reflection The field accessor must be public
- getFirstChild(Node) - Static method in class org.apache.empire.xml.XMLUtil
-
Gets the first (direct) child Element.
- getForeignKeyRelations() - Method in class org.apache.empire.db.DBTable
-
Returns a list of all foreign key relations for this table
- getForeignKeyTable() - Method in class org.apache.empire.db.DBRelation
-
Returns the table that is containing the foreign key (source table)
- getFormatter() - Static method in class org.apache.empire.commons.SqlFormat
-
Returns the current SLQ Formatter
- getFullName() - Method in class org.apache.empire.db.DBColumn
-
Returns the full qualified column name.
- getFullName() - Method in class org.apache.empire.db.DBIndex
-
Returns the full qualified table name.
- getFullName() - Method in interface org.apache.empire.db.DBMaterializedView
- getFullName() - Method in class org.apache.empire.db.DBRelation
-
Returns the full qualified table name.
- getFullName() - Method in class org.apache.empire.db.DBRowSet
-
Returns the full qualified name of the rowset.
- getFullName() - Method in class org.apache.empire.db.DBView
-
Returns the full qualified table name.
- getFuncName() - Method in enum org.apache.empire.dbms.DBSqlPhrase
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
returns the name of the function
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBConvertExpr
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBFuncExpr
- getFunctionName() - Method in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
- getGroup(OptionEntry) - Method in interface org.apache.empire.commons.Options.OptionGroupResolver
- getGroupBy() - Method in class org.apache.empire.db.DBCommand
-
Returns a copy of the defined where clauses.
- getHavingConstraints() - Method in class org.apache.empire.db.DBCommand
-
Returns a copy of the defined having clauses.
- getHead() - Method in class org.apache.empire.data.list.DataListEntry
- getIdentifier() - Method in class org.apache.empire.db.DBColumn
-
Gets an identifier for this RowSet Object
- getIdentifier() - Method in class org.apache.empire.db.DBDatabase
-
Returns the database instance identifier
- getIdentifier() - Method in class org.apache.empire.db.DBRowSet
-
Gets an identifier for this RowSet Object
- getIdentity() - Method in class org.apache.empire.db.DBRecord
-
Returns the record identity for tables which have a single numeric primary key like AUTOINC This method is provided for convenience in addition to the the getKey() method
- getIdentity() - Method in class org.apache.empire.db.DBRecordBean
-
Returns the record identity for tables which have a single numeric primary key like AUTOINC This method is provided for convenience in addition to the the getKey() method
- getIgnoreCaseExpr() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns an expression which ignores the case Only for case sensitive columns!
- getIgnoreCaseExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBDatabase
-
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)
- getIgnoreCaseExpr(DBColumnExpr) - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns an expression which ignores the case Only for case sensitive columns!
- getIgnoreCaseExpr(DBColumnExpr) - Method in interface org.apache.empire.dbms.DBMSHandler
-
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)
- getIgnoreCaseExpr(DBColumnExpr) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Returns an expression that ignores the case of a column expression Only for text columns.
- getImplemenationJarName(Class<?>) - Static method in class org.apache.empire.commons.ClassUtils
-
Returns the JAR name that contains the implementation of a specific class
- getImplemenationJarName(String) - Static method in class org.apache.empire.commons.ClassUtils
-
Returns the JAR name that contains the implementation of a specific class
- getImplementation() - Static method in class org.apache.empire.commons.BeanPropertyUtils
-
Returns the BeanUtils implementation
- getIndex(Object) - Method in class org.apache.empire.commons.Options
- getIndex(K) - Method in class org.apache.empire.commons.ArrayMap
- getIndexes() - Method in class org.apache.empire.db.DBTable
-
Returns the list of indexes (except the primary key).
- getInitialListCapacity(int) - Method in class org.apache.empire.db.DBUtils
-
Returns the initial array list capacity.
- getInputStream() - Method in class org.apache.empire.db.DBBlobData
-
Returns the inputStream with the binary data for the BLOB.
- getInsert() - Method in class org.apache.empire.db.DBCommand
-
Creates an insert SQL-Statement
- getInsertInto(DBTable) - Method in class org.apache.empire.db.DBCommandExpr
-
Create the insert into SQL-Command which copies data from a select statement to a destination table.
- getInsertInto(DBTable, List<DBColumnExpr>) - Method in class org.apache.empire.db.DBCommandExpr
-
Create the insert into SQL-Command which copies data from a select statement to a destination table.
- getInsertInto(DBTable, DBColumnExpr[], List<DBColumnExpr>) - Method in class org.apache.empire.db.DBCommandExpr
-
Create the insert into SQL-Command which copies data from a select statement to a destination table.
- getInstance() - Static method in class org.apache.empire.commons.ColumnUtils
- getInstance() - Static method in class org.apache.empire.db.DBXmlDictionary
- getInt(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getInt(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getInt(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getInt(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getInteger(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to an integer.
- getInteger(Object, int) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to an integer.
- getJavaType() - Method in class org.apache.empire.db.DBColumn
-
Returns the java type for this column
- getJavaType() - Method in class org.apache.empire.db.DBColumnExpr
-
returns a corresponding Java type for this expression
- getJoinConstraint() - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
- getJoins() - Method in class org.apache.empire.db.DBCommand
-
Returns a copy of the defined joins.
- getKey() - Method in class org.apache.empire.commons.ArrayMap.Entry
- getKey() - Method in class org.apache.empire.commons.ErrorType
-
Returns the error type key (might be used for internationalization).
- getKey() - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
Returns the array of primary key columns.
- getKey() - Method in interface org.apache.empire.data.Record
-
returns an array of key values which uniquely identify the record.
- getKey() - Method in class org.apache.empire.db.DBRecordBase
-
Returns a array of key columns by a specified DBRecord object.
- getKey() - Method in exception org.apache.empire.db.exceptions.RecordException
- getKey(Record) - Static method in exception org.apache.empire.db.exceptions.RecordException
- getKeyColumns() - Method in class org.apache.empire.data.bean.BeanClass
-
returns the list of key columns (if any)
- getKeyColumns() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getKeyColumns() - Method in interface org.apache.empire.data.Entity
- getKeyColumns() - Method in interface org.apache.empire.data.Record
-
returns an array of key columns which uniquely identify the record.
- getKeyColumns() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Prints the error message: ERR_NOTSUPPORTED.
- getKeyColumns() - Method in class org.apache.empire.db.DBQuery
- getKeyColumns() - Method in class org.apache.empire.db.DBRecordBase
-
returns an array of key columns which uniquely identify the record.
- getKeyColumns() - Method in class org.apache.empire.db.DBRowSet
- getKeyColumns() - Method in class org.apache.empire.db.DBTable
-
Returns an array of all primary key columns.
- getKeyColumns() - Method in class org.apache.empire.db.DBView
-
Returns an array of all key columns.
- getKeyConstraints(Object[]) - Method in class org.apache.empire.db.DBRowSet
-
Set the constraints for a single record from a supplied key
- getLeft() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- getLeft() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
returns the left join expression
- getLeftTable() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
- getLeftTable() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
returns the RowSet on the left of the join
- getLeftTable() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
returns the RowSet on the left of the join
- getLength() - Method in class org.apache.empire.db.DBBlobData
-
Returns the length of the BLOB data in bytes.
- getLength() - Method in class org.apache.empire.db.DBClobData
-
Returns the length of the CLOB data in characters.
- getLinkName() - Method in class org.apache.empire.db.DBDatabase
-
Returns the database link name.
- getLocalDate(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getLocalDate(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getLocalDate(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a LocalDate.
- getLocalDate(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getLocalDate(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getLocalDateFormatter(Locale) - Static method in class org.apache.empire.commons.DateUtils
- getLocalDateTime(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getLocalDateTime(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getLocalDateTime(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a LocalDateTime.
- getLocalDateTime(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getLocalDateTime(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getLocalDateTimeFormatter(Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
- getLong(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getLong(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getLong(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a long.
- getLong(Object, long) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a long.
- getLong(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getLong(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getMaxLength(ColumnExpr) - Static method in class org.apache.empire.commons.ColumnUtils
-
Return the maximum character length of a columnExpr
- getMaxValue(ColumnExpr) - Static method in class org.apache.empire.commons.ColumnUtils
-
Returns the maximum allowed value
- getMessageFormatter() - Static method in exception org.apache.empire.exceptions.EmpireException
- getMessagePattern() - Method in class org.apache.empire.commons.ErrorType
-
Returns the message pattern.
- getMinLength(ColumnExpr) - Static method in class org.apache.empire.commons.ColumnUtils
-
Returns the minimum length, usually 0
- getMinValue(ColumnExpr) - Static method in class org.apache.empire.commons.ColumnUtils
-
Returns the maximum allowed value or 0 if not set
- getMonth() - Static method in class org.apache.empire.commons.DateUtils
- getMonth(Date) - Static method in class org.apache.empire.commons.DateUtils
- getName() - Method in class org.apache.empire.commons.Attributes.Attribute
- getName() - Method in class org.apache.empire.data.bean.BeanDomain
- getName() - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns the name of the property.
- getName() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns the physical column name.
- getName() - Method in class org.apache.empire.db.DBColumn
-
Returns the column name.
- getName() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the column name for this column expression.
- getName() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Not applicable - returns null
- getName() - Method in class org.apache.empire.db.DBIndex
-
Returns the primary key name.
- getName() - Method in class org.apache.empire.db.DBQuery
-
not applicable - returns null
- getName() - Method in class org.apache.empire.db.DBRelation
-
Returns the name.
- getName() - Method in class org.apache.empire.db.DBRowSet
- getName() - Method in class org.apache.empire.db.DBTable
-
Returns the table name of this object.
- getName() - Method in class org.apache.empire.db.DBView
-
Returns the view name of this object.
- getName() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Returns the column name.
- getName() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
This helper function returns the alias name.
- getName() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Returns the given expression name.
- getName() - Method in class org.apache.empire.db.expr.column.DBCaseMapExpr
- getName() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
- getName() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- getName() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
-
Returns the column name.
- getName() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
- getName() - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
- getName() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns the String "count".
- getName() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
This helper function returns the alias name.
- getName() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Returns the column name.
- getName() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns the column name.
- getName() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- getName() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Returns the column name.
- getName() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- getName() - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- getNamespace() - Method in class org.apache.empire.commons.Attributes.Attribute
- getNamespaceURI(Document, String) - Static method in class org.apache.empire.xml.XMLUtil
- getNativeErrorMessage() - Method in exception org.apache.empire.db.exceptions.EmpireSQLException
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Returns the next value of a named sequence The numbers are used for fields of type DBExpr.DT_AUTOINC.
If a dbms supports this function it must return true for isSupported(DBMSFeature.SEQUENCES). - getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Returns an expression for creating a sequence value.
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- getNextSiblingElement(Element, boolean) - Static method in class org.apache.empire.xml.XMLUtil
-
Returns the next sibling Element for an element, optionally matching tag names.
- getNextValue(String, long, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
- getNormalizedColumn() - Method in class org.apache.empire.db.DBColumn
-
Returns the normalized column for the columnExpr (if any)
- getNullable() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
- getNullExpr() - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value expression for NULL
- getNullType(DBCmpType) - Static method in enum org.apache.empire.db.DBCmpType
- getNumberFormat(ColumnExpr, Locale) - Static method in class org.apache.empire.commons.ColumnUtils
-
Returns the number format for a particular columnExpr
- getNumberString(Object, DataType) - Method in class org.apache.empire.db.DBSQLBuilder
-
encodes a numeric value for an SQL command string.
- getNumberType(ColumnExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the number type assigned to this column expression
- getNumParams() - Method in class org.apache.empire.commons.ErrorType
-
Returns the number of parameters required for the message pattern.
- getObject() - Method in interface org.apache.empire.db.context.DBRollbackHandler
- getObject() - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
- getObjectInfo() - Method in interface org.apache.empire.db.context.DBRollbackHandler
- getObjectInfo() - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
- getObjectOwner() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- getObjectStringifier() - Static method in class org.apache.empire.commons.StringUtils
- getOnDeleteAction() - Method in class org.apache.empire.db.DBRelation
-
return the action to perform when deleting affected records.
- getOptimizerHint() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- getOptionGroupResolver() - Method in class org.apache.empire.commons.Options
-
Returns the function that determines the group to which an option entry belongs.
- getOptions() - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns the list of options for this column containing all allowed field values.
- getOptions() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns an option set with possible column values and their corresponding display text.
- getOptions() - Method in class org.apache.empire.db.DBColumn
- getOptions() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the list of options for this column containing all possible field values.
- getOptions() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Get Options of underlying table column.
- getOptions() - Method in class org.apache.empire.db.DBIndex
-
Returns additional database specific index options
- getOptions() - Method in class org.apache.empire.db.DBQueryColumn
- getOptions() - Method in class org.apache.empire.db.DBView.DBViewColumn
- getOrderBy() - Method in class org.apache.empire.db.DBCommandExpr
-
Returns a copy of the defined order-bys.
- getOuterTable() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Returns the left table name if the data type= JOIN_LEFT and returns the right table if the data type= JOIN_RIGHT.
- getOuterTable() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
Returns the left table name if the data type= JOIN_LEFT and returns the right table if the data type= JOIN_RIGHT.
- getOuterTable() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
Returns the left table name if the data type= JOIN_LEFT and returns the right table if the data type= JOIN_RIGHT.
- getParameterTypes(Constructor<?>) - Static method in class org.apache.empire.db.list.DBBeanListFactoryImpl
- getParamExpr(DBCmdParam) - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value expression for a command parameter
- getParams() - Method in class org.apache.empire.db.DBCombinedCmd
- getParams() - Method in class org.apache.empire.db.DBCommand
- getParams() - Method in class org.apache.empire.db.DBCommandExpr
- getParams() - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
- getParams() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
return the value associated with this value expression
- getParams() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- getParamValues() - Method in class org.apache.empire.db.DBCmdParamList
- getParamValues() - Method in class org.apache.empire.db.DBCombinedCmd
-
Returns the list of parameter values for a prepared statement.
- getParamValues() - Method in class org.apache.empire.db.DBCommand
-
Returns an array of parameter values for a prepared statement.
- getParamValues() - Method in class org.apache.empire.db.DBCommandExpr
-
returns an array holding all parameter values in the order of their occurrence.
- getParamValues() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- getPatternFormatter(String) - Static method in class org.apache.empire.commons.DateUtils
- getPhrase() - Method in class org.apache.empire.db.expr.column.DBFuncExpr
- getPhrase(DBSqlPhrase) - Method in class org.apache.empire.db.DBSQLBuilder
- getPrimaryKey() - Method in class org.apache.empire.db.DBTable
-
Returns the primary key.
- getPrivateFieldValue(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
-
Retrieve a field value using reflection
- getProperties() - Method in class org.apache.empire.data.bean.BeanClass
-
returns the list of properties for this class.
- getProperty(Object, String) - Method in class org.apache.empire.commons.BeanPropertyUtils.BeanPropertyUtilsImpl
- getProperty(Object, String) - Static method in class org.apache.empire.commons.BeanPropertyUtils
-
Returns the property of a bean by calling the correponding getter function
- getQueryColumnExpr(int) - Method in class org.apache.empire.db.DBQuery
-
Returns the query column expression at a given index
- getQueryColumnExprs() - Method in class org.apache.empire.db.DBQuery
-
Returns the select expressions of the underlying query
- getQueryColumnIndex(ColumnExpr) - Method in class org.apache.empire.db.DBQuery
-
Returns the index of a column in the underlying query
- getQueryColumns() - Method in class org.apache.empire.db.DBQuery
-
Deprecated.
- getReader() - Method in class org.apache.empire.db.DBClobData
-
Get the Reader for the large string
- getRecordData(DBCommandExpr) - Method in class org.apache.empire.db.DBReader
-
Opens the reader by executing the given SQL command and moves to the first row.
If true is returned data of the row can be accessed through the functions on the RecordData interface.
This function is intended for single row queries and provided for convenience.
However it behaves exacly as calling reader.open() and reader.moveNext() - getRecordDefaultValue(Record, Connection) - Method in class org.apache.empire.db.DBTableColumn
-
Returns the default column value.
- getRecordId(Entity) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the record id for a type of entity which has a single numeric primary key
- getRecordId(Entity) - Method in class org.apache.empire.db.DBReader
-
Returns the record id for a type of entity which has a single numeric primary key
- getRecordKey(Entity) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the record key for a type of entity
- getRecordKey(Entity) - Method in class org.apache.empire.db.DBReader
-
Returns the record key for a type of entity
- getRecordKey(DBRecordBase) - Method in class org.apache.empire.db.DBQuery
-
Returns the record key for a given record.
- getReference() - Method in class org.apache.empire.db.DBCmdParam
-
Returns the reference object associated with this param
- getReferencedTable() - Method in class org.apache.empire.db.DBRelation
-
Returns the table that is referenced by this foreign key relation (target table)
- getReferences() - Method in class org.apache.empire.db.DBRelation
-
Returns the references.
- getRegExPattern() - Method in class org.apache.empire.db.DBColumn
-
Returns the maximum allowed value
- getRelation(String) - Method in class org.apache.empire.db.DBDatabase
-
Returns the relation of a given name
- getRelations() - Method in class org.apache.empire.db.DBDatabase
-
Returns the relations which have been defined in the database.
- getRemoteDatabase() - Method in class org.apache.empire.db.validation.DBModelChecker
-
Returns the RemoteDatabase Only available after parseModel() is called
- getRenameTablePhrase() - Method in class org.apache.empire.db.DBRowSet
-
Returns the sql phrase for renaming tables.
- getResultSet() - Method in class org.apache.empire.db.DBReader
-
Access the JDBC-ResultSet
- getResultValue(ResultSet, int, DataType) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Reads a single column value from the given JDBC ResultSet and returns a value object of desired data type.
- getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Reads a single column value from the given JDBC ResultSet and returns a value object of desired data type.
This gives the dbms the opportunity to change the value i.e. to simulate missing data types with other types. - getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Gets the value of a sql ResultSet.
- getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Postgre needs special handling for CLOBs and BLOB's
- getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
- getRight() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- getRight() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
returns the right join expression
- getRightTable() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
returns the RowSet on the right of the join
- getRightTable() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
returns the RowSet on the right of the join
- getRightTable() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
returns the RowSet on the right of the join
- getRollbackManager(boolean) - Method in class org.apache.empire.db.context.DBContextBase
- getRollbackManager(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
- getRootNode() - Method in class org.apache.empire.xml.XMLConfiguration
-
returns the configuration root element or null if init() has not been called.
- getRowElementName() - Method in class org.apache.empire.db.DBXmlDictionary
- getRowIdColumnAttribute() - Method in class org.apache.empire.db.DBXmlDictionary
- getRownum() - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the row-number This works only, if the row number has been set in the constructor
- getRowSet() - Method in class org.apache.empire.db.DBColumn
-
Returns DBTable, DBQuery or DBView object.
- getRowSet() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the underlying rowset containing this column For functions involving none or more than one physical column this function return the first one
- getRowSet() - Method in class org.apache.empire.db.DBRecord
-
Returns the DBRowSet object.
- getRowSet() - Method in class org.apache.empire.db.DBRecordBase
-
Returns the DBRowSet object.
- getRowSet() - Method in class org.apache.empire.db.DBRecordBean
-
Returns the DBRowSet object.
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Returns the underlying rowset
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Returns the underlying rowset
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Returns the underlying rowset
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
-
Returns the underlying rowset
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns the underlying rowset
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Returns the underlying rowset
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Returns null.
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns null.
- getRowSet() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
-
Returns the underlying rowset
- getRowSet() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
Returns the underlying rowset containing this column
- getRowSet() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Returns the underlying rowset containing this column
- getRowSet() - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
-
Returns the underlying rowset containing this column For functions involving none or more than one physical column this function return the first one
- getRowSet() - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Returns the underlying rowset containing this column
- getRowSet() - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- getRowSet() - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
-
Returns the underlying rowset containing this column
- getRowSet() - Method in class org.apache.empire.db.generic.TRecord
-
finally we know the RowSet class
- getRowSet() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Returns null.
- getRowSet() - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- getRowSet() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- getRowSet() - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- getRowSet(String) - Method in class org.apache.empire.db.DBDatabase
-
Finds a DBRowSet object (DBTable or DBView) by name.
- getRowsetBeanListFactory(Class<T>, DBRowSet) - Method in class org.apache.empire.db.DBUtils
-
gets or creates DBBeanListFactory for the given rowset
- getRowSetByAlias(String) - Method in class org.apache.empire.db.DBDatabase
-
Finds a RowSet object by the alias name.
- getRowsetData(DBRecordBase) - Method in class org.apache.empire.db.DBRowSet
-
Returns additional data stored on a record by the RowSet
- getRowSetElementName() - Method in class org.apache.empire.db.DBXmlDictionary
- getRowSetList() - Method in class org.apache.empire.db.DBCommand
-
Gets a list of all tables referenced by the query.
- getSchema() - Method in class org.apache.empire.db.DBDatabase
-
Returns the schema for SQL statements.
- getSchema() - Method in class org.apache.empire.db.validation.DBModelParser
- getSchemaName() - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- getSchemaName() - Method in class org.apache.empire.dbms.oracle.OracleDBModelParser
- getSchemaPrefix() - Method in class org.apache.empire.db.DBDatabase
-
Returns the schema-prefix for SQL statements e.g.
- getScrollable() - Method in class org.apache.empire.db.DBReader
- getSelect() - Method in class org.apache.empire.db.DBCommandExpr
-
returns an SQL select command for querying records.
- getSelect(int) - Method in class org.apache.empire.db.DBCommandExpr
-
returns an SQL select command for querying records.
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.db.DBCombinedCmd
-
Creates the SQL-Command.
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.db.DBCommand
-
Creates a select SQL-Statement
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.db.DBCommandExpr
-
returns an SQL select command
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
-
Creates an Oracle specific select statement that supports special features of the Oracle DBMS like e.g.
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- getSelect(DBSQLBuilder, int) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- getSelectExpressions() - Method in class org.apache.empire.db.DBCombinedCmd
-
Returns all select expressions as unmodifiable list
- getSelectExpressions() - Method in class org.apache.empire.db.DBCommand
-
Returns all select expressions as unmodifiable list
- getSelectExpressions() - Method in class org.apache.empire.db.DBCommandExpr
-
returns a list of expressions for the SELECT part of the sql statement
- getSelectExprList() - Method in class org.apache.empire.db.DBCombinedCmd
-
Calls the method dbDBCommandExpr.getSelectExprList from the private variable 'left'.
- getSelectExprList() - Method in class org.apache.empire.db.DBCommand
-
Returns an array of all select expressions
- getSelectExprList() - Method in class org.apache.empire.db.DBCommandExpr
-
Returns the list of all select expressions as an array Used internally only
- getSequenceTableName() - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
returns the name of the sequence table
- getSequenceTableName() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
returns the name of the sequence table
- getSequenceTableName() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
returns the name of the sequence table
- getSequenceTableName() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
returns the name of the sequence table
- getSetExpressions() - Method in class org.apache.empire.db.DBCommand
-
Returns all set expressions as unmodifiable list
- getSize() - Method in class org.apache.empire.data.bean.BeanProperty
- getSize() - Method in interface org.apache.empire.data.Column
-
Returns the maximum size a value for this column is allowed to have.
- getSize() - Method in class org.apache.empire.db.DBColumn
-
Returns the size of the column.
- getSize() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Not applicable - always returns 0.
- getSize() - Method in class org.apache.empire.db.DBQueryColumn
- getSize() - Method in class org.apache.empire.db.DBTableColumn
-
Gets the the column width.
- getSize() - Method in class org.apache.empire.db.DBView.DBViewColumn
- getSortExpr() - Method in class org.apache.empire.db.DBColumn
-
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.
- getSourceColumn() - Method in class org.apache.empire.data.bean.BeanProperty
-
Deprecated.
- getSourceColumn() - Method in interface org.apache.empire.data.ColumnExpr
-
Deprecated.
- getSourceColumn() - Method in class org.apache.empire.db.DBColumnExpr
-
Deprecated.
- getSourceColumn() - Method in class org.apache.empire.db.DBRelation.DBReference
- getSourceColumnExpr() - Method in class org.apache.empire.db.DBView.DBViewColumn
- getSourceColumnExpr(Collection<?>, Object) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- getSQL() - Method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- getSqlDefault() - Method in enum org.apache.empire.dbms.DBSqlPhrase
- getSQLPhrase(DBSqlPhrase) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Returns an sql phrase template for this database system.
Templates for sql function expressions must contain a '?' - getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
Gets an sql phrase template for this database system.
- getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
Gets an sql phrase template for this database system.
- getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
-
Gets an sql phrase template for this database system.
- getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Gets an sql phrase template for this database system.
- getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Gets an sql phrase template for this database system.
- getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Gets an sql phrase template for this database system.
- getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
-
Gets an sql phrase template for this database system.
- getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Gets an sql phrase template for this database system.
- getState() - Method in class org.apache.empire.db.DBRecordBase
-
Returns the record state.
- getStmt(int) - Method in class org.apache.empire.db.DBSQLScript
-
Returns the statement command at the given index
- getStmtParams(int) - Method in class org.apache.empire.db.DBSQLScript
-
Returns the statement command at the given index
- getString(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value identified by the column index.
- getString(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value identified by the column index.
- getString(Enum<?>) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an Enum to a String
- getString(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an Object to a String
- getString(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns a data value for the desired column.
- getString(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns a data value for the desired column.
- getSystemDateExpr() - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value object for the database systems current date and time.
- getTable() - Method in class org.apache.empire.db.DBIndex
-
returns the table this index belongs to.
- getTable() - Method in class org.apache.empire.db.expr.set.DBSetExpr
-
Returns the current Table object.
- getTable(String) - Method in class org.apache.empire.db.DBDatabase
-
Finds a DBTable object by name.
- getTable(String) - Method in class org.apache.empire.db.validation.DBModelParser
- getTables() - Method in class org.apache.empire.db.DBDatabase
-
Returns the tables which have been defined in the database.
- getTables() - Method in class org.apache.empire.db.validation.DBModelParser
- getTargetColumn() - Method in class org.apache.empire.db.DBRelation.DBReference
- getText() - Method in class org.apache.empire.commons.OptionEntry
- getText(int, Object) - Method in class org.apache.empire.data.list.DataListHead
-
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
- getText(String) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
- getText(String) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
- getText(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
- getText(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
- getText(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
- getTextAt(int) - Method in class org.apache.empire.commons.Options
-
Gets the text of the entry at index i
- getTimeNow() - Static method in class org.apache.empire.commons.DateUtils
-
Returns the current date and time
- getTimeOnly(Date) - Static method in class org.apache.empire.commons.DateUtils
- getTimestamp() - Static method in class org.apache.empire.commons.DateUtils
-
Returns a Timestamp for now() The timstamp's nano seconds will be limited to 6 digits!
- getTimestamp(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value as as a java.sql.Timestamp object
- getTimestamp(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value as as a java.sql.Timestamp object
- getTimestamp(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an object value to a LocalDateTime.
- getTimestamp(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the value as as a java.sql.Timestamp object
- getTimestamp(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns the value as as a java.sql.Timestamp object
- getTimestampColumn() - Method in class org.apache.empire.db.DBRowSet
- getTitle() - Method in class org.apache.empire.data.bean.BeanProperty
-
Returns the title attribute.
- getTitle() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns the column's display title.
- getTitle() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the title attribute.
- getType() - Method in class org.apache.empire.db.DBIndex
-
Returns the index type.
- getType() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
returns the join type for this join
- getTypeName(Object) - Static method in exception org.apache.empire.exceptions.BeanException
- getUpdate() - Method in class org.apache.empire.db.DBCommand
-
Creates an update SQL-Statement
- getUpdateColumn() - Method in class org.apache.empire.data.bean.BeanProperty
- getUpdateColumn() - Method in interface org.apache.empire.data.ColumnExpr
-
Returns the underlying source column (if any).
- getUpdateColumn() - Method in class org.apache.empire.db.DBColumn
-
Returns itself as the underlying column.
- getUpdateColumn() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns the underlying physical column.
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Returns the DBColunm object.
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Returns the DBColunm object.
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Returns the underlying column
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
-
Returns the underlying column
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns the underlying column
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Returns the DBColunm object.
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Returns null.
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Returns null.
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
-
Returns the underlying column
- getUpdateColumn() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Returns null.
- getUpdateColumn() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- getUpdateColumn() - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- getUpdateTimestamp(Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Returns a DMBS-Timestamp that is used for record updates.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Returns a timestamp that is used for record updates.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Overridden.
- getUtils() - Method in class org.apache.empire.db.context.DBContextBase
- getUtils() - Method in interface org.apache.empire.db.DBContext
- getValue() - Method in class org.apache.empire.commons.ArrayMap.Entry
- getValue() - Method in class org.apache.empire.commons.Attributes.Attribute
- getValue() - Method in class org.apache.empire.commons.OptionEntry
- getValue() - Method in class org.apache.empire.db.DBCmdParam
-
Returns the current value of the parameter.
- getValue() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
return the value associated with this value expression
- getValue() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Gets the value to compare the column expression with
- getValue() - Method in class org.apache.empire.db.expr.set.DBSetExpr
- getValue(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getValue(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns the raw field value based on the field index.
- getValue(int) - Method in interface org.apache.empire.data.RecordData
-
Returns the raw field value based on the field index.
- getValue(int) - Method in class org.apache.empire.db.DBReader
-
Returns a data value identified by the column index.
- getValue(int) - Method in class org.apache.empire.db.DBRecordBase
-
Returns the value for the given column or null if either the index is out of range or the value is not valid (see
DBRecordBase.isValueValid(int)) - getValue(int) - Method in class org.apache.empire.db.DBRecordData
-
Returns the raw field value based on the field index.
- getValue(int, Class<V>) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- getValue(int, Class<V>) - Method in class org.apache.empire.data.list.DataListEntry
-
returns the record value for a particular column
- getValue(int, Class<V>) - Method in interface org.apache.empire.data.RecordData
-
returns the record value for a particular column
- getValue(int, Class<V>) - Method in class org.apache.empire.db.DBRecordData
-
returns the record value for a particular column
- getValueAt(int) - Method in class org.apache.empire.commons.Options
-
Gets the value of the entry at index i
- getValueExpr(boolean) - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value object for the given boolean value.
- getValueExpr(int) - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value object for the given integer value.
- getValueExpr(long) - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value object for the given long value.
- getValueExpr(Object, DataType) - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value object for the given scalar value.
- getValueExpr(String) - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value object for the given string value.
- getValueExpr(BigDecimal) - Method in class org.apache.empire.db.DBDatabase
-
Creates and returns a value object for the given string value.
- getValueExpr(DBDatabase) - Method in class org.apache.empire.db.DBCmdParam
-
Returns a value expression for this param
- getValues() - Method in class org.apache.empire.commons.Options
-
Returns all values as a set
- getValues(boolean) - Method in class org.apache.empire.commons.Options
-
Returns all values as a set
- getValueString() - Method in class org.apache.empire.commons.OptionEntry
-
Gets the value as string
- getValueUtils() - Static method in class org.apache.empire.commons.ObjectUtils
- getView() - Method in class org.apache.empire.db.DBView.DBViewColumn
- getView(String) - Method in class org.apache.empire.db.DBDatabase
-
Finds a DBView object by name.
- getViews() - Method in class org.apache.empire.db.DBDatabase
-
Returns the views which have been defined in the database.
- getWarnCount() - Method in class org.apache.empire.db.validation.DBModelErrorLogger
- getWeekOfYear(Date, Locale) - Static method in class org.apache.empire.commons.DateUtils
- getWhere() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Returns any additional constraints to the join
- getWhereConstraints() - Method in class org.apache.empire.db.DBCommand
-
Returns a copy of the defined where clauses.
- getXmlDictionary() - Method in class org.apache.empire.db.DBReader
-
returns the DBXmlDictionary that should used to generate XMLDocuments
- getXmlDictionary() - Method in class org.apache.empire.db.DBRecordBase
-
returns the DBXmlDictionary that should used to generate XMLDocuments
- getXmlDocument() - Method in class org.apache.empire.db.DBReader
-
Returns a XML document with the field description an values of this record.
- getXmlDocument() - Method in class org.apache.empire.db.DBRecordBase
-
Returns a XML document with the field description an values of this record.
- getXmlDocument() - Method in class org.apache.empire.db.DBRecordData
- getYear() - Static method in class org.apache.empire.commons.DateUtils
- getYear(Date) - Static method in class org.apache.empire.commons.DateUtils
- GREATERTHAN - Enum constant in enum org.apache.empire.db.DBCmpType
- GROUP_BY - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- groupAll() - Method in class org.apache.empire.db.DBCommand
-
Adds all select expressions which are not aggregates to the Group By clause
- groupBy - Variable in class org.apache.empire.db.DBCommand
- groupBy(Collection<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBCommand
-
Adds a collection of columns to the Group By clause of an sql statement.
- groupBy(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds a column expression to the Group By clause of an sql statement.
- groupBy(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of columns to the Group By clause of an sql statement.
H
- H2DDLGenerator - Class in org.apache.empire.dbms.h2
- H2DDLGenerator(DBMSHandlerH2) - Constructor for class org.apache.empire.dbms.h2.H2DDLGenerator
- handleQueryNoResult(DBCommandExpr, Class<?>) - Method in class org.apache.empire.db.DBUtils
-
Called when a query has no result
- handlerFromObject(DBObject) - Static method in exception org.apache.empire.db.exceptions.EmpireSQLException
- has(int, int) - Static method in class org.apache.empire.commons.ClassUtils.Copy
- has(Object) - Method in class org.apache.empire.commons.Options
-
same as contains(), but IDE may not issue warning
- hasAggegation() - Method in class org.apache.empire.db.DBCommand
-
Checks whether or not there are any aggregate functions in the Select
- hasConstraintOn(DBRowSet) - Method in class org.apache.empire.db.DBCommand
-
Returns true if the command has a constraint on the given table or false otherwise.
- hasExistingReferences(Object[], DBContext) - Method in class org.apache.empire.db.DBTable
-
Determines whether a record is references by other records through a foreign-key relation or not
- hasField(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
- hasGroupBy() - Method in class org.apache.empire.db.DBCommand
-
Returns whether or not the command has group by set
- hasHavingConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
Checks whether the command has a constraint on a particular column expression
- hasHavingConstraints() - Method in class org.apache.empire.db.DBCommand
-
Returns true if the command has having-constraints or false if not.
- hashCode() - Method in class org.apache.empire.commons.ArrayMap.Entry
- hashCode() - Method in class org.apache.empire.db.DBColumn
- hashCode() - Method in class org.apache.empire.db.DBRowSet
-
Custom serialization for transient database.
- hasJoinOn(DBColumn) - Method in class org.apache.empire.db.DBCommand
-
Returns true if the command has a join on the given column or false otherwise.
- hasJoinOn(DBRowSet) - Method in class org.apache.empire.db.DBCommand
-
Returns true if the command has a join on the given table or false otherwise.
- hasNext() - Method in class org.apache.empire.db.DBReader.DBReaderForwardIterator
-
Implements the Iterator Interface.
- hasNext() - Method in class org.apache.empire.db.DBReader.DBReaderScrollableIterator
-
Implements the Iterator Interface.
- hasOrderBy() - Method in class org.apache.empire.db.DBCommandExpr
-
Returns whether or not the command has order by set
- hasProperty(Object, String, boolean) - Method in class org.apache.empire.commons.BeanPropertyUtils.BeanPropertyUtilsImpl
- hasProperty(Object, String, boolean) - Static method in class org.apache.empire.commons.BeanPropertyUtils
-
Checks if a bean has a particular property and a corresponding getter/setter method exists
- hasSelectExpr() - Method in class org.apache.empire.db.DBCombinedCmd
-
returns whether or not the command has any select expression
- hasSelectExpr() - Method in class org.apache.empire.db.DBCommand
-
returns whether or not the command has any select expression
- hasSelectExpr() - Method in class org.apache.empire.db.DBCommandExpr
-
returns whether or not the command has any select expression
- hasSelectExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBCombinedCmd
-
returns whether or not the command has a specific select expression
- hasSelectExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
returns whether or not the command has a specific select expression
- hasSelectExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBCommandExpr
-
returns whether or not the command has a specific select expression
- hasSetExpr() - Method in class org.apache.empire.db.DBCommand
-
Returns whether or not the command has group by set
- hasSetExprOn(DBColumn) - Method in class org.apache.empire.db.DBCommand
-
Checks whether a column is in the list of set expressions
- hasWhereConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
Checks whether the command has a constraint on a particular column expression
- hasWhereConstraints() - Method in class org.apache.empire.db.DBCommand
-
Returns true if the command has constraints or false if not.
- having - Variable in class org.apache.empire.db.DBCommand
- having(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
adds a constraint to the having clause.
- HAVING - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- head - Variable in class org.apache.empire.data.list.DataListEntry
- head - Variable in class org.apache.empire.data.list.DataListFactoryImpl
- HOUR - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- HOURS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
- HSQL_KEYWORDS - Static variable in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
- HSqlDDLGenerator - Class in org.apache.empire.dbms.hsql
- HSqlDDLGenerator(DBMSHandlerHSql) - Constructor for class org.apache.empire.dbms.hsql.HSqlDDLGenerator
I
- IGNORE_CASE_CONTEXT - Static variable in class org.apache.empire.db.expr.column.DBValueExpr
- ILLEGAL_NAME_CHARS - Static variable in class org.apache.empire.dbms.DBMSHandlerBase
- immutable() - Method in class org.apache.empire.commons.ArraySet
- in(Collection<?>) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "in" operator.
- in(DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "not in" operator.
- in(T...) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "in" operator.
- IN - Enum constant in enum org.apache.empire.db.DBCmpType
- INCLUDE - Enum constant in enum org.apache.empire.db.DBRowSet.PartialMode
- indexOf(Object) - Method in class org.apache.empire.commons.ArraySet
- indexOf(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression that returns the position of a string in the current column expression.
- indexOf(Object, int) - Method in class org.apache.empire.db.DBColumnExpr
-
Overloaded.
- indexOf(Object, DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression that returns the position of a string in the current column expression.
- indexOf(String) - Method in class org.apache.empire.commons.Attributes
- indexOf(T[], T) - Static method in class org.apache.empire.commons.ObjectUtils
-
returns whether or not a array contains a certain item performs a quick (==) comparison first if not found a second check is made using equals and unwrapping of items
- indexOfAny(String, char...) - Static method in class org.apache.empire.commons.StringUtils
-
Returns the first index of any of the given characters in value starting from the beginning
- indexOfArray(Object[]) - Method in class org.apache.empire.commons.ArraySet
- init(String, boolean) - Method in class org.apache.empire.xml.XMLConfiguration
-
Initialize the configuration.
- init(Map<?, ?>, Object) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
-
Init case expression.
- init(DBDatabase, DBColumnExpr[], ResultSet) - Method in class org.apache.empire.db.DBReader
-
Initialize the reader from an open JDBC-ResultSet
- initClonedFields(T) - Method in class org.apache.empire.db.DBRowSet
-
Clone columns
- initData(boolean) - Method in class org.apache.empire.db.DBRecordBase
-
This method is used internally by the RowSet to initialize the record's properties
- initData(DBRecordBase) - Method in class org.apache.empire.db.DBRecordBase
-
This method may be used to copy the record in order to preserve its state
- initDataTypeFromValue(Object) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- initDataTypes(DBMSHandlerMSSQL) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
-
sets Oracle specific data types
- initialize(DB, DBContext, int, Object) - Method in interface org.apache.empire.db.list.DataBean
- initRecord(DBRecordBase) - Method in class org.apache.empire.db.DBReader
-
initializes a DBRecord object with the values of the current row.
- initRecord(DBRecordBase, Object[], DBRowSet.FieldInitMode, boolean) - Method in class org.apache.empire.db.DBRowSet
-
Initializes a DBRecord for this RowSet and sets primary key values.
- initRecord(DBRecordBase, RecordData) - Method in class org.apache.empire.db.DBRowSet
-
Initializes a DBRecord for this rowset for an existing record
- initRecord(DBRecordBase, RecordData, boolean) - Method in class org.apache.empire.db.DBQuery
-
Add rowset data
- initRecord(DBRecordBase, RecordData, boolean) - Method in class org.apache.empire.db.DBRowSet
-
Initializes a DBRecord for this rowset using the record data provided (i.e. from a DBReader)
The record may then be modified and updated.
At least all primary key columns must be supplied.
We strongly recommend to supply the value of the update timestamp column in order to detect concurrent changes. - initRecordDefaultValues(DBRecordBase, DBRowSet.FieldInitMode) - Method in class org.apache.empire.db.DBRowSet
-
initializes the Record Default Values
- initRecordDefaultValues(DBRecordBase, DBRowSet.FieldInitMode) - Method in class org.apache.empire.db.DBTable
-
initializes the Record Default Values
- initSerialSequenceNames(DBDatabase, Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Initializes the Sequence names of SERIAL and BIGSERIAL columns
- INNER - Enum constant in enum org.apache.empire.db.DBJoinType
-
SQL Inner join
- INNER_JOIN - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- INSERT - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- INSERT_INTO - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- insertElement(Node, String, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
-
Inserts a new child element to a parent.
- insertElement(Node, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
- insertElementNS(Node, String, String, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
-
Inserts a new child element to a parent.
- insertElementNS(Node, String, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
- insertStmt(int, String) - Method in class org.apache.empire.db.DBSQLScript
-
Inserts an entry in the list
- insertStmt(int, String, Object[]) - Method in class org.apache.empire.db.DBSQLScript
-
Inserts an entry in the list
- INT_SIZE_BIG - Static variable in class org.apache.empire.db.DBTable
- INT_SIZE_DEFAULT - Static variable in class org.apache.empire.db.DBTable
- INT_SIZE_MEDIUM - Static variable in class org.apache.empire.db.DBTable
- INT_SIZE_SMALL - Static variable in class org.apache.empire.db.DBTable
- INTEGER - Enum constant in enum org.apache.empire.data.DataType
-
Integer value (16, 32 or 64 bit)
- INTEGER_ZERO - Static variable in class org.apache.empire.commons.ValueUtils
- InternalException - Exception in org.apache.empire.exceptions
- InternalException(Throwable) - Constructor for exception org.apache.empire.exceptions.InternalException
- InternalException(EmpireException) - Constructor for exception org.apache.empire.exceptions.InternalException
- intersect(DBCommandExpr) - Method in class org.apache.empire.db.DBCommandExpr
-
Constructs a new DBCombinedCmd object with this object, the key word= "INTERSECT" and the selected DBCommandExpr.
- Invalid - Enum constant in enum org.apache.empire.db.DBRecordBase.State
- InvalidArgumentException - Exception in org.apache.empire.exceptions
- InvalidArgumentException(String, Object) - Constructor for exception org.apache.empire.exceptions.InvalidArgumentException
- InvalidArgumentException(String, Object[]) - Constructor for exception org.apache.empire.exceptions.InvalidArgumentException
- InvalidArgumentException(ErrorType, String[]) - Constructor for exception org.apache.empire.exceptions.InvalidArgumentException
- InvalidKeyException - Exception in org.apache.empire.db.exceptions
- InvalidKeyException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.InvalidKeyException
- InvalidOperationException - Exception in org.apache.empire.exceptions
-
InvalidOperationException Indicates that an operation cannot be performed due to requirements not met.
- InvalidOperationException(String) - Constructor for exception org.apache.empire.exceptions.InvalidOperationException
- InvalidOperationException(String, Object...) - Constructor for exception org.apache.empire.exceptions.InvalidOperationException
- InvalidOperationException(String, Throwable) - Constructor for exception org.apache.empire.exceptions.InvalidOperationException
- InvalidPropertyException - Exception in org.apache.empire.exceptions
- InvalidPropertyException(String, Object) - Constructor for exception org.apache.empire.exceptions.InvalidPropertyException
- InvalidPropertyException(String, Object, Exception) - Constructor for exception org.apache.empire.exceptions.InvalidPropertyException
- InvalidValueException - Exception in org.apache.empire.exceptions
- InvalidValueException(Object) - Constructor for exception org.apache.empire.exceptions.InvalidValueException
- InvalidValueException(Object[]) - Constructor for exception org.apache.empire.exceptions.InvalidValueException
- invokeMethod(Class<?>, Object, String, Class<?>[], Object[], boolean) - Static method in class org.apache.empire.commons.ClassUtils
-
Invoke a method on an object using reflection
- invokeMethod(Object, Method, Object...) - Static method in class org.apache.empire.commons.ClassUtils
-
Invoke a method with parameters on an object
- invokeMethod(Object, String, Class<?>, Object) - Static method in class org.apache.empire.commons.ClassUtils
-
Invokes a method with one parameter on an object using reflection
- invokeSimpleMethod(Class<?>, Object, String, boolean) - Static method in class org.apache.empire.commons.ClassUtils
-
Invoke a simple method (without parameters) on an object using reflection
- invokeSimpleMethod(Object, Method) - Static method in class org.apache.empire.commons.ClassUtils
-
Invoke a simple method (without parameters) on an object
- invokeSimpleMethod(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
-
Invoke a simple method (without parameters) on an object using reflection
- invokeSimplePrivateMethod(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
-
Invoke a simple method (without parameters) on an object using reflection
- is(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "=" (equal) operator.
- isActive() - Method in class org.apache.empire.commons.OptionEntry
- isActive(Object) - Method in class org.apache.empire.commons.Options
- isAggregate - Variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
- isAggregate() - Method in class org.apache.empire.db.DBColumn
-
Always returns false since DBColumns cannot be aggregates.
- isAggregate() - Method in class org.apache.empire.db.DBColumnExpr
-
Indicates whether this function is an aggregate (sum, min, max, avg, ...) or not
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
Returns whether the function is an aggegation function
that combines multiple rows to one result row. - isAggregate() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Forward to expression
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
-
Always returns false since CalcExpressions cannot be aggregates.
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
-
Always returns false since a concat expression cannot be an aggregate.
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns true since the count function is an aggregate function.
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Forward to expression
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Always returns false since value expressions cannot be an aggregate.
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Always returns false since value expressions cannot be an aggregate.
- isAggregate() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
- isAggregate() - Method in enum org.apache.empire.dbms.DBSqlPhrase
- isAggregate() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Always returns false
- isAggregate() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- isAggregate() - Method in class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- isAggregate() - Method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- isAssignmentCompatible(Class<?>, Class<?>) - Static method in class org.apache.empire.commons.ObjectUtils
-
Checks if a class is assignment compatible with another class
- isAutoGenerated() - Method in class org.apache.empire.data.bean.BeanProperty
- isAutoGenerated() - Method in interface org.apache.empire.data.Column
-
Returns whether or not the value for this column is auto-generated
- isAutoGenerated() - Method in class org.apache.empire.db.DBColumn
-
Returns true if column is a columns value is an automatically generated value
- isAutoGenerated() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Not applicable - always returns false
- isAutoGenerated() - Method in class org.apache.empire.db.DBQueryColumn
- isAutoGenerated() - Method in class org.apache.empire.db.DBTableColumn
-
Returns true if column is a numeric sequence or otherwise generated value
- isAutoGenerated() - Method in class org.apache.empire.db.DBView.DBViewColumn
- isAutoPrepareStmt() - Method in class org.apache.empire.db.DBCommand
- isBetween(Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "between" operator.
- isBoolean() - Method in enum org.apache.empire.data.DataType
-
Returns true if the data type is a boolean type
- isBreakAfter() - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- isBreakBefore() - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- isCaseSensitive() - Method in class org.apache.empire.db.DBColumnExpr
-
Returns whether or not a columnExpr is case sensitive If not explicitly set, the case sensitivity is true for all text fields (VARCHAR, CLOB) except if an EnumType is set.
- isCharBetween(char, char, char) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the character c is between the characters beg and end
- isColumn(int, DBColumn...) - Method in class org.apache.empire.db.DBRecordBase
-
helper function to check if a given field index corresponds to one of the given columns
- isColumnReadOnly(DBColumn) - Method in class org.apache.empire.db.DBRowSet
-
Checks whether a column is read only or writable.
- isColumnRequired(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
- isCompatible(DataType) - Method in enum org.apache.empire.data.DataType
-
Returns whether or not two DataTypes are compatible
- isConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
Returns whether the constraint is on the given column
- isConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Returns whether the constraint is on the given column
- isConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
- isConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Returns whether the constraint is on the given column
- isConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- isConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
-
Returns whether the constraint is on the given column
- isConstraintOn(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- isCreateReverseFunction() - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
-
Returns whether the reverse function should be created with the database
- isDate() - Method in enum org.apache.empire.data.DataType
-
Returns true if the data type is a date based data type (date or datetime)
- isDDLColumnDefaults() - Method in class org.apache.empire.db.DBDDLGenerator
- isDescending() - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
- isEmpty() - Method in class org.apache.empire.commons.Options
- isEmpty() - Method in class org.apache.empire.db.DBCmdParamList
- isEmpty() - Method in interface org.apache.empire.db.DBCmdParams
- isEmpty(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Checks whether an object has no value.
- isEmpty(Object) - Method in class org.apache.empire.commons.ValueUtils
-
Checks whether an object has no value.
- isEmpty(String) - Static method in class org.apache.empire.commons.StringUtils
-
Checks if a string is empty
- isEnum() - Method in class org.apache.empire.db.DBColumn
-
Returns true if an enum type has been set for this column
- isExists() - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if this record is a existing record (valid but not new).
- isFieldReadOnly(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isFieldReadOnly(Column) - Method in interface org.apache.empire.data.Record
-
returns true if the field is read-only.
- isFieldReadOnly(Column) - Method in class org.apache.empire.db.DBRecordBase
-
returns whether a field is read only or not
- isFieldRequired(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isFieldRequired(Column) - Method in interface org.apache.empire.data.Record
-
returns true if the field is required.
- isFieldRequired(Column) - Method in class org.apache.empire.db.DBRecordBase
-
returns whether a field is required or not
- isFieldVisible(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isFieldVisible(Column) - Method in interface org.apache.empire.data.Record
-
returns true if the field is visible to the client.
- isFieldVisible(Column) - Method in class org.apache.empire.db.DBRecordBase
-
returns whether a field is visible to the client or not
- isGreaterThan(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL ">" (greater than) operator.
- isIdentityColumn(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
- isIdentityColumn(ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
- isIdentityColumn(ResultSet) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDBModelParser
- isIgnoreEmpty(String) - Method in class org.apache.empire.commons.StringUtils.ObjectStringifier
-
Returns whether or not to ignore empty values in arrays
- isImmutableClass(Class<?>) - Static method in class org.apache.empire.commons.ClassUtils
-
Checks if a class is an immutable class such as a wrapper class of a primitive type String and Class are also considered to be a immutable classes
- isIndent() - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- isJoinOn(DBColumn) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
returns true if this join is using the given column or false otherwise
- isJoinOn(DBColumn) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
returns true if this join is using the given column or false otherwise
- isJoinOn(DBColumn) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
returns true if this join is using the given column or false otherwise
- isJoinOn(DBRowSet) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
returns true if this join is using the given table or view or false otherwise
- isJoinOn(DBRowSet) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
returns true if this join is using the given table or view or false otherwise
- isJoinOn(DBRowSet) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
returns true if this join is using the given table or view or false otherwise
- isKeyColumn(DBColumn) - Method in class org.apache.empire.db.DBRowSet
-
Checks whether a given column is part of the primary key for this RowSet
- isLessOrEqual(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "<=" (less or equal) operator.
- isLiteralValue(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Checks if a value is a literal value
- isLower(char) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the character c is an upper case character ('a'-'z')
- isLower(String, int) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the first count characters of s are all lower case (or other non-case sensitive characters)
- isModified() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isModified() - Method in interface org.apache.empire.data.Record
-
returns true if the record has been modified.
- isModified() - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if the record is modified.
- isModified(Record) - Method in class org.apache.empire.db.DBGeneratedValue.DBFuncGeneratedValue
- isModified(Record) - Method in class org.apache.empire.db.DBGeneratedValue.DBTriggerGeneratedValue
- isModified(Record) - Method in class org.apache.empire.db.DBGeneratedValue
-
Returns true if the value was modified and thus needs to be be updated in the record
- isMoreOrEqual(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL ">=" (greater or equal) operator.
- isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
Returns whether the constraint should replace another one or not.
- isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Returns whether the constraint should replace another one or not.
- isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
- isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
-
Returns whether the constraint should replace another one or not.
- isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
-
Returns wheter the constraint should replace another one or not.
- isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- isNew() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isNew() - Method in interface org.apache.empire.data.Record
-
returns true if this record is a new record.
- isNew() - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if this record is a new record.
- isNonZero(Number) - Static method in class org.apache.empire.commons.ObjectUtils
-
Checks whether a number is NOT null or zero
- isNot(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "<>" (not equal) operator.
- isNotBetween(Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "not between" operator.
- isNotEmpty(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Checks whether an object has a value.
- isNotEmpty(String) - Static method in class org.apache.empire.commons.StringUtils
-
Checks if a string is not null or empty
- isNotNull(Object) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
-
helper to check if an expression is not null
- isNull(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isNull(int) - Method in class org.apache.empire.data.list.DataListEntry
-
Checks whether or not the value for the given column is null.
- isNull(int) - Method in interface org.apache.empire.data.RecordData
-
checks if the field at the given index position contains no value (null) Indexed operations provide better performance for bulk processing compared to isNull(ColumnExpr)
- isNull(int) - Method in class org.apache.empire.db.DBReader
-
Checks wehter a column value is null Unlike the base class implementation, this class directly check the value fromt the resultset.
- isNull(int) - Method in class org.apache.empire.db.DBRecordData
-
Checks whether or not the value for the given column is null.
- isNull(Object) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
-
helper to check if an expression is null
- isNull(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isNull(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Checks whether or not the value for the given column is null.
- isNull(ColumnExpr) - Method in interface org.apache.empire.data.RecordData
-
checks if the record contains no value (null) for the given column
- isNull(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Checks whether or not the value for the given column is null.
- isNumber(char) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the character c is a number digit ('0'-'9')
- isNumber(String) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the string s is a number (contains only the characters 0 to 9)
- isNumeric() - Method in enum org.apache.empire.data.DataType
-
Returns true if the data type is a numeric data type (integer, decimal, float)
- isNumeric(char, boolean) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the character c is a numeric digit ('+' || '-' || '.' || ',' || '0'-'9')
- isNumeric(String, boolean) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the string s contains only numeric digits ('+' || '-' || '.' || ',' || '0'-'9')
- ISODOW - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- isOnColumns(DBColumn[]) - Method in class org.apache.empire.db.DBRelation
-
Checks if the relation references the given key
- isOpen() - Method in class org.apache.empire.db.DBDatabase
-
Indicates whether the database has been opened.
- isOpen() - Method in class org.apache.empire.db.DBReader
-
Checks if the rowset is open
- isOr() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- isOracle8Compatibilty() - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- ISOYEAR - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- isPreparedStatementsEnabled() - Method in class org.apache.empire.db.context.DBContextBase
-
returns whether DBCommmand should automatically create a prepared statement with command params (?)
- isPreparedStatementsEnabled() - Method in class org.apache.empire.db.context.DBContextStatic
- isPreparedStatementsEnabled() - Method in class org.apache.empire.db.DBCommand
-
returns true if prepared statements are enabled for this command
- isPreparedStatementsEnabled() - Method in class org.apache.empire.db.DBDatabase
-
Returns whether Prepared Statements are enabled for the read and update operations in DBRecord.
- isProperty(Element) - Method in class org.apache.empire.xml.XMLConfiguration
-
Checks if the element is a property
- isPropertyAcessible(Method[], String, DataType) - Method in class org.apache.empire.data.bean.BeanResult
-
Checks if the property is accessible i.e. has a getter method on the beanType
- isReadOnly() - Method in class org.apache.empire.data.bean.BeanProperty
- isReadOnly() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isReadOnly() - Method in interface org.apache.empire.data.Column
-
Returns true if the values for this column are generally read only (like i.e. for sequence generated values).
- isReadOnly() - Method in interface org.apache.empire.data.Record
-
returns true if this record is readOnly.
- isReadOnly() - Method in class org.apache.empire.db.DBColumn
-
Returns true if the column is read-only.
- isReadOnly() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Not applicable - always returns true
- isReadOnly() - Method in class org.apache.empire.db.DBQueryColumn
- isReadOnly() - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if the record is valid.
- isReadOnly() - Method in class org.apache.empire.db.DBTableColumn
-
Checks whether the column is read only.
- isReadOnly() - Method in class org.apache.empire.db.DBView.DBViewColumn
- isRequired() - Method in class org.apache.empire.data.bean.BeanProperty
- isRequired() - Method in interface org.apache.empire.data.Column
-
Returns whether or not the value for this column must be supplied (i.e. it is mandatory) or not.
- isRequired() - Method in class org.apache.empire.db.DBColumn
-
Returns true if the column is required.
- isRequired() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Checks whether the column is mandatory.
- isRequired() - Method in class org.apache.empire.db.DBQueryColumn
- isRequired() - Method in class org.apache.empire.db.DBTableColumn
-
Returns true if column is mandatory.
- isRequired() - Method in class org.apache.empire.db.DBView.DBViewColumn
- isRollbackHandlingEnabled() - Method in class org.apache.empire.db.context.DBContextStatic
- isRollbackHandlingEnabled() - Method in interface org.apache.empire.db.DBContext
- isRollbackHandlingEnabled() - Method in class org.apache.empire.db.DBRecord
-
Returns whether or not RollbackHandling is enabled for this record
- isRollbackHandlingEnabled() - Method in class org.apache.empire.db.DBRecordBase
-
Returns whether or not RollbackHandling is enabled for this record
- isRollbackHandlingEnabled() - Method in class org.apache.empire.db.DBRecordBean
-
Returns whether or not RollbackHandling is enabled for this record
- isSame(DBRecordBase) - Method in class org.apache.empire.db.DBRecordBase
-
Compares the record to another one
- isSame(DBRowSet) - Method in class org.apache.empire.db.DBRowSet
-
Compares the rowset to another one
- isSameRowSet(DBRowSet, DBRowSet) - Method in class org.apache.empire.db.DBDatabase
-
Checks if two Rowsets with the same name are equal and just another instance
- isSelectDistinct() - Method in class org.apache.empire.db.DBCommand
-
Returns whether or not the select statement will be distinct or not.
- isSingleByteChars() - Method in class org.apache.empire.db.DBTableColumn
-
Returns true if column the column is a single byte text or character column or false otherwise
- isSmallerThan(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "<" (less than) operator.
- isSupported(DBMSFeature) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
Returns whether or not a particular feature is supported by this dmbs
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
-
Returns whether or not a particular feature is supported by this dbms
- isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Returns whether or not a particular feature is supported by this dbms
- isSystemTable(String, ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
-
Checks if the tableName belongs to a system or hidden table
- isText() - Method in enum org.apache.empire.data.DataType
-
Returns true if the data type is a text based data type (char, text or clob)
- isTimestampColumn(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
- isTimestampColumn(ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
- isUnique() - Method in enum org.apache.empire.db.DBIndex.DBIndexType
- isUpdateable() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Not applicable - returns false
- isUpdateable() - Method in class org.apache.empire.db.DBQuery
-
Returns whether or not the table supports record updates.
- isUpdateable() - Method in class org.apache.empire.db.DBRowSet
- isUpdateable() - Method in class org.apache.empire.db.DBTable
-
Returns whether or not the table supports record updates.
- isUpdateable() - Method in class org.apache.empire.db.DBView
-
Returns whether or not the view is updateable
- isUpper(char) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the character c is an upper case character ('A'-'Z')
- isUpper(String, int) - Static method in class org.apache.empire.commons.StringUtils
-
returns true if the first count characters of s are all upper case (or other non-case sensitive characters)
- isUseDateTime2() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
returns whether the DATETIME2 datatype is used for timestamps (instead of DATETIME)
- isUsePostgresSerialType() - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Returns whether or not the Postgres Serial Type is used for Identity columns
- isUseSequenceTable() - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
returns whether a sequence table is used for record identiy management.
Default is false. - isUseSequenceTable() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
returns whether a sequence table is used for record identiy management.
Default is false. - isUseSequenceTable() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
returns whether a sequence table is used for record identity management.
Default is false. - isUseSequenceTable() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
returns whether a sequence table is used for record identiy management.
Default is false. - isUseUnicodePrefix() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Indicates whether or not a Unicode Prefix (N) is prepended to all text values
- isValid() - Method in class org.apache.empire.data.bean.BeanRecordProxy
- isValid() - Method in interface org.apache.empire.data.Record
-
returns true if the record is valid.
- isValid() - Method in class org.apache.empire.db.DBCombinedCmd
- isValid() - Method in class org.apache.empire.db.DBCommand
-
Returns true if the this command has either Select or Set expressions
- isValid() - Method in class org.apache.empire.db.DBCommandExpr
- isValid() - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if the record is valid.
- isValidateFieldValues() - Method in class org.apache.empire.db.DBRecordBase
-
Returns whether or not values are checked for validity when calling setValue().
- isValueValid(int) - Method in class org.apache.empire.db.DBRecordBase
-
Returns whether a field value is provided i.e. the value is not DBRowSet.NO_VALUE
This function is only useful in cases where records are partially loaded. - isWrapper() - Method in interface org.apache.empire.commons.Unwrappable
-
Returns true if the object is a wrapper for another object
- isWrapper() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Indicates that we are actually an expression wrapper
- isWrapper() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
-
This is a transparent wrapper
- isWrapper() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Indicates that we are actually an expression wrapper
- isWrapper() - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- isWrapper(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Checks whether a object implements the Unwrappable interface and is also a wrapper If the object does not Implement the Interface or is not a wrapper then false is returned
- isZero(Number) - Static method in class org.apache.empire.commons.ObjectUtils
-
Checks whether a number is null or zero
- isZero(Number) - Method in class org.apache.empire.commons.ValueUtils
-
Checks whether a number is null or zero
- isZero(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
-
Returns true if a numeric value is Zero For numeric columns only!
- isZero(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
-
Returns true if a numeric value is Zero For numeric columns only!
- ItemExistsException - Exception in org.apache.empire.exceptions
- ItemExistsException(Object) - Constructor for exception org.apache.empire.exceptions.ItemExistsException
- itemNotFound(DBObject) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
-
This method is called when an object (e. g. table or column) is missing in the database.
- itemNotFound(DBObject) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
-
handle itemNotFound errors
- ItemNotFoundException - Exception in org.apache.empire.exceptions
- ItemNotFoundException(Object) - Constructor for exception org.apache.empire.exceptions.ItemNotFoundException
- iterator() - Method in class org.apache.empire.commons.Attributes
- iterator() - Method in class org.apache.empire.commons.Options
- iterator() - Method in class org.apache.empire.db.DBCmdParamList
- iterator() - Method in class org.apache.empire.db.DBReader
-
Returns an row iterator for this reader.
- iterator() - Method in class org.apache.empire.db.DBSQLScript
-
Returns an iterator
- iterator(int) - Method in class org.apache.empire.db.DBReader
-
Returns an row iterator for this reader.
There can only be one iterator at a time.
J
- join(DBColumn[], DBColumn[], DBJoinType, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
-
Multi-Column version of column based join expression
- join(DBColumnExpr, DBColumn, DBJoinType, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a join based on two columns to the list of join expressions.
- join(DBColumnExpr, DBColumn, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds an inner join based on two columns to the list of join expressions.
- join(DBRowSet, DBRowSet) - Method in class org.apache.empire.db.DBCommand
-
Adds a cross join for two tables or views New in release 3.1: Use left.on(right)) instead
- join(DBRowSet, DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds an inner join based on a compare expression to the command.
- join(DBRowSet, DBCompareExpr, DBJoinType) - Method in class org.apache.empire.db.DBCommand
-
Adds a join based on a compare expression to the command.
- join(DBJoinExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds a join to the list of join expressions.
- join(DBJoinExpr) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite.DBCommandSQLite
- join(DBJoinExpr, DBJoinType) - Method in class org.apache.empire.db.DBCommand
-
Adds a join to the list of join expressions.
- joinLeft(DBColumnExpr, DBColumn, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a left join based on two columns to the list of join expressions.
- joinLeft(DBJoinExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds a left join to the list of join expressions.
- joinRight(DBColumnExpr, DBColumn, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a right join based on two columns to the list of join expressions.
- joinRight(DBJoinExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds a left join to the list of join expressions.
- joins - Variable in class org.apache.empire.db.DBCommand
K
- key(Object...) - Static method in interface org.apache.empire.data.Record
-
varArgs to Array
- key(Object...) - Static method in class org.apache.empire.db.DBRecord
-
varArgs to Array
- key(Object...) - Static method in class org.apache.empire.db.DBRecordBean
-
varArgs to Array
- key(DBColumn...) - Static method in class org.apache.empire.db.DBRowSet
-
varArgs to Array
- keyColumns - Variable in class org.apache.empire.data.bean.BeanRecordProxy
- keyColumns - Variable in class org.apache.empire.db.DBQuery
- keyToString(Object[]) - Static method in exception org.apache.empire.db.exceptions.RecordException
- keyWord - Variable in class org.apache.empire.db.DBCombinedCmd
L
- lastIndexOf(Object) - Method in class org.apache.empire.commons.ArraySet
- lastIndexOfAny(String, char...) - Static method in class org.apache.empire.commons.StringUtils
-
Returns the first index of any of the given characters in value starting from the end
- left - Variable in class org.apache.empire.db.DBCombinedCmd
- left - Variable in class org.apache.empire.db.expr.column.DBConcatExpr
- left - Variable in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- left - Variable in class org.apache.empire.db.expr.join.DBColumnJoinExpr
- left - Variable in class org.apache.empire.db.expr.join.DBCrossJoinExpr
- LEFT - Enum constant in enum org.apache.empire.db.DBJoinType
-
SQL Left join
- LEFT_JOIN - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- legacyDate - Variable in class org.apache.empire.db.DBDatabase
-
Flag indicating whether Bean getters / setters use java.util.Date or Java types (LocalDate, LocalDateTime) True (default) when java.util.Date is used
- length() - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- length() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression that returns the string length of this expression.
- length() - Method in class org.apache.empire.db.DBSQLBuilder
- length(String) - Static method in class org.apache.empire.commons.StringUtils
-
Returns the length of a String
- lengthOf(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
returns the string length of an object
- lengthOf(Object) - Method in class org.apache.empire.commons.ValueUtils
-
returns the string length of an object
- LESSOREQUAL - Enum constant in enum org.apache.empire.db.DBCmpType
- LESSTHAN - Enum constant in enum org.apache.empire.db.DBCmpType
- like(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "like" operator.
- like(String, char) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "like" operator.
- LIKE - Enum constant in enum org.apache.empire.db.DBCmpType
- likeLower(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Deprecated.Always user likeUpper() for case insensitive comparisons
- likeUpper(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new case insensitive comparison for the SQL "like" operator.
- limit - Variable in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- limit - Variable in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- limit - Variable in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- limitRows - Variable in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
- limitRows - Variable in class org.apache.empire.dbms.hsql.DBCommandHSql
- limitRows - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
- limitRows(int) - Method in class org.apache.empire.db.DBCommand
-
Overridden to change return type from DBCommandExpr to DBCommand
- limitRows(int) - Method in class org.apache.empire.db.DBCommandExpr
-
set the maximum number of rows to return when executing a query command A negative value will remove the limit.
- limitRows(int) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
- limitRows(int) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
- limitRows(int) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- limitRows(int) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- limitRows(int) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- limitRows(int) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- list - Variable in class org.apache.empire.commons.Options
- list() - Method in class org.apache.empire.commons.Attributes
- LIST_TEMPLATE - Static variable in class org.apache.empire.commons.StringUtils
-
Default List Template
- listToArray(Class<? extends T[]>, List<? extends T>) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts a list to an array e.g.: MyItem[] array = ObjectUtils.listToArray(MyItem[].class, myList)
- listToString(Collection<?>) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a list (Collection) of objects to a string.
- listToString(Collection<?>, String) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a list (Collection) of objects to a string.
- listToString(Collection<?>, String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a list (Collection) of objects to a string.
- listToString(Collection<?>, String, String, StringUtils.ObjectStringifier) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a list (Collection) of objects to a string.
- literal() - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Set literal mode, i.e. the value will be placed in the sql statement Otherwise it may be automatically replaced by a parameter ?
- log - Static variable in class org.apache.empire.commons.SqlFormat
- log - Static variable in class org.apache.empire.data.bean.BeanRecordProxy
- log - Static variable in class org.apache.empire.db.DBCmdParamList
- log - Static variable in class org.apache.empire.db.DBCommand
- log - Static variable in class org.apache.empire.db.DBDDLGenerator
- log - Static variable in class org.apache.empire.db.DBGeneratedValue
- log - Static variable in class org.apache.empire.db.DBReader
- log - Static variable in class org.apache.empire.db.DBRowSet
- log - Static variable in class org.apache.empire.db.DBUtils
- log - Static variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
- log - Static variable in class org.apache.empire.db.expr.column.DBScalarExpr
- log - Static variable in class org.apache.empire.db.expr.compare.DBCompareExpr
- log - Static variable in class org.apache.empire.db.list.DBBeanFactoryCache
- log - Static variable in class org.apache.empire.db.list.DBRecordListFactoryImpl
- log - Static variable in class org.apache.empire.db.validation.DBModelParser
- log - Static variable in class org.apache.empire.dbms.oracle.OracleDataDictionnary
- log - Static variable in class org.apache.empire.xml.XMLUtil
- log - Static variable in class org.apache.empire.xml.XMLWriter
- log() - Method in exception org.apache.empire.db.exceptions.ConstraintViolationException
-
log the error
- log() - Method in exception org.apache.empire.db.exceptions.QueryFailedException
-
log the error
- log() - Method in exception org.apache.empire.db.exceptions.StatementFailedException
-
log the error
- log() - Method in exception org.apache.empire.exceptions.BeanException
-
log the error
- log() - Method in exception org.apache.empire.exceptions.EmpireException
-
log the error (info must be enabled)
- LOG_MAX_STRING_LENGTH - Variable in class org.apache.empire.db.DBUtils
- LOG_NEW_LINE - Variable in class org.apache.empire.db.DBUtils
- logError(String, Object...) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
- logQueryStatement(String, Object[]) - Method in class org.apache.empire.db.DBUtils
-
Log Query Statement
- logStmt(DBUtils, String, Object[], boolean) - Method in class org.apache.empire.db.DBSQLScript
-
logs a statement before execution
- logUpdateStatement(String, Object[]) - Method in class org.apache.empire.db.DBUtils
-
Log Update Statement
- logWarn(String, Object...) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
- LONG_ZERO - Static variable in class org.apache.empire.commons.ValueUtils
- longRunndingStmtThreshold - Variable in class org.apache.empire.db.DBUtils
- lower() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a function object which converts the current expression to lower case.
M
- map() - Method in class org.apache.empire.commons.Options
-
Returns an immutable Map for the options
- map(Class<T>) - Method in class org.apache.empire.commons.Options
-
Returns an immutable Map for the options
- max() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an aggregation function object which returns the maximum value for the current expression over a group of rows.
- MAX_QUERY_ROWS - Variable in class org.apache.empire.db.DBUtils
- maxCount - Variable in class org.apache.empire.db.DBReader.DBReaderIterator
- MERGE_INTO - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- mergeSubqueryParams(DBCmdParams) - Method in class org.apache.empire.db.DBCmdParamList
-
Used to merge CmdParams from a subquery with the current command params list
- messageFromSQLException(DBMSHandler, SQLException) - Static method in exception org.apache.empire.db.exceptions.EmpireSQLException
- MICROSECONDS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- MILLENNIUM - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- MILLIS_IN_DAY - Static variable in class org.apache.empire.commons.DateUtils
- MILLISECONDS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- min() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an aggregation function object which returns the minimum value for the current expression over a group of rows.
- minus(int) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new calculation object for either the SQL "+" (plus) or "-" (minus) operator depending on whether the supplied integer value is negative or positive.
- minus(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new calculation object for the SQL "-" (minus) operator.
- MINUTE - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- MINUTES - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
- missingArgument - Variable in class org.apache.empire.exceptions.EmpireException.ExceptionMessageFormatter
- modelParser - Variable in class org.apache.empire.db.validation.DBModelChecker
- modified - Variable in class org.apache.empire.data.bean.BeanRecordProxy
- Modified - Enum constant in enum org.apache.empire.db.DBRecordBase.State
- modifyValue(int, Object, boolean) - Method in class org.apache.empire.db.DBRecordBase
-
Modifies a column value bypassing all checks made by setValue.
- modifyValue(ColumnExpr, Object) - Method in class org.apache.empire.data.list.DataListEntry
-
Modifies a particular value
- modulo(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a sql-expression for the modulo or mod() function.
- month() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an function object that calculates the month of a date value.
- MONTH - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- MONTHS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
- MOREOREQUAL - Enum constant in enum org.apache.empire.db.DBCmpType
- moveNext() - Method in class org.apache.empire.db.DBReader
-
Moves the cursor down one row from its current position.
- MSSQL_SQL_KEYWORDS - Static variable in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- MSSqlDBModelParser - Class in org.apache.empire.dbms.sqlserver
-
MSSqlDBModelChecker DataModel checker implementation for Microsoft SQLServer
- MSSqlDBModelParser(String, String) - Constructor for class org.apache.empire.dbms.sqlserver.MSSqlDBModelParser
-
create a MSSqlDBModelChecker
- MSSqlDDLGenerator - Class in org.apache.empire.dbms.sqlserver
- MSSqlDDLGenerator(DBMSHandlerMSSQL) - Constructor for class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
- multiplyWith(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new calculation object for the SQL "*" (multiply) operator.
- MYSQL_KEYWORDS - Static variable in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- MySQLDBModelParser - Class in org.apache.empire.dbms.mysql
- MySQLDBModelParser(String, String) - Constructor for class org.apache.empire.dbms.mysql.MySQLDBModelParser
- MySQLDDLGenerator - Class in org.apache.empire.dbms.mysql
- MySQLDDLGenerator(DBMSHandlerMySQL) - Constructor for class org.apache.empire.dbms.mysql.MySQLDDLGenerator
N
- name - Variable in class org.apache.empire.db.DBColumn
- namePrimaryKeyConstraint - Variable in class org.apache.empire.db.DBDDLGenerator
- New - Enum constant in enum org.apache.empire.db.DBRecordBase.State
- newCommand() - Method in class org.apache.empire.db.DBView
-
Use this to create a new View command inside the createCommand() method!
- newEntry(int, Object[]) - Method in class org.apache.empire.data.list.DataListFactoryImpl
- newEntry(int, RecordData) - Method in interface org.apache.empire.data.list.DataListFactory
- newEntry(int, RecordData) - Method in class org.apache.empire.data.list.DataListFactoryImpl
- newInstance(Class<T>) - Static method in class org.apache.empire.commons.ClassUtils
-
Creates a new Object instance
- newInstance(Class<T>, Class<?>, Object) - Static method in class org.apache.empire.commons.ClassUtils
-
Creates a new Object instance with a single parameter constructor
- newInstance(Constructor<T>, Object...) - Static method in class org.apache.empire.commons.ClassUtils
-
Creates a new Object instance
- newItem(int, DBRecordData) - Method in interface org.apache.empire.db.list.DBBeanListFactory
- newItem(int, DBRecordData) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
- newList(int) - Method in interface org.apache.empire.data.list.DataListFactory
- newList(int) - Method in class org.apache.empire.data.list.DataListFactoryImpl
- newList(int) - Method in interface org.apache.empire.db.list.DBBeanListFactory
- newList(int) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
- newList(int) - Method in interface org.apache.empire.db.list.DBRecordListFactory
- newList(int) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
- newRecord(int, DBRecordData) - Method in interface org.apache.empire.db.list.DBRecordListFactory
- newRecord(int, DBRecordData) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
- next() - Method in class org.apache.empire.db.DBReader.DBReaderForwardIterator
-
Implements the Iterator Interface.
- next() - Method in class org.apache.empire.db.DBReader.DBReaderScrollableIterator
-
Implements the Iterator Interface.
- nextParamValue() - Method in class org.apache.empire.commons.SqlFormat
- NO_VALUE - Static variable in class org.apache.empire.commons.ObjectUtils
-
Constant that defines a object of type NoValue.
- NONE - Enum constant in enum org.apache.empire.db.DBCmpType
- NONE - Enum constant in enum org.apache.empire.db.DBRelation.DBCascadeAction
- NONE - Enum constant in enum org.apache.empire.db.DBRowSet.FieldInitMode
- NoPrimaryKeyException - Exception in org.apache.empire.db.exceptions
- NoPrimaryKeyException(Entity) - Constructor for exception org.apache.empire.db.exceptions.NoPrimaryKeyException
- NoPrimaryKeyException(DBRowSet) - Constructor for exception org.apache.empire.db.exceptions.NoPrimaryKeyException
- normalize(String) - Method in class org.apache.empire.xml.XMLWriter
-
Converts a string to valid XML-Syntax replacing XML entities.
- normalize(String, boolean) - Static method in class org.apache.empire.xml.XMLWriter
- not() - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
-
Creates a sql-expression for the not() function.
- not(int, int) - Method in class org.apache.empire.db.DBCommandExpr
-
Checks if a flag is NOT set
- NOTBETWEEN - Enum constant in enum org.apache.empire.db.DBCmpType
- notContains(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the "not contains(column, val)" comparator
- notContains(String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Returns true if the given substring is part of the string provided by value
- NOTCONTAINS - Enum constant in enum org.apache.empire.db.DBCmpType
- notEmpty(Collection<?>) - Method in class org.apache.empire.db.DBCommandExpr
-
Checks if a collection is not null or empty
- NOTEQUAL - Enum constant in enum org.apache.empire.db.DBCmpType
- notifyParamUsage(DBCmdParam) - Method in class org.apache.empire.db.DBCmdParamList
-
internally used to reorder the command params to match their order of occurance
- NotImplementedException - Exception in org.apache.empire.exceptions
- NotImplementedException(Class<?>, String) - Constructor for exception org.apache.empire.exceptions.NotImplementedException
- NotImplementedException(Object, String) - Constructor for exception org.apache.empire.exceptions.NotImplementedException
- notIn(Collection<?>) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "not in" operator.
- notIn(DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "not in" operator.
- notIn(T...) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an expression for the SQL "not in" operator.
- NOTIN - Enum constant in enum org.apache.empire.db.DBCmpType
- notInRangeErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- notLike(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "not like" operator.
- NOTLIKE - Enum constant in enum org.apache.empire.db.DBCmpType
- NOTNULL - Enum constant in enum org.apache.empire.db.DBCmpType
- NotSupportedException - Exception in org.apache.empire.exceptions
- NotSupportedException(Object, String) - Constructor for exception org.apache.empire.exceptions.NotSupportedException
- NotSupportedException(Object, String, Exception) - Constructor for exception org.apache.empire.exceptions.NotSupportedException
- NULL - Enum constant in enum org.apache.empire.db.DBCmpType
- NULL - Static variable in class org.apache.empire.commons.StringUtils
-
Null String
- nullIfEmpty(Object) - Static method in class org.apache.empire.commons.StringUtils
-
Returns null if the value supplied is null or an empty String.
- NUMBER - Enum constant in enum org.apache.empire.dbms.oracle.DBMSHandlerOracle.BooleanType
- NUMTYPE_CURRENCY - Static variable in interface org.apache.empire.data.Column
- NUMTYPE_DECIMAL - Static variable in interface org.apache.empire.data.Column
- NUMTYPE_INTEGER - Static variable in interface org.apache.empire.data.Column
- NUMTYPE_PERCENT - Static variable in interface org.apache.empire.data.Column
- nvl(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Deprecated.Outdated oracle syntax - use coalesce instead
O
- ObjectNotValidException - Exception in org.apache.empire.exceptions
- ObjectNotValidException(Class<?>, String) - Constructor for exception org.apache.empire.exceptions.ObjectNotValidException
- ObjectNotValidException(Object) - Constructor for exception org.apache.empire.exceptions.ObjectNotValidException
- ObjectNotValidException(Object, String) - Constructor for exception org.apache.empire.exceptions.ObjectNotValidException
- ObjectStringifier() - Constructor for class org.apache.empire.commons.StringUtils.ObjectStringifier
- objectTypeMismatch(DBObject, String, Class<?>) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
-
This method is called when an object (e. g. table or column) is missing in the database.
- objectTypeMismatch(DBObject, String, Class<?>) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
-
handle objectTypeMismatch errors
- ObjectUtils - Class in org.apache.empire.commons
-
This class contains common functions for comparing and converting values from and to the database As well as other useful Array and List related functions.
- on(DBColumnExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
create a join expression for DBCommand.join()
- on(DBRowSet) - Method in class org.apache.empire.db.DBRowSet
-
Creates a cross join expression
- on(DBCompareExpr) - Method in class org.apache.empire.db.DBRowSet
-
Creates a join expression based on a compare expression
- ON - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- onDeleteCascade() - Method in class org.apache.empire.db.DBRelation
-
short for
- onDeleteCascadeRecords() - Method in class org.apache.empire.db.DBRelation
-
short for
- onFieldChanged(int) - Method in class org.apache.empire.db.DBRecordBase
-
Override this to get notified when a field value changes
- onRecordChanged() - Method in class org.apache.empire.db.DBRecordBase
-
Override this to do extra handling when the record changes
- open(DBCommandExpr) - Method in class org.apache.empire.db.DBReader
-
Opens the reader by executing the given SQL command.
- open(DBCommandExpr, boolean) - Method in class org.apache.empire.db.DBReader
-
Opens the reader by executing the given SQL command.
After the reader is open, the reader's position is before the first record.
Use moveNext or iterator() to step through the rows.
Data of the current row can be accessed through the functions on the RecordData interface. - open(DBContext) - Method in class org.apache.empire.db.DBDatabase
-
Attaches the Database to the DBMS Handler provided with the context and allows the Database and the Handler to perform initialization tasks
- OperationFailedException - Exception in org.apache.empire.exceptions
-
OperationFailedException Indicates that an operation has failed
- OperationFailedException(String, Exception) - Constructor for exception org.apache.empire.exceptions.OperationFailedException
- OperationFailedException(String, String) - Constructor for exception org.apache.empire.exceptions.OperationFailedException
- OperationFailedException(String, String, Throwable) - Constructor for exception org.apache.empire.exceptions.OperationFailedException
- optimizerHint - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
- OptionEntry - Class in org.apache.empire.commons
-
This class defines one possible value of a field and it's description
This class is used by the Options class to implement a set of options where the option value us used as the key for the set.
The text should only be used for display purposes e.g. to display a drop-down in a user interface. - OptionEntry(Object, String) - Constructor for class org.apache.empire.commons.OptionEntry
- OptionEntry(Object, String, boolean) - Constructor for class org.apache.empire.commons.OptionEntry
- optionGroupResolver - Variable in class org.apache.empire.commons.Options
- options - Variable in class org.apache.empire.db.DBColumnExpr
- Options - Class in org.apache.empire.commons
-
This class represents a list of possible values that are valid for a particular field.
Additionally the class provides a text string describing the value for display purposes.
The class is implemented as a set of OptionEntry objects where the entry value is used as the key for the set and thus must be unique. - Options() - Constructor for class org.apache.empire.commons.Options
- Options(int) - Constructor for class org.apache.empire.commons.Options
- Options(Class<? extends Enum<?>>) - Constructor for class org.apache.empire.commons.Options
- Options(OptionEntry[]) - Constructor for class org.apache.empire.commons.Options
- Options(Options) - Constructor for class org.apache.empire.commons.Options
- Options.InsertPos - Enum in org.apache.empire.commons
-
InsertPos enum
- Options.OptionGroupResolver - Interface in org.apache.empire.commons
- or - Variable in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- or(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
-
Create a new DBCompareAndOrExpr object.
- ORACLE_KEYWORDS - Static variable in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- OracleDataDictionnary - Class in org.apache.empire.dbms.oracle
- OracleDataDictionnary() - Constructor for class org.apache.empire.dbms.oracle.OracleDataDictionnary
-
Defines mapping of the Empire-db data types with the oracle data types.
- OracleDataDictionnary.ColumnInfo - Class in org.apache.empire.dbms.oracle
-
Immutable column info helper class
- OracleDBModelChecker - Class in org.apache.empire.dbms.oracle
-
This implementation is used to check Oracle Databases
- OracleDBModelChecker(OracleDBModelParser, DBMSHandlerOracle.BooleanType) - Constructor for class org.apache.empire.dbms.oracle.OracleDBModelChecker
- OracleDBModelParser - Class in org.apache.empire.dbms.oracle
- OracleDBModelParser(String) - Constructor for class org.apache.empire.dbms.oracle.OracleDBModelParser
- OracleDDLGenerator - Class in org.apache.empire.dbms.oracle
- OracleDDLGenerator(DBMSHandlerOracle) - Constructor for class org.apache.empire.dbms.oracle.OracleDDLGenerator
- OracleRowNumExpr - Class in org.apache.empire.dbms.oracle
-
implements a column expression for the Oracle rownum function
- OracleRowNumExpr(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleRowNumExpr
-
Constructs a new OracleRowNumExpr object.
- OracleSYSDatabase - Class in org.apache.empire.dbms.oracle
-
Represents the data model of the system tables.
- OracleSYSDatabase(DBMSHandlerOracle) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase
- OracleSYSDatabase.DBColComments - Class in org.apache.empire.dbms.oracle
- OracleSYSDatabase.DBColInfo - Class in org.apache.empire.dbms.oracle
- OracleSYSDatabase.DBConstraints - Class in org.apache.empire.dbms.oracle
- OracleSYSDatabase.DBTabComments - Class in org.apache.empire.dbms.oracle
- OracleSYSDatabase.DBUserConCol - Class in org.apache.empire.dbms.oracle
- ORDER_BY - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- orderBy - Variable in class org.apache.empire.db.DBCommandExpr
- orderBy(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
-
Overridden to change return type from DBCommandExpr to DBCommand
- orderBy(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommandExpr
-
Adds a list of columns to the orderBy clause in ascending order
- orderBy(DBColumnExpr, boolean) - Method in class org.apache.empire.db.DBCommand
-
Overridden to change return type from DBCommandExpr to DBCommand
- orderBy(DBColumnExpr, boolean) - Method in class org.apache.empire.db.DBCommandExpr
-
Adds an order by with ascending or descending order
- orderBy(DBOrderByExpr...) - Method in class org.apache.empire.db.DBCombinedCmd
- orderBy(DBOrderByExpr...) - Method in class org.apache.empire.db.DBCommand
-
Overridden to change return type from DBCommandExpr to DBCommand
- orderBy(DBOrderByExpr...) - Method in class org.apache.empire.db.DBCommandExpr
-
Adds an order by expression the command
- orderByUpper(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
-
Overridden to change return type from DBCommandExpr to DBCommand
- orderByUpper(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommandExpr
-
Adds a list of columns to the orderBy clause in ascending order
- orderByUpper(DBColumnExpr, boolean) - Method in class org.apache.empire.db.DBCommand
-
Overridden to change return type from DBCommandExpr to DBCommand
- orderByUpper(DBColumnExpr, boolean) - Method in class org.apache.empire.db.DBCommandExpr
-
Adds a case insensitive order by with ascending or descending order
- org.apache.empire.commons - package org.apache.empire.commons
-
This package contains various common classes for error handling, specific data types and data type conversion.
- org.apache.empire.data - package org.apache.empire.data
-
This package contains interfaces for data and metadata handling.
- org.apache.empire.data.bean - package org.apache.empire.data.bean
-
This package contains implmentations of Empire's data and metadata interfaces for JavaBeans of Data Tranfer Objects (DTO's).
- org.apache.empire.data.list - package org.apache.empire.data.list
- org.apache.empire.db - package org.apache.empire.db
-
This package contains the core Empire-DB implementation classes.
- org.apache.empire.db.context - package org.apache.empire.db.context
- org.apache.empire.db.exceptions - package org.apache.empire.db.exceptions
-
This package contains classes for exception handling of database related errors.
- org.apache.empire.db.expr.column - package org.apache.empire.db.expr.column
-
This package contains SQL-generator classes for column expressions.
- org.apache.empire.db.expr.compare - package 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 - package 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 - package org.apache.empire.db.expr.order
- org.apache.empire.db.expr.set - package org.apache.empire.db.expr.set
-
This package contains SQL-generator classes for set expressions used in the set clause.
- org.apache.empire.db.generic - package org.apache.empire.db.generic
- org.apache.empire.db.list - package org.apache.empire.db.list
- org.apache.empire.db.validation - package org.apache.empire.db.validation
- org.apache.empire.dbms - package org.apache.empire.dbms
- org.apache.empire.dbms.derby - package org.apache.empire.dbms.derby
-
This package contains classes necessary to support the Apache Derby database system.
- org.apache.empire.dbms.h2 - package org.apache.empire.dbms.h2
-
This package contains classes necessary to support the H2 database system.
- org.apache.empire.dbms.hsql - package org.apache.empire.dbms.hsql
-
This package contains classes necessary to support the HSQLDB database system.
- org.apache.empire.dbms.mysql - package org.apache.empire.dbms.mysql
-
This package contains classes necessary to support the MySQL database system.
- org.apache.empire.dbms.oracle - package org.apache.empire.dbms.oracle
-
This package contains classes necessary to support the Oracle database system.
- org.apache.empire.dbms.postgresql - package org.apache.empire.dbms.postgresql
-
This package contains classes necessary to support the PostgreSQL database system.
- org.apache.empire.dbms.sqlite - package org.apache.empire.dbms.sqlite
- org.apache.empire.dbms.sqlserver - package org.apache.empire.dbms.sqlserver
-
This package contains classes necessary to support the Microsoft SQL-Server database system.
- org.apache.empire.exceptions - package org.apache.empire.exceptions
-
This package contains classes for exception handling of general errors.
- org.apache.empire.xml - package org.apache.empire.xml
-
This package contains classes for XML generation and configuration.
- out - Variable in class org.apache.empire.xml.XMLWriter
-
Print writer.
- outOfRangeErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
P
- padLeft(String, int, char) - Static method in class org.apache.empire.commons.StringUtils
-
Pads a String to the left
- padRight(String, int, char) - Static method in class org.apache.empire.commons.StringUtils
-
Pads a String to the right
- parameterTypes - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
- params - Variable in class org.apache.empire.db.expr.column.DBFuncExpr
- params - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
- params - Variable in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
- paramsToString(Object[]) - Method in class org.apache.empire.db.DBUtils
-
Get all parameters as string (for logging only)
- paramValueToString(Object) - Method in class org.apache.empire.db.DBUtils
-
Get single parameter as string (for logging only)
- parenthesis - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
- parenthesis() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a function object which encloses the current expression in parenthesis.
- parenthesis() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
wraps the current expression with parenthesis.
- parenthesis() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
wraps the expression in Parenthesis
- parentTables - Variable in class org.apache.empire.db.DBCommand
- parseDate(String, Locale) - Static method in class org.apache.empire.commons.DateUtils
- parseLocalDate(String) - Static method in class org.apache.empire.commons.DateUtils
- parseLocalDate(String, DateTimeFormatter) - Static method in class org.apache.empire.commons.DateUtils
- parseLocalDateTime(String) - Static method in class org.apache.empire.commons.DateUtils
- parseLocalDateTime(String, DateTimeFormatter) - Static method in class org.apache.empire.commons.DateUtils
- parseModel(Connection) - Method in class org.apache.empire.db.validation.DBModelParser
-
This method is used to parse the populate the remote database
- pgAge(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/functions-datetime.html
- pgAge(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/functions-datetime.html
- pgBoolAnd(DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/textsearch-controls.html
- pgBoolOr(DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/textsearch-controls.html
- pgCompareAtAt(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/textsearch-controls.html
- pgExtract(PostgresExtractField, DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/functions-datetime.html
- pgInterval(int, PostgresIntervalExpr.PostgresIntervalUnitField) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- pgPlaintoTsquery(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/textsearch-controls.html
- pgToTsquery(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/textsearch-controls.html
- pgToTsvector(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/textsearch-controls.html
- pgWebsearchToTsquery(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
-
See https://www.postgresql.org/docs/current/textsearch-controls.html
- phrase - Variable in class org.apache.empire.db.expr.column.DBFuncExpr
- phrase - Variable in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
- PLAINTO_TSQUERY - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- plus(int) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new calculation object for either the SQL "+" (plus) or "-" (minus) operator depending on whether the supplied integer value is positive or negative.
- plus(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new calculation object for the SQL "+" (plus) operator.
- populateRemoteDatabase(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
- POSTGRES_KEYWORDS - Static variable in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
- PostgresAtAt - Class in org.apache.empire.dbms.postgresql
-
PostgresAtAt create a Postgres @@ comparator
- PostgresAtAt(DBColumnExpr, DBColumnExpr) - Constructor for class org.apache.empire.dbms.postgresql.PostgresAtAt
- PostgresBoolAndOrExpr - Class in org.apache.empire.dbms.postgresql
- PostgresBoolAndOrExpr(DBCompareExpr, boolean) - Constructor for class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
- PostgresDDLGenerator - Class in org.apache.empire.dbms.postgresql
- PostgresDDLGenerator(DBMSHandlerPostgreSQL) - Constructor for class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
- PostgresExtractField - Enum in org.apache.empire.dbms.postgresql
- PostgresFuncExpr - Class in org.apache.empire.dbms.postgresql
- PostgresFuncExpr(DBColumnExpr, PostgresSqlPhrase, Object[], DataType) - Constructor for class org.apache.empire.dbms.postgresql.PostgresFuncExpr
- PostgresIntervalExpr - Class in org.apache.empire.dbms.postgresql
- PostgresIntervalExpr(DBDatabase, int, PostgresIntervalExpr.PostgresIntervalUnitField) - Constructor for class org.apache.empire.dbms.postgresql.PostgresIntervalExpr
- PostgresIntervalExpr.PostgresIntervalUnitField - Enum in org.apache.empire.dbms.postgresql
- PostgresSqlPhrase - Enum in org.apache.empire.dbms.postgresql
-
Enum for all SQL phrases that may be supplied by the dbms
- prepareCmd(String) - Method in class org.apache.empire.commons.SqlFormat
- prepareInitRecord(DBRecordBase, boolean) - Method in class org.apache.empire.db.DBRowSet
-
Initialize this DBRowSet object and sets it's initial state.
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
- prepareParams(DBCommand, DBExpr) - Method in interface org.apache.empire.db.expr.column.DBPreparable
-
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.
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.column.DBValueExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
- prepareParams(DBCommand, DBExpr) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
- prepareQuery(Object, Object) - Method in interface org.apache.empire.data.list.DataListFactory
- prepareQuery(Object, Object) - Method in class org.apache.empire.data.list.DataListFactoryImpl
- prepareQuery(DBCommandExpr, DBContext) - Method in interface org.apache.empire.db.list.DBBeanListFactory
- prepareQuery(DBCommandExpr, DBContext) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
- prepareQuery(DBCommand, DBContext) - Method in interface org.apache.empire.db.list.DBRecordListFactory
- prepareQuery(DBCommand, DBContext) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
- prepareStatement(PreparedStatement, Object[]) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Prepares an sql statement by setting the supplied objects as parameters.
- prepend(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Puts a value or expression before the current expression
- PRIMARY_KEY - Enum constant in enum org.apache.empire.db.DBIndex.DBIndexType
- primaryKeyColumnMissing(DBIndex, DBColumn) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
-
This method is called when a column in a primary key of the Empire-db definition is missing in the database
- primaryKeyColumnMissing(DBIndex, DBColumn) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
-
handle primaryKeyColumnMissing errors
- primaryKeyMismatch(DBIndex, DBColumn[]) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
-
This method is called when the primary key of the Empire-db definition does not match the primary key of the existing table
- primaryKeyMismatch(DBIndex, DBColumn[]) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
- print(Document) - Method in class org.apache.empire.xml.XMLWriter
-
Prints the specified document.
- print(Document, String) - Method in class org.apache.empire.xml.XMLWriter
-
Prints the specified document.
- print(Node, int) - Method in class org.apache.empire.xml.XMLWriter
-
Prints the specified node recursively
- PropertyReadOnlyException - Exception in org.apache.empire.exceptions
- PropertyReadOnlyException(String) - Constructor for exception org.apache.empire.exceptions.PropertyReadOnlyException
- put(K, V) - Method in class org.apache.empire.commons.ArrayMap
- put(K, V, int) - Method in class org.apache.empire.commons.ArrayMap
Q
- qualified() - Method in class org.apache.empire.db.DBColumn
-
returns an expression that renames the column with its alias name
- qualified() - Method in class org.apache.empire.db.DBColumnExpr
-
returns an expression that renames the column with its alias name
- qualifyAll() - Method in class org.apache.empire.db.DBCommand
-
Makes sure all selected columns are identified by their proper names (qualified)
- QUARTER - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- QUERY_LIMIT_ROWS - Enum constant in enum org.apache.empire.dbms.DBMSFeature
- QUERY_SKIP_ROWS - Enum constant in enum org.apache.empire.dbms.DBMSFeature
- queryBean(Class<T>, DBRowSet, Object[]) - Method in class org.apache.empire.db.DBUtils
-
Queries a single bean based on primary key values
- queryBean(Class<T>, DBRowSet, DBCompareExpr) - Method in class org.apache.empire.db.DBUtils
-
Queries a single bean based on a where constraint
- queryBean(Class<T>, DBCompareExpr) - Method in class org.apache.empire.db.DBUtils
-
Queries a single bean based on a where constraint
- queryBean(DBCommandExpr, Class<T>) - Method in class org.apache.empire.db.DBUtils
-
Queries a single Java Bean for a given command
- queryBean(DBCommandExpr, DBBeanListFactory<T>) - Method in class org.apache.empire.db.DBUtils
-
queries a single Java Bean for a given command
- queryBeanList(DBCommandExpr, Class<T>, Object) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of Java beans for a given command
- queryBeanList(DBCommandExpr, Class<T>, DBRowSet, Object) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of Java beans for a given command
- queryBeanList(DBCommandExpr, DBBeanListFactory<T>, Object) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of Java beans for a given command
- queryBeanList(DBCommandExpr, DBBeanListFactory<T>, Object, int, int) - Method in class org.apache.empire.db.DBUtils
-
Query a list of simple Java objects (beans)
- queryColumns - Variable in class org.apache.empire.db.DBQuery
- queryDataEntry(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Queries a single DataListEntry item
- queryDataEntry(DBCommandExpr, Class<T>) - Method in class org.apache.empire.db.DBUtils
-
Queries a single DataListEntry item
- queryDataEntry(DBCommandExpr, Class<T>, boolean) - Method in class org.apache.empire.db.DBUtils
-
Deprecated.
- queryDataEntry(DBCommandExpr, Class<T>, DataListHead) - Method in class org.apache.empire.db.DBUtils
-
Queries a single DataListEntry item
- queryDataList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of DataListEntry items
- queryDataList(DBCommandExpr, int, int) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of DataListEntry items
- queryDataList(DBCommandExpr, Class<T>) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of DataListEntry items
- queryDataList(DBCommandExpr, Class<T>, int, int) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of DataListEntry items
- queryDataList(DBCommandExpr, Class<T>, DataListHead) - Method in class org.apache.empire.db.DBUtils
-
Queries a list of DataListEntry items
- queryDataList(DBCommandExpr, DataListFactory<T>, int, int) - Method in class org.apache.empire.db.DBUtils
-
Executes a query and returns a list of DataListEntry items
- QueryFailedException - Exception in org.apache.empire.db.exceptions
- QueryFailedException(DBObject, String, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.QueryFailedException
- QueryFailedException(DBMSHandler, String, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.QueryFailedException
- QueryNoResultException - Exception in org.apache.empire.db.exceptions
- QueryNoResultException(String) - Constructor for exception org.apache.empire.db.exceptions.QueryNoResultException
- queryObjectList(String, Object[], Collection<Object[]>, int) - Method in class org.apache.empire.db.DBUtils
-
Adds the result of a query to a given collection.
The individual rows will be added as an array of objects (object[]) - queryObjectList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns the result of a query as a list Object-Arrays This function should only be used for small lists.
- queryOptionList(String, Object[], Options) - Method in class org.apache.empire.db.DBUtils
-
Fills an option list provided with the result from a query.
- queryOptionList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns a list of key value pairs from an sql query.
- queryOptionList(DBCommandExpr, Options) - Method in class org.apache.empire.db.DBUtils
-
Fills an option list provided with the result from a query.
- queryRecordList(DBCommand, DBRowSet) - Method in class org.apache.empire.db.DBUtils
-
Executes a query and returns a list of DBRecord items
- queryRecordList(DBCommand, DBRowSet, Class<R>) - Method in class org.apache.empire.db.DBUtils
-
Executes a query and returns a list of DBRecord items
- queryRecordList(DBCommand, DBRecordListFactory<R>, int, int) - Method in class org.apache.empire.db.DBUtils
-
Executes a query and returns a list of DBRecord items
- queryRowCount(DBCommand) - Method in class org.apache.empire.db.DBUtils
-
Returns the number of rows returned by executing the select statement
- queryRowLimitExeeded() - Method in class org.apache.empire.db.DBUtils
-
Called to inform that the limit for DataList, Record and Bean queries has exceeded the maximum value
- querySimpleList(Class<T>, String, Object[], DataType, Collection<T>, int) - Method in class org.apache.empire.db.DBUtils
-
Adds the first column of a query result to a collection.
- querySimpleList(Class<T>, DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns a one dimensional array from an sql query.
- querySimpleList(Class<T>, DBCommandExpr, Collection<T>) - Method in class org.apache.empire.db.DBUtils
-
Adds the first column of a query result to a collection.
- querySimpleList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns a one dimensional array from an sql query.
- querySingleInt(String, Object[], int) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an int.
- querySingleInt(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an int.
- querySingleInt(DBCommandExpr, int) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an int.
- querySingleLong(String, Object[], long) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an int.
- querySingleLong(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as a long.
- querySingleLong(DBCommandExpr, long) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as a long.
- querySingleRow(String, Object[]) - Method in class org.apache.empire.db.DBUtils
-
Returns all values of the first row of a sql-query as an array.
- querySingleRow(String, Object[], boolean) - Method in class org.apache.empire.db.DBUtils
-
Returns all values of the first row of a sql-query as an array.
- querySingleRow(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns all values of the first row of a sql-query as an array.
- querySingleRow(DBCommandExpr, boolean) - Method in class org.apache.empire.db.DBUtils
-
Returns all values of the first row of a sql-query as an array.
- querySingleString(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as a string.
- querySingleString(DBCommandExpr, String) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as a string.
- querySingleValue(String, Object[], DataType, boolean) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an object.
- querySingleValue(String, Object[], DataType, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
-
Executes an select SQL-command that returns only one scalar value if no row are returned by the query then ObjectUtils.NO_VALUE is returned
- querySingleValue(String, Object[], DataType, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
-
Query a single value
- querySingleValue(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an object.
- querySingleValue(DBCommandExpr, boolean) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an object.
- querySingleValue(DBCommandExpr, Class<T>, boolean) - Method in class org.apache.empire.db.DBUtils
-
Returns the value of the first row/column of a sql-query as an object.
- quoteName - Variable in class org.apache.empire.db.DBColumn
R
- read(Object) - Method in class org.apache.empire.db.DBRecord
-
Reads a record from the database This method can only be used for tables with a single primary key
- read(Object[]) - Method in class org.apache.empire.db.DBRecord
-
Reads a record from the database
- read(Object[], DBRowSet.PartialMode, DBColumn...) - Method in class org.apache.empire.db.DBRecord
-
Reads a record partially i.e. not with all but just some selected fields There are two modes: 1.
- read(DBContext, DBRowSet, Object) - Method in class org.apache.empire.db.DBRecordBean
-
Reads a record from the database This method can only be used for tables with a single primary key
- read(DBContext, DBRowSet, Object[]) - Method in class org.apache.empire.db.DBRecordBean
-
Reads a record from the database
- read(DBContext, DBRowSet, Object[], DBRowSet.PartialMode, DBColumn...) - Method in class org.apache.empire.db.DBRecordBean
-
Reads a record partially i.e. not with all but just some selected fields There are two modes: 1.
- read(DBContext, DBRowSet, DBCompareExpr) - Method in class org.apache.empire.db.DBRecordBean
-
Reads a record from the database
- read(DBCompareExpr) - Method in class org.apache.empire.db.DBRecord
-
Reads a record from the database
- readConfiguration(String, boolean) - Method in class org.apache.empire.xml.XMLConfiguration
-
Reads the configuration file and parses the XML Configuration.
- readContext(ObjectInputStream) - Method in class org.apache.empire.db.DBRecord
- readOnly - Variable in class org.apache.empire.db.DBTableColumn
- readProperties(Object, String...) - Method in class org.apache.empire.xml.XMLConfiguration
-
reads all properties from a given properties node and applies them to the given bean
- readProperties(Object, Element) - Method in class org.apache.empire.xml.XMLConfiguration
-
reads all properties from a given properties node and applies them to the given bean
- readRecord(DBRecordBase, DBCommand) - Method in class org.apache.empire.db.DBRowSet
-
Reads a single record from the database using the given command object.
If a record is found the DBRecord object will hold all record data. - readRecord(DBRecordBase, DBCompareExpr) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
throws ERR_NOTSUPPORTED
- readRecord(DBRecordBase, DBCompareExpr) - Method in class org.apache.empire.db.DBQuery
-
Creates a select SQL-Command of the query call the InitRecord method to execute the SQL-Command.
- readRecord(DBRecordBase, DBCompareExpr) - Method in class org.apache.empire.db.DBRowSet
-
Reads a record from the database
- readRecord(DBRecordBase, DBCompareExpr, DBRowSet.PartialMode, DBColumn...) - Method in class org.apache.empire.db.DBRowSet
-
Reads the partial record for a given primary key from the database
- readRowSet(ObjectInputStream) - Method in class org.apache.empire.db.DBRecord
- record - Variable in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
- Record - Interface in org.apache.empire.data
-
The record interface provides methods used for updating data.
- RecordData - Interface in org.apache.empire.data
-
The RecordData interface provides methods for accessing data and context specific metadata.
- RecordDeleteFailedException - Exception in org.apache.empire.db.exceptions
- RecordDeleteFailedException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordDeleteFailedException
- RecordException - Exception in org.apache.empire.db.exceptions
- RecordException(Entity, Object[], ErrorType, String[]) - Constructor for exception org.apache.empire.db.exceptions.RecordException
- RecordException(Entity, Object[], ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.db.exceptions.RecordException
- RecordException(Record, ErrorType, String[]) - Constructor for exception org.apache.empire.db.exceptions.RecordException
- recordExists(Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
-
Returns true if the record exists in the database or false otherwise.
- recordExists(Object, DBContext) - Method in class org.apache.empire.db.DBRowSet
-
Returns true if the record exists in the database or false otherwise.
- RecordNotFoundException - Exception in org.apache.empire.db.exceptions
- RecordNotFoundException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordNotFoundException
- RecordReadOnlyException - Exception in org.apache.empire.db.exceptions
- RecordReadOnlyException(DBRecordBase) - Constructor for exception org.apache.empire.db.exceptions.RecordReadOnlyException
- RecordUpdateAmbiguousException - Exception in org.apache.empire.db.exceptions
- RecordUpdateAmbiguousException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordUpdateAmbiguousException
- RecordUpdateFailedException - Exception in org.apache.empire.db.exceptions
- RecordUpdateFailedException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordUpdateFailedException
- RECURSE_DEEP - Static variable in class org.apache.empire.commons.ClassUtils.Copy
- RECURSE_FLAT - Static variable in class org.apache.empire.commons.ClassUtils.Copy
- reference - Variable in class org.apache.empire.db.DBCmdParam
- reference() - Method in class org.apache.empire.db.DBColumn
-
Returns a reference expression for this column This can be used to reference a parent column in a subquery
- referenceOn(DBTableColumn) - Method in class org.apache.empire.db.DBTableColumn
-
Creates a foreign key relation for this column.
- refreshMView(DBMaterializedView, DBContext) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Immediately refreshes a Materialized View
- refreshView(DBContext) - Method in interface org.apache.empire.db.DBMaterializedView
- register(String) - Method in class org.apache.empire.db.DBDatabase
-
registers the database in the global list of databases
- relations - Variable in class org.apache.empire.db.DBDatabase
- releaseConnection(Connection, DBRollbackManager.ReleaseAction) - Method in class org.apache.empire.db.context.DBRollbackManager
-
releaseConnection from handler and perform
- remoteDb - Variable in class org.apache.empire.db.validation.DBModelChecker
- remoteDb - Variable in class org.apache.empire.db.validation.DBModelParser
- remoteName - Variable in class org.apache.empire.db.validation.DBModelParser
- remove() - Method in class org.apache.empire.db.DBReader.DBReaderIterator
-
Implements the Iterator Interface Method remove not implemented and not applicable.
- remove(Object) - Method in class org.apache.empire.commons.ArrayMap
- remove(Object) - Method in class org.apache.empire.commons.ArraySet
- remove(Object) - Method in class org.apache.empire.commons.Attributes
- remove(Object) - Method in class org.apache.empire.commons.Options
- remove(String) - Method in class org.apache.empire.commons.Attributes
- remove(String, char) - Static method in class org.apache.empire.commons.StringUtils
-
Removes all occurrences of c from s
- remove(String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Removes all occurrences of remove from s
- remove(DBCmdParam) - Method in class org.apache.empire.db.DBCmdParamList
- removeAllCommandParams(List<DBCompareExpr>) - Method in class org.apache.empire.db.DBCommand
-
internally used to remove all command params used in a list of constraints
- removeBlanks(String) - Static method in class org.apache.empire.commons.StringUtils
-
removes all blanks from s
- removeCommandParams(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
internally used to remove the command param used in a constraint
- removeConstraint(List<DBCompareExpr>, DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
removes a constraint on a particular column to the 'where' or 'having' collections
- removeConstraintOn(List<DBCompareExpr>, DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
removes a constraint on a particular column to the 'where' or 'having' collections
- removeHandler(Connection, DBObject) - Method in class org.apache.empire.db.context.DBRollbackManager
-
Remove the rollback handler for a particular Connection and Object
- removeHavingConstraint(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
removes a constraint on a particular column from the where clause
- removeHavingConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
removes a constraint on a particular column from the having clause
- removeIndex(DBIndex) - Method in class org.apache.empire.db.DBTable
-
removes an index.
- removeJoinsOn(DBColumn) - Method in class org.apache.empire.db.DBCommand
-
removes all joins to a given column
- removeJoinsOn(DBRowSet) - Method in class org.apache.empire.db.DBCommand
-
removes all joins to a given table or view
- removeRelation(DBRelation) - Method in class org.apache.empire.db.DBDatabase
-
removes a relation from the list of relations
- removeRollbackHandler(DBObject) - Method in class org.apache.empire.db.context.DBContextBase
- removeRollbackHandler(DBObject) - Method in interface org.apache.empire.db.DBContext
- removeRowsetFromAliasMap(DBRowSet) - Method in class org.apache.empire.db.DBDatabase
-
removes a rowset from the alias map
- removeSelect(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
-
removes one or more expressions from the Select expression list
- removeStmt(int) - Method in class org.apache.empire.db.DBSQLScript
-
Removes a statement from the list
- removeTable(DBTable) - Method in class org.apache.empire.db.DBDatabase
-
Removes a table from the list of database tables
- removeView(DBView) - Method in class org.apache.empire.db.DBDatabase
-
Removes a view from the list of database views
- removeWhereConstraint(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
removes a constraint on a particular column from the where clause
- removeWhereConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
removes a constraint on a particular column from the where clause
- replace(Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the replace(...) function.
- replace(String, String) - Method in class org.apache.empire.db.DBSQLBuilder
- replace(String, String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Replaces all occurrences of find in source by replace.
- replaceAll(String, String, String) - Static method in class org.apache.empire.commons.StringUtils
-
Returns a String with all occurrences of
fromwithinorigreplaced withto. - replaceSelect(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
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
- replaceStmt(int, String) - Method in class org.apache.empire.db.DBSQLScript
-
Replaces an entry in the list
- replaceStmt(int, String, Object[]) - Method in class org.apache.empire.db.DBSQLScript
-
Replaces an entry in the list
- required - Variable in class org.apache.empire.db.DBTableColumn
- reservedSQLKeywords - Variable in class org.apache.empire.dbms.DBMSHandlerBase
- reset(int) - Method in class org.apache.empire.db.DBSQLBuilder
- resetParamUsage() - Method in class org.apache.empire.db.DBCommand
-
internally used to reset the command param usage count.
- resetParamUsage(DBCommand) - Method in class org.apache.empire.db.DBCmdParamList
-
internally used to reset the command param usage count.
- resolveValue(Class<?>, String) - Method in class org.apache.empire.xml.XMLConfiguration
-
Resolves a property value by replacing variables and type conversion
- resolveVariable(String, String) - Method in class org.apache.empire.xml.XMLConfiguration
-
Returns the value for a given variable If a variable value cannot be resolved the function should return the default value
- result() - Method in class org.apache.empire.db.DBCommandExpr
-
Returns a ColumnExpr for the result of the query If the command must have exactly one select column otherwise a NotSupportedException is thrown;
- RET_NULL - Static variable in class org.apache.empire.commons.ClassUtils.Copy
- RET_SELF - Static variable in class org.apache.empire.commons.ClassUtils.Copy
- reverse() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the reverse(...) function.
- reverse() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
This function swaps the left and the right statements of the join expression.
- reverse() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
This function swaps the left and the right statements of the join expression.
- reverse() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
This function swaps the left and the right statements of the join expression.
- reversed(DBJoinType) - Static method in enum org.apache.empire.db.DBJoinType
- right - Variable in class org.apache.empire.db.DBCombinedCmd
- right - Variable in class org.apache.empire.db.expr.column.DBConcatExpr
- right - Variable in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
- right - Variable in class org.apache.empire.db.expr.join.DBColumnJoinExpr
- right - Variable in class org.apache.empire.db.expr.join.DBCrossJoinExpr
- RIGHT - Enum constant in enum org.apache.empire.db.DBJoinType
-
SQL Right join
- RIGHT_JOIN - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- rollback() - Method in class org.apache.empire.db.context.DBContextBase
-
Discards all changes made since the previous commit/rollback and releases any database locks currently held by this Connection.
- rollback() - Method in interface org.apache.empire.db.DBContext
- rollback(Connection) - Method in interface org.apache.empire.db.context.DBRollbackHandler
- rollback(Connection) - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
- Rollback - Enum constant in enum org.apache.empire.db.context.DBRollbackManager.ReleaseAction
- round(int) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an function object that rounds a number espression with the given decimals.
- rownum - Variable in class org.apache.empire.data.list.DataListEntry
- rowset - Variable in class org.apache.empire.db.DBColumn
- rowset - Variable in class org.apache.empire.db.DBRecord
- rowset - Variable in class org.apache.empire.db.DBRecordBean
- rowset - Variable in class org.apache.empire.db.list.DBRecordListFactoryImpl
- rowsetAliasMap - Variable in class org.apache.empire.db.DBDatabase
- rowsetName(DBRowSet) - Static method in exception org.apache.empire.db.exceptions.RecordException
S
- saveAsFile(Document, String) - Static method in class org.apache.empire.xml.XMLWriter
-
Saves an XML-Document as file.
- schema - Variable in class org.apache.empire.db.validation.DBModelParser
- SECOND - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- SECONDS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
- select - Variable in class org.apache.empire.db.DBCommand
- select(Collection<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBCommand
-
Adds a collection of columns to the select phrase of an sql statement.
- select(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds a DBColumnExpr object to the Select collection
- select(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of columns to the select phrase of an sql statement.
- SELECT - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- selectDistinct - Variable in class org.apache.empire.db.DBCommand
- selectDistinct() - Method in class org.apache.empire.db.DBCommand
-
Sets whether or not the select statement should contain the distinct directive .
- selectQualified(Collection<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBCommand
-
Adds a collection of columns to the select phrase of an sql statement.
- selectQualified(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of columns with their qualified name to the select phrase of an sql statement.
- selectSetExpressions() - Method in class org.apache.empire.db.DBCommand
-
Selects all set expressions that have been set for this command
- selectSetExpressions(List<DBSetExpr>) - Method in class org.apache.empire.db.DBCommand
-
Selects all set expressions i.e. converts all calls like cmd.set(COL.to(VALUE)) into a select of the form cmd.select(VALUE.as(COL))
- SEQUENCE_NAME_SUFFIX - Variable in class org.apache.empire.dbms.DBMSHandlerBase
- SEQUENCE_NEXTVAL - Enum constant in enum org.apache.empire.dbms.DBMSFeature
- SEQUENCES - Enum constant in enum org.apache.empire.dbms.DBMSFeature
- set - Variable in class org.apache.empire.db.DBCommand
- set(int, Object) - Method in interface org.apache.empire.dbms.DBMSHandler.DBSetGenKeys
- set(Object, String) - Method in class org.apache.empire.commons.Options
-
Sets or adds Adds an option at the bottom
- set(Object, String, Boolean) - Method in class org.apache.empire.commons.Options
-
Sets or adds Adds an option at the bottom
- set(Object, String, Boolean, Options.InsertPos) - Method in class org.apache.empire.commons.Options
-
Sets or Adds an option at a certain position
- set(Object, String, Options.InsertPos) - Method in class org.apache.empire.commons.Options
-
Sets or Adds an option at a certain position
- set(String, Object) - Method in class org.apache.empire.commons.Attributes
- set(Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
sets the value of a field.
- set(Column, Object) - Method in interface org.apache.empire.data.Record
-
sets a record value based on a column.
- set(Column, Object) - Method in class org.apache.empire.db.DBRecord
-
Overridden to change return type from DBCommandExpr to DBCommand
- set(Column, Object) - Method in class org.apache.empire.db.DBRecordBase
-
Sets the value of a column in the record.
- set(Column, Object) - Method in class org.apache.empire.db.DBRecordBean
-
Overridden to change return type from DBCommandExpr to DBCommand
- set(DBXmlDictionary) - Static method in class org.apache.empire.db.DBXmlDictionary
- set(DBSetExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds a single set expressions to this command Use column.to(...) to create a set expression
- set(DBSetExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of set expressions to this command Use column.to(...) to create a set expression
- SET - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- SET_DEFAULTS - Enum constant in enum org.apache.empire.db.DBRowSet.FieldInitMode
- SET_DEFAULTS_DEFERRED - Enum constant in enum org.apache.empire.db.DBRowSet.FieldInitMode
- setActive(boolean) - Method in class org.apache.empire.commons.OptionEntry
- setAttribute(String, Object) - Method in class org.apache.empire.data.bean.BeanProperty
-
Sets an attribute for this column
- setAttribute(String, Object) - Method in interface org.apache.empire.data.ColumnExpr
-
Sets the value of a column attribute.
- setAttribute(String, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Sets the value of a column attribute.
- setAttribute(String, Object) - Method in class org.apache.empire.db.DBRowSet
-
Sets the value of a attribute.
- setBean(T) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- setBeanProperties(Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- setBeanProperties(Object) - Method in class org.apache.empire.data.list.DataListEntry
-
Injects the current field values into a java bean.
- setBeanProperties(Object) - Method in class org.apache.empire.db.DBRecordData
-
Injects the current field values into a java bean.
- setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in class org.apache.empire.data.list.DataListEntry
-
Injects the current field values into a java bean.
- setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in interface org.apache.empire.data.RecordData
-
copies all field values into a static Java Bean.
- setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in class org.apache.empire.db.DBRecordData
-
Injects the current field values into a java bean.
- setBeanProperty(Object, Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- setBeanProperty(ColumnExpr, Object, Object) - Method in class org.apache.empire.data.list.DataListEntry
-
Set a single property value on a java bean object
- setBeanProperty(ColumnExpr, Object, Object) - Method in class org.apache.empire.db.DBRecordData
-
Set a single property value on a java bean object
- setBeanPropertyName(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Sets the Java bean property name for this column.
- setBeanType(Class<?>) - Method in class org.apache.empire.db.DBRowSet
-
sets the bean type for this rowset
- setBeanType(Class<T>, DBBeanListFactory<T>) - Method in class org.apache.empire.db.DBRowSet
-
sets the bean type for this rowset
- setBooleanType(DBMSHandlerOracle.BooleanType) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- setBreakAfter(boolean) - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- setBreakBefore(boolean) - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- setCaseInsensitive() - Method in class org.apache.empire.db.DBColumn
-
Sets the case sensitivity of the column to insensitive Text columns are case sensitive by default
- setCaseSensitive(Boolean) - Method in class org.apache.empire.db.DBColumn
-
Sets the case sensitivity of the columnExpr
- setCharacterSet(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
- setCmd(String) - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
- setCmdParams(DBCmdParamList) - Method in class org.apache.empire.db.DBSQLBuilder
- setCollationSupport(int) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
-
Returns the support for collations 0 = none 1 = index column definition 2 = table column definition 3 = table and index column definition
- setColumnNumberFormat(ColumnExpr, String, boolean) - Method in class org.apache.empire.commons.ColumnUtils
- setComment(String) - Method in class org.apache.empire.db.DBColumn
-
Sets a comment describing the current column.
- setComment(String) - Method in class org.apache.empire.db.DBRowSet
- setConstraint(List<DBCompareExpr>, DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
adds a constraint to the 'where' or 'having' collections
- setControlType(String) - Method in class org.apache.empire.data.bean.BeanProperty
- setControlType(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Sets the controlType attribute.
- setCreateReverseFunction(boolean) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
-
Set whether to create the reverse function with the database
- setDatabaseName(String) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
Sets the name for the database / schema
This names is required for creating a database.
When a name is set, the handler will automatically execute 'USE dbname' when the database is opened. - setDatabaseName(String) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
Sets the name for the database / schema
This names is required for creating a database.
When a name is set, the dbms will automatically execute 'USE dbname' when the database is opened. - setDatabaseName(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Sets the name for the database / schema
This names is required for creating a database.
When a name is set, the dbms will automatically execute 'USE dbname' when the database is opened. - setDatabaseName(String) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Sets the name for the database / schema
This names is required for creating a database.
When a name is set, the dbms will automatically execute 'USE dbname' when the database is opened. - setDatabaseName(String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- setDate(Date, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
- setDDLColumnDefaults(boolean) - Method in class org.apache.empire.db.DBDDLGenerator
-
Set true if column default values should be included in DDL Statements
- setDecimalScale(int) - Method in class org.apache.empire.db.DBTableColumn
-
Sets the scale of a decimal.
- setDefaultCascadeDeleteAction(DBRelation.DBCascadeAction) - Method in class org.apache.empire.db.DBTable
-
sets the default cascade action for deletes on foreign key relations.
- setDefaultEncoding(String) - Static method in class org.apache.empire.db.DBBlobData
-
Sets the defaultEncoding used in a constructor.
- setDefaultSortOrder(Boolean) - Method in class org.apache.empire.db.DBColumnExpr
-
Sets the default sort order
- setDefaultValue(Object) - Method in class org.apache.empire.db.DBTableColumn
-
Sets the default column value.
- setDescending(boolean) - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
- setElementText(Node, Object) - Static method in class org.apache.empire.xml.XMLUtil
-
Sets the text value of an Element. if current text of the element is replaced with the new text if text is null any current text value is deleted.
- setEngine(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Set the table engine that is used when creating new tables
- setEntityName(String) - Method in class org.apache.empire.db.DBRowSet
-
sets the entity name for creating qualified names.
- setEnumOptions(Class<? extends Enum<?>>) - Method in class org.apache.empire.db.DBTableColumn
-
sets the options from an enum class
- setEnumOptions(Class<? extends Enum<?>>) - Method in class org.apache.empire.db.DBView.DBViewColumn
-
sets the options from an enum class
- setFactoryForType(Class<?>, DBBeanListFactory<T>) - Static method in class org.apache.empire.db.list.DBBeanFactoryCache
-
sets the DBRowSet instance assigned to a particular Java bean type
- setFieldModified(int, boolean) - Method in class org.apache.empire.db.DBRecordBase
-
Sets a fields modified status
- setFormatter(SqlFormat.SqlFormatter) - Static method in class org.apache.empire.commons.SqlFormat
-
Replace the current SqlFormatter
- setImplementation(BeanPropertyUtils.BeanPropertyUtilsImpl) - Static method in class org.apache.empire.commons.BeanPropertyUtils
-
Allows to override the implementation
- setIndent(boolean) - Method in enum org.apache.empire.commons.SqlFormat.KeyWord
- setInstance(ColumnUtils) - Static method in class org.apache.empire.commons.ColumnUtils
- setKeyColumn(Column) - Method in class org.apache.empire.data.bean.BeanClass
-
Sets the key to a single column
- setKeyColumn(DBView.DBViewColumn) - Method in class org.apache.empire.db.DBView
-
identifies the column that uniquely identifies a row in the view
- setKeyColumns(Column[]) - Method in class org.apache.empire.data.bean.BeanClass
-
Sets the list of key columns.
- setKeyColumns(DBView.DBViewColumn...) - Method in class org.apache.empire.db.DBView
-
identifies the columns that uniquely identify a row in the view
- setLinkName(String) - Method in class org.apache.empire.db.DBDatabase
-
Sets the name of the database link used to identify objects.
- setMapImplementation(Map<Class<?>, DBBeanListFactory<?>>) - Static method in class org.apache.empire.db.list.DBBeanFactoryCache
-
Allows to provide a different implementation of the bean factory map
- setMessageFormatter(EmpireException.ExceptionMessageFormatter) - Static method in exception org.apache.empire.exceptions.EmpireException
- setMinMaxValue(T, Number, Number) - Static method in class org.apache.empire.commons.ColumnUtils
-
Set the minimum and maximum values of a columnExpr
- setNormalizedColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBColumn
-
Sets a normalized columnExpr for this columnExpr
- setNumberFormat(T, String, boolean) - Static method in class org.apache.empire.commons.ColumnUtils
-
Sets the number format options for a columnExpr
- setNumberType(String) - Method in class org.apache.empire.db.DBColumn
-
Sets the number type to a given value
- setObjectOwner(String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
- setObjectStringifier(StringUtils.ObjectStringifier) - Static method in class org.apache.empire.commons.StringUtils
- setOnDeleteAction(DBRelation.DBCascadeAction) - Method in class org.apache.empire.db.DBRelation
-
sets the action taken when deleting records that affect this foreign key relation See DBCascadeAction enum for details.
- setOptimizerHint(String) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- setOptimizerIndexHint(DBIndex) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- setOptionGroupResolver(Options.OptionGroupResolver) - Method in class org.apache.empire.commons.Options
-
Sets a function that determines the group to which an option entry belongs.
- setOptions(String) - Method in class org.apache.empire.db.DBIndex
-
Sets additional database specific index options
- setOptions(Options) - Method in class org.apache.empire.data.bean.BeanProperty
- setOptions(Options) - Method in class org.apache.empire.db.DBColumnExpr
-
Sets the options for this column indicating all valid values.
- setOracle8Compatibilty(boolean) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- setParams(Object[]) - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
- setParams(Object[]) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
set the value associated with this value expression
- setParentRecord(DBColumn, DBRecordBase) - Method in class org.apache.empire.db.DBRecordBase
-
For DBMS with IDENTITY-columns defer setting the parent-id until the record is inserted The parent record must have a one-column primary key
- setParentTables(DBRowSet...) - Method in class org.apache.empire.db.DBCommand
-
Set parent tables for subquery command generation.
- setPreparedStatementsEnabled(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
-
Enables or disables the use of prepared statements for update and insert commands as well as for read operations on a DBRecord.
- setPreparedStatementsEnabled(boolean) - Method in class org.apache.empire.db.DBDatabase
-
Enables or Disables the use of Prepared Statements only for the read and update operations in DBRecord.
- setPrimaryKey(DBColumn...) - Method in class org.apache.empire.db.DBTable
-
Sets the primary key.
- setPrivateFieldValue(Class<?>, Object, String, Object) - Static method in class org.apache.empire.commons.ClassUtils
-
Modifies a private field value using reflection
- setPrivateFieldValue(Object, String, Object) - Static method in class org.apache.empire.commons.ClassUtils
-
Modifies a private field value using reflection
- setProperty(Object, String, Object) - Method in class org.apache.empire.commons.BeanPropertyUtils.BeanPropertyUtilsImpl
- setProperty(Object, String, Object) - Static method in class org.apache.empire.commons.BeanPropertyUtils
-
Set a single property value of a java bean object used by readProperties.
- setPropertyValue(Object, String, Object) - Method in class org.apache.empire.xml.XMLConfiguration
-
Sets a property value
- setPropertyValue(Object, Element) - Method in class org.apache.empire.xml.XMLConfiguration
-
Sets the property value of an XML Element
- setReadOnly(boolean) - Method in class org.apache.empire.db.DBTableColumn
-
Sets the read only attribute of the column.
- setRecordValue(Column, Object) - Method in class org.apache.empire.db.DBRecordBase
-
set a record value from a particular bean property.
- setRecordValues(Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- setRecordValues(Object) - Method in interface org.apache.empire.data.Record
-
sets all record values from a particular bean.
- setRecordValues(Object) - Method in class org.apache.empire.db.DBRecordBase
-
Sets record values from the suppied java bean.
- setRecordValues(Object, Collection<Column>) - Method in class org.apache.empire.data.bean.BeanRecordProxy
- setRecordValues(Object, Collection<Column>) - Method in interface org.apache.empire.data.Record
-
sets all record values from a particular bean.
- setRecordValues(Object, Collection<Column>) - Method in class org.apache.empire.db.DBRecordBase
-
Sets record values from the supplied java bean.
- setReference(Object) - Method in class org.apache.empire.db.DBCmdParam
-
Sets a reference object associated with this param
- setRegExPattern(String) - Method in class org.apache.empire.db.DBColumn
-
Set the regular expression to validate the columnExpr value
- setRequired(boolean) - Method in class org.apache.empire.db.DBTableColumn
-
Changes the required property of the table column
Use for dynamic data model changes only. - setRollbackHandlingEnabled(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
-
Enables or disables rollback handling
- setRollbackHandlingEnabled(boolean) - Method in class org.apache.empire.db.DBRecord
-
Set whether or not RollbackHandling will be performed for this record Since Rollback handling requires additional resources it should only be used if necessary Especially for bulk operations it should be disabled
- setRollbackHandlingEnabled(boolean) - Method in class org.apache.empire.db.DBRecordBean
-
Set whether or not RollbackHandling will be performed for this record Since Rollback handling requires additional resources it should only be used if necessary Especially for bulk operations it should be disabled
- setRowsetData(DBRecordBase, Object) - Method in class org.apache.empire.db.DBRowSet
-
May be used by a Rowset to store additional data on a record
- setSchema(String) - Method in class org.apache.empire.db.DBDatabase
-
Sets the schema for SQL statements.
- setSchemaName(String) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
- setSequenceTableName(String) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
Sets the name of the sequence table.
- setSequenceTableName(String) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
Sets the name of the sequence table.
- setSequenceTableName(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
Sets the name of the sequence table.
- setSequenceTableName(String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Sets the name of the sequence table.
- setSingleByteChars(boolean) - Method in class org.apache.empire.db.DBTableColumn
-
sets whether this column is a single byte character or text column
- setSize(double) - Method in class org.apache.empire.db.DBTableColumn
-
Changes the size of the table column
Use for dynamic data model changes only. - setSortExpr(String) - Method in class org.apache.empire.db.DBColumn
-
Sets a sort function template for a given column
- setSortExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBColumn
-
Sets a sort function expression for a given column
- setStandardIdentityColumnName(String) - Method in class org.apache.empire.db.validation.DBModelParser
- setStandardTimestampColumnName(String) - Method in class org.apache.empire.db.validation.DBModelParser
- setterColumns - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
- setText(String) - Method in class org.apache.empire.commons.OptionEntry
- setTime(Date, int, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
- setTimestampColumn(DBColumn) - Method in class org.apache.empire.db.DBRowSet
- setTitle(String) - Method in class org.apache.empire.data.bean.BeanProperty
- setTitle(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Sets the title attribute.
- setType(DBJoinType) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
alters the join type for this join
- setType(DBJoinType) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
-
alters the join type for this join
- setUpdateable(boolean) - Method in class org.apache.empire.db.DBQuery
-
Sets whether or not records for this query can be updated Initially DBQuery records are not updateable For a query to be updateable it must have key columns
- setUseDateTime2(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Sets whether or not to use the DATETIME2 datatype instead of DATETIME for timestamps Default is true (set to false for existing databases using DATETIME!)
- setUsePostgresSerialType(boolean) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
-
Sets whether or not the Postgres Serial Type is used for Identity columns
- setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
-
If set to true a special table is used for sequence number generation.
Otherwise the AutoIncrement feature of Derby is used identiy fields. - setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
-
If set to true a special table is used for sequence number generation.
Otherwise the AutoIncrement feature of H2 is used identiy fields. - setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
-
If set to true a special table is used for sequence number generation.
Otherwise the AutoIncrement feature of MySQL is used identity fields. - setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
If set to true a special table is used for sequence number generation.
Otherwise the AutoIncrement feature of MySQL is used identiy fields. - setUseUnicodePrefix(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
-
Sets whether or not to use a Unicode Prefix (N) for all text values Default is true
- setUtils(DBUtils) - Method in class org.apache.empire.db.context.DBContextBase
- setValidateFieldValues(boolean) - Method in class org.apache.empire.db.DBRecordBase
-
Set whether or not values are checked for validity when calling setValue().
- setValue(int, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
sets the value of a field.
- setValue(int, Object) - Method in interface org.apache.empire.data.Record
-
sets a record value based on the field index.
- setValue(int, Object) - Method in class org.apache.empire.db.DBRecordBase
-
Sets the value of a column in the record.
- setValue(Object) - Method in class org.apache.empire.commons.Attributes.Attribute
- setValue(Object) - Method in class org.apache.empire.db.DBCmdParam
-
Sets the current value of the parameter
- setValue(Object) - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
set the value associated with this value expression
- setValue(Object) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
The value to compare the column expression with
- setValue(Object) - Method in class org.apache.empire.db.expr.set.DBSetExpr
-
The value to which to set the column
- setValue(Column, Object) - Method in class org.apache.empire.db.DBRecordBase
-
Deprecated.
- setValue(V) - Method in class org.apache.empire.commons.ArrayMap.Entry
- setValueUtils(ValueUtils) - Static method in class org.apache.empire.commons.ObjectUtils
- setXmlWriterDebugPath(String) - Static method in class org.apache.empire.xml.XMLWriter
- SF_DEFAULT - Static variable in class org.apache.empire.db.DBCommandExpr
- SF_SKIP_FROM - Static variable in class org.apache.empire.db.DBCommandExpr
- SF_SKIP_GROUP - Static variable in class org.apache.empire.db.DBCommandExpr
- SF_SKIP_LIMIT - Static variable in class org.apache.empire.db.DBCommandExpr
- SF_SKIP_ORDER - Static variable in class org.apache.empire.db.DBCommandExpr
- SF_SKIP_SELECT - Static variable in class org.apache.empire.db.DBCommandExpr
- SF_SKIP_WHERE - Static variable in class org.apache.empire.db.DBCommandExpr
- size - Variable in class org.apache.empire.db.DBTableColumn
- size - Variable in class org.apache.empire.db.DBView.DBViewColumn
- size() - Method in class org.apache.empire.commons.Attributes
- size() - Method in class org.apache.empire.commons.Options
- size() - Method in class org.apache.empire.db.DBCmdParamList
- size() - Method in interface org.apache.empire.db.DBCmdParams
- skip - Variable in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- skip - Variable in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- SKIP_CLONE - Static variable in class org.apache.empire.commons.ClassUtils.Copy
- SKIP_INST - Static variable in class org.apache.empire.commons.ClassUtils.Copy
- SKIP_SERIAL - Static variable in class org.apache.empire.commons.ClassUtils.Copy
- skipLiteral() - Method in class org.apache.empire.commons.SqlFormat
- skipParenthesis() - Method in class org.apache.empire.commons.SqlFormat
- skipRows - Variable in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
- skipRows - Variable in class org.apache.empire.dbms.hsql.DBCommandHSql
- skipRows - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
- skipRows - Variable in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- skipRows(int) - Method in class org.apache.empire.db.DBCommand
-
Overridden to change return type from DBCommandExpr to DBCommand
- skipRows(int) - Method in class org.apache.empire.db.DBCommandExpr
-
sets the offset of the first row to return when executing a query command.
- skipRows(int) - Method in class org.apache.empire.db.DBReader
-
Moves the cursor down the given number of rows.
- skipRows(int) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
- skipRows(int) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
- skipRows(int) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
- skipRows(int) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- skipRows(int) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
- skipRows(int) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
- Sort - Enum constant in enum org.apache.empire.commons.Options.InsertPos
- sortAttributes(NamedNodeMap) - Method in class org.apache.empire.xml.XMLWriter
-
Sorts attributes by name.
- SPACE - Static variable in class org.apache.empire.commons.StringUtils
-
Single Space
- sql - Variable in class org.apache.empire.db.DBSQLBuilder
- SQL_BOOLEAN_FALSE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_BOOLEAN_TRUE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_CONCAT_EXPR - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_CURRENT_DATE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_CURRENT_DATETIME - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_CURRENT_TIME - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_CURRENT_TIMESTAMP - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_DATABASE_LINK - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_DATE_PATTERN - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_DATE_TEMPLATE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_DATETIME_PATTERN - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_DATETIME_TEMPLATE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_ABS - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_AVG - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_CEILING - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_COALESCE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_CONCAT - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_CONTAINS - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_DAY - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_DECODE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_DECODE_ELSE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_DECODE_PART - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_DECODE_SEP - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_ESCAPE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_FLOOR - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_FORMAT - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_LENGTH - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_LOWER - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_LTRIM - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_MAX - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_MIN - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_MOD - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_MONTH - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_REPLACE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_REVERSE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_ROUND - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_RTRIM - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_STRAGG - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_STRINDEX - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_STRINDEXFROM - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_SUBSTRING - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_SUBSTRINGEX - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_SUM - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_TRIM - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_TRUNC - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_UPPER - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_FUNC_YEAR - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_NULL - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_PARAMETER - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_PSEUDO_TABLE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_QUOTES_CLOSE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_QUOTES_OPEN - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_RENAME_COLUMN - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_RENAME_TABLE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_TIME_PATTERN - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_TIME_TEMPLATE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_TIMESTAMP_PATTERN - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SQL_TIMESTAMP_TEMPLATE - Enum constant in enum org.apache.empire.dbms.DBSqlPhrase
- SqlFormat - Class in org.apache.empire.commons
-
SqlFormat This class pretty-formats an SQL command.
- SqlFormat(String, Object[], DataType[]) - Constructor for class org.apache.empire.commons.SqlFormat
-
SqlFormat Constructor
- SqlFormat.DefaultSqlFormatter - Class in org.apache.empire.commons
-
DefaultSqlFormatter Uses the default implementation to format SQL
- SqlFormat.KeyWord - Enum in org.apache.empire.commons
-
SQL KeyWord
- SqlFormat.SqlFormatter - Interface in org.apache.empire.commons
-
SqlFormatter interface for customization
- SQLITE_KEYWORDS - Static variable in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
- SQLiteDDLGenerator - Class in org.apache.empire.dbms.sqlite
- SQLiteDDLGenerator(DBMSHandlerSQLite) - Constructor for class org.apache.empire.dbms.sqlite.SQLiteDDLGenerator
- SQLStmt(String, Object[]) - Constructor for class org.apache.empire.db.DBSQLScript.SQLStmt
- sqlStmtList - Variable in class org.apache.empire.db.DBSQLScript
- STANDARD - Enum constant in enum org.apache.empire.db.DBIndex.DBIndexType
- startWith - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
- startWith(DBCompareExpr) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
- StatementFailedException - Exception in org.apache.empire.db.exceptions
- StatementFailedException(ErrorType, String[], int, SQLException) - Constructor for exception org.apache.empire.db.exceptions.StatementFailedException
-
Constructor for derived classes only
- StatementFailedException(DBMSHandler, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.StatementFailedException
-
Constructor for StatementFailedException
- stringAgg(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns string aggregation expression
- stringAgg(String, DBOrderByExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns string aggregation expression
- stringToBoolean(String) - Method in class org.apache.empire.db.DBSQLBuilder
-
this function converts a string containing a boolean expression to a boolean.
- StringUtils - Class in org.apache.empire.commons
-
This class contains common functions for comparing and converting values of type String.
- StringUtils.ObjectStringifier - Class in org.apache.empire.commons
-
ObjectStringifier Converts an object to a String
- substring(int) - Method in class org.apache.empire.db.DBColumnExpr
-
Overloaded.
- substring(int, int) - Method in class org.apache.empire.db.DBColumnExpr
-
Overloaded.
- substring(int, DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Overloaded.
- substring(DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the substring(...) function.
- substring(DBExpr, int) - Method in class org.apache.empire.db.DBColumnExpr
-
Overloaded.
- substring(DBExpr, DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the substring(...) function.
- sum() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an aggregation function object which calculates the sum for the current expression over a group of rows.
- SYSDATE - Static variable in class org.apache.empire.db.DBDatabase
T
- T - Variable in class org.apache.empire.db.generic.TRecord
- tableMap - Variable in class org.apache.empire.db.validation.DBModelParser
- tables - Variable in class org.apache.empire.db.DBDatabase
- TC - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
- TDatabase<DB extends TDatabase<DB>> - Class in org.apache.empire.db.generic
- TDatabase() - Constructor for class org.apache.empire.db.generic.TDatabase
-
Constructs a new DBDatabase object set the variable 'schema' = null.
- TDatabase(String) - Constructor for class org.apache.empire.db.generic.TDatabase
-
Constructs a new DBDatabase object and sets the specified schema object.
- TDatabase(String, String) - Constructor for class org.apache.empire.db.generic.TDatabase
-
Constructs a new DBDatabase object and sets the specified schema object.
- tempContext - Variable in class org.apache.empire.db.DBRecordBean
- template - Variable in class org.apache.empire.db.expr.column.DBFuncExpr
- template - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
- TEMPLATE_SEP_CHAR - Static variable in class org.apache.empire.commons.StringUtils
- testSerialization(Class<T>, T) - Static method in class org.apache.empire.commons.ClassUtils
-
Used to test Serialization
- TEXT_DELIMITER - Static variable in class org.apache.empire.db.DBSQLBuilder
- TIME - Enum constant in enum org.apache.empire.data.DataType
-
Time only (hh:mm:ss) Might be emulated by a DATE column with a fix date of 1970-01-01
- TIMESTAMP - Enum constant in enum org.apache.empire.data.DataType
-
Timestamp i.e. date including time and nanoseconds.
- timestampColumn - Variable in class org.apache.empire.db.DBRowSet
- timestampIndex - Variable in class org.apache.empire.db.list.DBRecordListFactoryImpl
- TIMEZONE - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- TIMEZONE_HOUR - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- TIMEZONE_MINUTE - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- to(Object) - Method in class org.apache.empire.db.DBColumn
-
Creates and returns a new DBSetExpr object.
- TO_TSQUERY - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- TO_TSVECTOR - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- toArray() - Method in class org.apache.empire.commons.Attributes
- toArray() - Method in class org.apache.empire.commons.Options
- toArray(Class<T>, T...) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts varArgs to an array
- toBoolean(Object, boolean) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an object value to a boolean.
- toCamelCase(String, boolean) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a String to camel case Words must be separated by underscore
- toChar() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a new DBFuncExpr object (to_char SQL statement) with the parameters prefix = "to_char(" and postfix = ")"
- toChar(String) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a new DBFuncExpr object (to_char SQL statement) with the parameters prefix = "to_char(" and postfix = ", * '"+format+"')"
- toDate(Object) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an object value to a Date.
- toDate(LocalDate) - Static method in class org.apache.empire.commons.DateUtils
- toDate(LocalDateTime) - Static method in class org.apache.empire.commons.DateUtils
- toDecimal(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Deprecated.
- toDecimal(Object) - Method in class org.apache.empire.commons.ValueUtils
-
converts an object to a decimal.
- toDouble(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Deprecated.
- toDouble(Object) - Method in class org.apache.empire.commons.ValueUtils
-
converts an object to a double.
- toEnum(Class<T>, Object) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an object to an enum of the given type
- toEnumByName(Class<T>, String) - Method in class org.apache.empire.commons.ValueUtils
-
find by name
- toInteger(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Deprecated.
- toInteger(Object) - Method in class org.apache.empire.commons.ValueUtils
-
converts an object to an integer.
- toLocalDate(Object) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an object value to a Date.
- toLocalDate(Date) - Static method in class org.apache.empire.commons.DateUtils
- toLocalDate(Timestamp) - Static method in class org.apache.empire.commons.DateUtils
- toLocalDate(Date) - Static method in class org.apache.empire.commons.DateUtils
- toLocalDateTime(Object) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an object value to a Date.
- toLocalDateTime(Date) - Static method in class org.apache.empire.commons.DateUtils
- toLocalDateTime(Timestamp) - Static method in class org.apache.empire.commons.DateUtils
- toLocalDateTime(Date) - Static method in class org.apache.empire.commons.DateUtils
- toLong(Object) - Static method in class org.apache.empire.commons.ObjectUtils
-
Deprecated.
- toLong(Object) - Method in class org.apache.empire.commons.ValueUtils
-
converts an object to a long.
- toLower(String, int) - Static method in class org.apache.empire.commons.StringUtils
-
makes the first n characters of s lower case
- Top - Enum constant in enum org.apache.empire.commons.Options.InsertPos
- toString() - Method in class org.apache.empire.commons.ArrayMap.Entry
- toString() - Method in class org.apache.empire.commons.ArraySet
- toString() - Method in class org.apache.empire.commons.Attributes
- toString() - Method in class org.apache.empire.commons.OptionEntry
- toString() - Method in class org.apache.empire.commons.Options
- toString() - Method in class org.apache.empire.data.list.DataListEntry
- toString() - Method in class org.apache.empire.db.DBClobData
-
Returns a CLOB String.
- toString() - Method in enum org.apache.empire.db.DBCmpType
-
For Debugging only
- toString() - Method in class org.apache.empire.db.DBColumn
-
Override the toString method.
- toString() - Method in class org.apache.empire.db.DBColumnExpr
-
For Debugging
- toString() - Method in class org.apache.empire.db.DBDatabase.DBSystemDate
- toString() - Method in class org.apache.empire.db.DBRelation
- toString() - Method in class org.apache.empire.db.DBSQLBuilder
-
returns the SQL as a String
- toString() - Method in class org.apache.empire.db.DBSQLScript
-
Returns the sql script as a string
- toString() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Overrides the toString method.
- toString() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
- toString() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
For Debugging
- toString() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
-
For Debugging
- toString() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
For Debugging
- toString() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
For Debugging
- toString() - Method in class org.apache.empire.xml.XMLConfiguration
- toString(Object) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a value to a string.
- toString(Object) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an Object to a String
- toString(Object, String) - Method in class org.apache.empire.commons.StringUtils.ObjectStringifier
-
Convert a single root element
- toString(Object, String) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a value to a string.
- toString(Object, String, String) - Method in class org.apache.empire.commons.StringUtils.ObjectStringifier
-
Convert a single element inside an array or collection
- toStringArray(Object[], String) - Static method in class org.apache.empire.commons.ObjectUtils
-
Converts an Object array to a String array.
- toTimestamp(Object) - Method in class org.apache.empire.commons.ValueUtils
-
Converts an object value to a Timestamp.
- toUpper(String, int) - Static method in class org.apache.empire.commons.StringUtils
-
makes the first n characters of s upper case
- toValue(boolean) - Method in interface org.apache.empire.commons.EnumValue
- trackThisResultSet() - Method in class org.apache.empire.db.DBReader
-
Support for finding code errors where a DBRecordSet is opened but not closed.
- TRecord<CTX extends DBContext,
T extends DBRowSet> - Class in org.apache.empire.db.generic - TRecord(CTX, T) - Constructor for class org.apache.empire.db.generic.TRecord
-
Constructs a new TRecord.
- TRecord(CTX, T, boolean) - Constructor for class org.apache.empire.db.generic.TRecord
-
Internal constructor for TRecord May be used by derived classes to provide special behaviour
- trim() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the trim() function.
- trimLeft() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the ltrim() function.
- trimRight() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the rtrim() function.
- trunc(int) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an function object that truncates a number espression with the given decimals.
- truncate(String, int) - Static method in class org.apache.empire.commons.StringUtils
-
truncates a string to a maximum number of chars
- TTable<DB extends TDatabase<DB>> - Class in org.apache.empire.db.generic
- TTable(String, DB) - Constructor for class org.apache.empire.db.generic.TTable
- TTable(String, DB, String) - Constructor for class org.apache.empire.db.generic.TTable
- TView<DB extends TDatabase<DB>> - Class in org.apache.empire.db.generic
- TView(String, DB) - Constructor for class org.apache.empire.db.generic.TView
- TView(String, DB, boolean) - Constructor for class org.apache.empire.db.generic.TView
- type - Variable in class org.apache.empire.db.DBCmdParam
- type - Variable in class org.apache.empire.db.DBTableColumn
- type - Variable in class org.apache.empire.db.expr.column.DBValueExpr
- type - Variable in class org.apache.empire.db.expr.join.DBJoinExpr
U
- UC - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
- UnexpectedReturnValueException - Exception in org.apache.empire.exceptions
- UnexpectedReturnValueException(Object, String) - Constructor for exception org.apache.empire.exceptions.UnexpectedReturnValueException
- union(DBCommandExpr) - Method in class org.apache.empire.db.DBCommandExpr
-
Constructs a new DBCombinedCmd object with this object, the key word= "UNION" and the selected DBCommandExpr.
- UNION - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- unionAll(DBCommandExpr) - Method in class org.apache.empire.db.DBCommandExpr
-
Constructs a new DBCombinedCmd object with this object, the key word= "UNION ALL" and the selected DBCommandExpr.
- UNIQUE - Enum constant in enum org.apache.empire.db.DBIndex.DBIndexType
- UNIQUE_ALLOW_NULL - Enum constant in enum org.apache.empire.db.DBIndex.DBIndexType
- UNIQUEID - Enum constant in enum org.apache.empire.data.DataType
-
Unique Identifier (non-numeric, treated like text)
- UNKNOWN - Enum constant in enum org.apache.empire.data.DataType
-
Unknown, used internally only for sql phrases
- UnknownBeanTypeException - Exception in org.apache.empire.db.exceptions
- UnknownBeanTypeException(Class<?>) - Constructor for exception org.apache.empire.db.exceptions.UnknownBeanTypeException
- UnsupportedTypeException - Exception in org.apache.empire.exceptions
- UnsupportedTypeException(Class<?>) - Constructor for exception org.apache.empire.exceptions.UnsupportedTypeException
- unwrap() - Method in interface org.apache.empire.commons.Unwrappable
-
Unwrapps am object that is wrapped by this object If the object is not a wrapper then it must return itself (this)!
- unwrap() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Returns the underlying column expression.
- unwrap() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
- unwrap() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
-
Returns the underlying column expression.
- unwrap() - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
- unwrap(T) - Static method in class org.apache.empire.commons.ObjectUtils
-
Unwraps an object implementing the Unwrappable interface If the object does not Implement the Interface or is not a wrapper then the object itself is returned
- Unwrappable<T> - Interface in org.apache.empire.commons
- update() - Method in class org.apache.empire.db.DBRecord
-
Updates the record and saves all changes in the database.
- update(DBContext) - Method in class org.apache.empire.db.DBRecordBean
-
Updates the record in the database
- UPDATE - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- updateable - Variable in class org.apache.empire.db.DBQuery
- updateColumn - Variable in class org.apache.empire.db.DBView.DBViewColumn
- updateComplete() - Method in class org.apache.empire.db.DBRecordBase
-
This method is used internally to indicate that the record update has completed
This will set change the record's state to Valid - updateData(RecordData) - Method in class org.apache.empire.data.list.DataListEntry
-
Updates the fields of the entry with the corresponding fields of a record.
- updateRecord(DBRecordBase) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
throws ERR_NOTSUPPORTED
- updateRecord(DBRecordBase) - Method in class org.apache.empire.db.DBQuery
-
Updates a query record by creating individual update commands for each table.
- updateRecord(DBRecordBase) - Method in class org.apache.empire.db.DBView
- updateRecord(R) - Method in class org.apache.empire.db.DBRowSet
-
Updates or Inserts a record in the database.
Whether an update or insert is performed depends on the record state.
Only modified fields will be inserted or updated in the database. - upper() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a function object which converts the current expression to upper case.
- useCmdParam(DBColumnExpr, Object) - Method in class org.apache.empire.db.DBCommand
-
returns true if a cmdParam should be used for the given column or false otherwise
- UserLevelException - Exception in org.apache.empire.exceptions
-
UserLevelException This class may be used either a base class or a wrapper class for other exceptions.
- UserLevelException(ErrorType, String[]) - Constructor for exception org.apache.empire.exceptions.UserLevelException
- UserLevelException(ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.exceptions.UserLevelException
- UserLevelException(EmpireException) - Constructor for exception org.apache.empire.exceptions.UserLevelException
- USING - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
V
- Valid - Enum constant in enum org.apache.empire.db.DBRecordBase.State
- validate(String) - Static method in class org.apache.empire.commons.StringUtils
-
Validates a given string.
- validateAllValues() - Method in class org.apache.empire.db.DBRecordBase
-
validates all modified values of a record
- validateFieldValues - Variable in class org.apache.empire.db.DBRecordBase
- validateNumber(DBTableColumn, DataType, Number) - Method in class org.apache.empire.db.DBDatabase
- validateString(DBTableColumn, String) - Method in class org.apache.empire.db.DBDatabase
- validateValue(Object) - Method in class org.apache.empire.data.bean.BeanProperty
- validateValue(Object) - Method in interface org.apache.empire.data.Column
-
Checks if the given value is a valid value for this column If not, an exception is thrown
- validateValue(Object) - Method in class org.apache.empire.db.DBColumn
-
Checks if the given value is a valid value for this column If not, an exception is thrown
- validateValue(Object) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Not applicable - always return the value.
- validateValue(Object) - Method in class org.apache.empire.db.DBQueryColumn
- validateValue(Object) - Method in class org.apache.empire.db.DBTableColumn
-
Checks whether the supplied value is valid for this column.
- validateValue(Object) - Method in class org.apache.empire.db.DBView.DBViewColumn
- validateValue(Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
Validates a value before it is set in the record.
- validateValue(Column, Object) - Method in interface org.apache.empire.data.Record
-
Validates a value before it is set in the record.
- validateValue(Column, Object) - Method in class org.apache.empire.db.DBRecordBase
-
Validates a value before it is set in the record.
- validateValue(DBTableColumn, Object) - Method in class org.apache.empire.db.DBDatabase
-
Checks whether the supplied value is valid for the given column.
- validateValue(DBTableColumn, Object) - Method in class org.apache.empire.db.DBTable
-
validates a column value
- value - Variable in class org.apache.empire.db.DBCmdParam
- value - Variable in class org.apache.empire.db.expr.column.DBValueExpr
- value - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
- value - Variable in class org.apache.empire.db.expr.set.DBSetExpr
- ValueConversionException - Exception in org.apache.empire.exceptions
- ValueConversionException(Class<?>, Object, Exception) - Constructor for exception org.apache.empire.exceptions.ValueConversionException
- ValueConversionException(ErrorType, String[]) - Constructor for exception org.apache.empire.exceptions.ValueConversionException
- valueEquals(Object) - Method in class org.apache.empire.commons.OptionEntry
- valueOf(Object) - Static method in class org.apache.empire.commons.StringUtils
-
Converts a value to a string.
- valueOf(String) - Static method in enum org.apache.empire.commons.Options.InsertPos
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.commons.SqlFormat.KeyWord
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.data.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.context.DBRollbackManager.ReleaseAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBCmpType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBDDLGenerator.DDLActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBIndex.DBIndexType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBJoinType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBRecordBase.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBRelation.DBCascadeAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBRowSet.FieldInitMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.db.DBRowSet.PartialMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.dbms.DBMSFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.dbms.DBSqlPhrase
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.dbms.oracle.DBMSHandlerOracle.BooleanType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.dbms.postgresql.PostgresExtractField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
-
Returns the enum constant of this type with the specified name.
- values - Variable in class org.apache.empire.data.list.DataListEntry
- values() - Static method in enum org.apache.empire.commons.Options.InsertPos
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.commons.SqlFormat.KeyWord
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.data.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.context.DBRollbackManager.ReleaseAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBCmpType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBDDLGenerator.DDLActionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBIndex.DBIndexType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBJoinType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBRecordBase.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBRelation.DBCascadeAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBRowSet.FieldInitMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.db.DBRowSet.PartialMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.dbms.DBMSFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.dbms.DBSqlPhrase
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.dbms.oracle.DBMSHandlerOracle.BooleanType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.dbms.postgresql.PostgresExtractField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VALUES - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- valueTooBigErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- valueTooSmallErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
- ValueUtils - Class in org.apache.empire.commons
-
This class allows to customize value type conversion as well as other value related functions.
- ValueUtils() - Constructor for class org.apache.empire.commons.ValueUtils
- VAR_BEGIN - Variable in class org.apache.empire.xml.XMLConfiguration
- VAR_DEFAULT - Variable in class org.apache.empire.xml.XMLConfiguration
- VAR_END - Variable in class org.apache.empire.xml.XMLConfiguration
- VARCHAR - Enum constant in enum org.apache.empire.data.DataType
-
Variable text (represents varchar)
- views - Variable in class org.apache.empire.db.DBDatabase
W
- warnCount - Variable in class org.apache.empire.db.validation.DBModelErrorLogger
- wasAnyModified(Column...) - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if any of the given fields was modified.
- wasModified(int) - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if the field was modified.
- wasModified(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
Detects whether or not a particular field has been modified.
- wasModified(Column) - Method in interface org.apache.empire.data.Record
-
checks whether or not the field for the given column has been modified since it has been loaded.
- wasModified(Column) - Method in class org.apache.empire.db.DBRecordBase
-
Returns true if the field was modified.
- WEBSEARCH_TO_TSQUERY - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
- WEEK - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- WEEKS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
- when(DBCompareExpr, Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a sql-expression for the SQL case-phrase.
The result will be in the form:
"case when [compExpr] then [this] else [otherwise] end" - WHEN_MATCHED_THEN - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- where - Variable in class org.apache.empire.db.DBCommand
- where(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
-
Adds a constraint to the where phrase of the sql statement If another restriction already exists for the same column it will be replaced.
- where(DBCompareExpr) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
This function adds an additional constraint to the join.
- where(DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of constraints to the where phrase of the sql statement If another restriction already exists for the same column it will be replaced.
- WHERE - Enum constant in enum org.apache.empire.commons.SqlFormat.KeyWord
- writeContext(ObjectOutputStream) - Method in class org.apache.empire.db.DBRecord
- writeRowSet(ObjectOutputStream) - Method in class org.apache.empire.db.DBRecord
X
- XMLConfiguration - Class in org.apache.empire.xml
-
This class manages the configuration of a Java Bean by an xml configuration file.
- XMLConfiguration() - Constructor for class org.apache.empire.xml.XMLConfiguration
-
Standard Constructor without variable support
- XMLConfiguration(String) - Constructor for class org.apache.empire.xml.XMLConfiguration
-
Constructor allowing to specify a variable prefix (e.g. $ or #)
- XMLUtil - Class in org.apache.empire.xml
-
This class provides a collection of static helper functions for common XML tasks.
- XMLWriter - Class in org.apache.empire.xml
-
This class prints out a XML-DOM-Tree to an output stream.
- XMLWriter(OutputStream) - Constructor for class org.apache.empire.xml.XMLWriter
-
Constructor
- XMLWriter(OutputStream, String) - Constructor for class org.apache.empire.xml.XMLWriter
-
Creates a XML Writer object.
- XMLWriter(Writer, String) - Constructor for class org.apache.empire.xml.XMLWriter
-
Creates a XML Writer object.
Y
- year() - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns an function object that calculates the year of a date value.
- YEAR - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresExtractField
- YEARS - Enum constant in enum org.apache.empire.dbms.postgresql.PostgresIntervalExpr.PostgresIntervalUnitField
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form