Package | Description |
---|---|
org.apache.empire.data |
This package contains interfaces for data and metadata handling.
|
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.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.expr.column |
This package contains SQL-generator classes for column expressions.
|
org.apache.empire.db.oracle |
This package contains classes necessary to support the Oracle database system.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Column
The column interface provides methods for accessing metadata that is only relevant for updating records.
|
Modifier and Type | Method and Description |
---|---|
ColumnExpr |
RecordData.getColumnExpr(int i)
returns the column expression for a given column
This is the reverse operation of getFieldIndex()
|
Modifier and Type | Method and Description |
---|---|
int |
RecordData.getFieldIndex(ColumnExpr column)
returns the index of the given column expression
Indexed operations provide better performance for bulk processing
|
Object |
RecordData.getValue(ColumnExpr column)
returns the record value for a particular column
|
boolean |
RecordData.isNull(ColumnExpr column)
checks if the record contains no value (null) for the given column
|
Modifier and Type | Method and Description |
---|---|
int |
RecordData.getBeanProperties(Object bean,
Collection<ColumnExpr> ignoreList)
copies all field values into a static Java Bean.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanProperty
BeanObject
This class defines Metadata for a single property.
|
Modifier and Type | Method and Description |
---|---|
ColumnExpr |
BeanRecordProxy.getColumnExpr(int index) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BeanRecordProxy.getBeanPropertyValue(Object bean,
ColumnExpr column) |
int |
BeanRecordProxy.getFieldIndex(ColumnExpr column) |
Object |
BeanRecordProxy.getValue(ColumnExpr column) |
boolean |
BeanRecordProxy.isNull(ColumnExpr column) |
Modifier and Type | Method and Description |
---|---|
int |
BeanRecordProxy.getBeanProperties(Object bean,
Collection<ColumnExpr> ignoreList) |
Modifier and Type | Class and Description |
---|---|
class |
DBColumn
This is the base class for all database columns that have a physical representation.
|
class |
DBColumnExpr
This class is the base class for all expressions that represent a single value.
|
protected static class |
DBCommandExpr.DBCmdColumn
This class wraps a column of sql command in a special command column object.
|
static class |
DBQuery.DBQueryColumn |
class |
DBTableColumn
This class represent one column of a table.
|
static class |
DBView.DBViewColumn |
Modifier and Type | Method and Description |
---|---|
abstract ColumnExpr |
DBRecordData.getColumnExpr(int i) |
ColumnExpr |
DBRecord.getColumnExpr(int index)
Returns a DBColumnExpr object by a specified index value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DBRecordData.getBoolean(ColumnExpr column)
Returns a data value for the desired column.
|
Date |
DBRecordData.getDateTime(ColumnExpr column)
Returns a data value for the desired column.
|
BigDecimal |
DBRecordData.getDecimal(ColumnExpr column)
Returns a data value for the desired column.
|
double |
DBRecordData.getDouble(ColumnExpr column)
Returns a data value for the desired column.
|
abstract int |
DBRecordData.getFieldIndex(ColumnExpr column) |
int |
DBRecord.getFieldIndex(ColumnExpr column)
Returns the index value by a specified DBColumnExpr object.
|
int |
DBReader.getFieldIndex(ColumnExpr column)
Returns the index value by a specified DBColumnExpr object.
|
int |
DBRecordData.getInt(ColumnExpr column)
Returns a data value for the desired column.
|
long |
DBRecordData.getLong(ColumnExpr column)
Returns a data value for the desired column.
|
String |
DBRecordData.getString(ColumnExpr column)
Returns a data value for the desired column.
|
Object |
DBRecordData.getValue(ColumnExpr column)
Returns a data value for the desired column .
|
boolean |
DBRecordData.isNull(ColumnExpr column)
Checks whether or not the value for the given column is null.
|
Modifier and Type | Method and Description |
---|---|
int |
DBRecordData.getBeanProperties(Object bean,
Collection<ColumnExpr> ignoreList)
Injects the current field values into a java bean.
|
Modifier and Type | Class and Description |
---|---|
class |
DBAbstractFuncExpr
This implements some basic functionality for SQL functions based on a column expression
|
class |
DBAliasExpr
This class allows column renaming in SQL.
|
class |
DBCalcExpr
This class is used for performing calculations in SQL
It handles the mathematical operations ("+", "-", "*", "/") for the current column. |
class |
DBCaseExpr
This class is used to add the "case when ?=A then X else Y end" statement to the SQL-Command.
|
class |
DBConcatExpr
This class is used for performing string concatenation in SQL
|
class |
DBConvertExpr
This class is used to convert a value to a different data type.
|
class |
DBCountExpr
This class is used to add the "count" statement to the SQL-Command.
|
class |
DBDecodeExpr
This class is used to decode a set of keys to the corresponding target values.
|
class |
DBFuncExpr
This class is used for performing various SQL functions on a column or column expression.
|
class |
DBValueExpr
This class is used for declaring constant values in SQL.
|
Modifier and Type | Class and Description |
---|---|
class |
OracleRowNumExpr
implements a column expression for the Oracle rownum function
|
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.