|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataType | |
---|---|
org.apache.empire.data | This package contains interfaces for data and metadata handling. |
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.hsql | This package contains classes necessary to support the HSQLDB database system. |
org.apache.empire.db.mysql | This package contains classes necessary to support the MySQL database system. |
org.apache.empire.db.oracle | This package contains classes necessary to support the Oracle database system. |
org.apache.empire.db.sqlserver | This package contains classes necessary to support the Microsoft SQL-Server database system. |
Uses of DataType in org.apache.empire.data |
---|
Methods in org.apache.empire.data that return DataType | |
---|---|
DataType |
ColumnExpr.getDataType()
Returns the column's data type. |
static DataType |
DataType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Uses of DataType in org.apache.empire.db |
---|
Methods in org.apache.empire.db that return DataType | |
---|---|
DataType |
DBView.DBViewColumn.getDataType()
|
DataType |
DBTableColumn.getDataType()
Returns the data type. |
DataType |
DBQuery.DBQueryColumn.getDataType()
|
abstract DataType |
DBColumnExpr.getDataType()
Returns the data type of this column expression. |
Methods in org.apache.empire.db with parameters of type DataType | |
---|---|
DBTableColumn |
DBTable.addColumn(java.lang.String columnName,
DataType type,
double size,
boolean required)
Creates a new DBTableColumn object and add it to this object. |
DBTableColumn |
DBTable.addColumn(java.lang.String columnName,
DataType type,
double size,
boolean required,
java.lang.Object defValue)
Creates a new DBTableColumn object and add it to this object. |
DBColumnExpr |
DBColumnExpr.convertTo(DataType dataType)
Creates and returns a new DBFuncExpr object that will convert the current column to the destination data type specivied. |
DBColumnExpr |
DBColumnExpr.convertTo(DataType dataType,
java.lang.Object format)
Creates a new DBFuncExpr object that will convert the current column to the destination data type specivied. |
abstract java.lang.String |
DBDatabaseDriver.getConvertPhrase(DataType destType,
DataType srcType,
java.lang.Object format)
Returns a data type convertion phrase template for this driver The returned template must contain a '?' |
java.lang.Object |
DBDatabaseDriver.getResultValue(java.sql.ResultSet rset,
int columnIndex,
DataType dataType)
Reads a sinlge column value from the given JDBC ResultSet and returns a value object of desired data type. |
static java.lang.Class |
DBExpr.getValueClass(DataType type)
Returns the java class type for a given dataType |
DBValueExpr |
DBDatabase.getValueExpr(java.lang.Object value,
DataType dataType)
Creates and returns a value object for the given value. |
java.lang.String |
DBDatabaseDriver.getValueString(java.lang.Object value,
DataType type)
Creates a sql string for a given value. |
Constructors in org.apache.empire.db with parameters of type DataType | |
---|---|
DBTableColumn(DBTable table,
DataType type,
java.lang.String name,
double size,
boolean required,
java.lang.Object defValue)
Constructs a DBTableColumn object set the specified parameters to this object. |
Uses of DataType in org.apache.empire.db.expr.column |
---|
Fields in org.apache.empire.db.expr.column declared as DataType | |
---|---|
DataType |
DBValueExpr.type
|
Methods in org.apache.empire.db.expr.column that return DataType | |
---|---|
DataType |
DBValueExpr.getDataType()
Returns the data type of the DBColumnExpr object. |
DataType |
DBCountExpr.getDataType()
Returns the data type: DT_INTEGER. |
DataType |
DBConcatExpr.getDataType()
Returns the data type: DT_TEXT. |
DataType |
DBCaseExpr.getDataType()
|
DataType |
DBCalcExpr.getDataType()
Returns the data type: DBDataType.DECIMAL. |
DataType |
DBAliasExpr.getDataType()
Returns the data type of the DBColumnExpr object. |
DataType |
DBAbstractFuncExpr.getDataType()
Returns the data type of the DBColumnExpr object. |
Constructors in org.apache.empire.db.expr.column with parameters of type DataType | |
---|---|
DBAbstractFuncExpr(DBColumnExpr expr,
DBColumn updateColumn,
boolean isAggregate,
DataType dataType)
Constructs a new DBFuncExpr object set the specified parameters to this object. |
|
DBConvertExpr(DBColumnExpr expr,
DataType dataType,
java.lang.Object format)
Constructs a DBDecodeExpr |
|
DBDecodeExpr(DBColumnExpr expr,
java.util.Map<?,?> valueMap,
java.lang.Object elseExpr,
DataType dataType)
Constructs a DBDecodeExpr |
|
DBFuncExpr(DBColumnExpr expr,
int phrase,
java.lang.Object[] params,
DBColumn updateColumn,
boolean isAggregate,
DataType dataType)
Constructs a new DBFuncExpr object set the specified parameters to this object. |
|
DBFuncExpr(DBColumnExpr expr,
java.lang.String template,
java.lang.Object[] params,
DBColumn updateColumn,
boolean isAggregate,
DataType dataType)
Constructs a new DBFuncExpr object set the specified parameters to this object. |
|
DBValueExpr(DBDatabase db,
java.lang.Object value,
DataType type)
Constructs a new DBValueExpr object set the specified parameters to this object. |
Uses of DataType in org.apache.empire.db.hsql |
---|
Methods in org.apache.empire.db.hsql with parameters of type DataType | |
---|---|
java.lang.String |
DBDatabaseDriverHSql.getConvertPhrase(DataType destType,
DataType srcType,
java.lang.Object format)
|
Uses of DataType in org.apache.empire.db.mysql |
---|
Methods in org.apache.empire.db.mysql with parameters of type DataType | |
---|---|
java.lang.String |
DBDatabaseDriverMySQL.getConvertPhrase(DataType destType,
DataType srcType,
java.lang.Object format)
|
Uses of DataType in org.apache.empire.db.oracle |
---|
Methods in org.apache.empire.db.oracle with parameters of type DataType | |
---|---|
java.lang.String |
DBDatabaseDriverOracle.getConvertPhrase(DataType destType,
DataType srcType,
java.lang.Object format)
|
java.lang.Object |
DBDatabaseDriverOracle.getResultValue(java.sql.ResultSet rset,
int columnIndex,
DataType dataType)
Gets the value of a sql ResultSet. |
Uses of DataType in org.apache.empire.db.sqlserver |
---|
Methods in org.apache.empire.db.sqlserver with parameters of type DataType | |
---|---|
java.lang.String |
DBDatabaseDriverMSSQL.getConvertPhrase(DataType destType,
DataType srcType,
java.lang.Object format)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |