Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.derby |
This package contains classes necessary to support the Apache Derby database system.
|
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.h2 |
This package contains classes necessary to support the H2 database system.
|
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.postgresql |
This package contains classes necessary to support the PostgreSQL database system.
|
org.apache.empire.db.sqlite | |
org.apache.empire.db.sqlserver |
This package contains classes necessary to support the Microsoft SQL-Server database system.
|
Modifier and Type | Class and Description |
---|---|
class |
DBCombinedCmd
This class is used for building up a partition of a SQL-Command.
|
class |
DBCommand
This abstract class handles the creation of the SQL-Commands.
|
Modifier and Type | Field and Description |
---|---|
protected DBCommandExpr |
DBQuery.cmdExpr |
protected DBCommandExpr |
DBCombinedCmd.left |
protected DBCommandExpr |
DBCombinedCmd.right |
Modifier and Type | Method and Description |
---|---|
DBCommandExpr |
DBDatabaseDriver.createCombinedCommand(DBCommandExpr left,
String keyWord,
DBCommandExpr right)
This function gives the driver a chance to provide a custom implementation
for a combined command such as UNION or INTERSECT
|
abstract DBCommandExpr |
DBView.createCommand()
Returns the command required to create the view
This is function is only used for the creation of DDL statements |
DBCommandExpr |
DBQuery.getCommandExpr()
returns the underlying command expression
|
DBCommandExpr |
DBCommandExpr.intersect(DBCommandExpr other)
Constructs a new DBCombinedCmd object with this object,
the key word= "INTERSECT" and the selected DBCommandExpr.
|
DBCommandExpr |
DBCommandExpr.union(DBCommandExpr other)
Constructs a new DBCombinedCmd object with this object,
the key word= "UNION" and the selected DBCommandExpr.
|
DBCommandExpr |
DBCommandExpr.unionAll(DBCommandExpr other)
Constructs a new DBCombinedCmd object with this object,
the key word= "UNION ALL" and the selected DBCommandExpr.
|
Modifier and Type | Method and Description |
---|---|
DBCommandExpr |
DBDatabaseDriver.createCombinedCommand(DBCommandExpr left,
String keyWord,
DBCommandExpr right)
This function gives the driver a chance to provide a custom implementation
for a combined command such as UNION or INTERSECT
|
void |
DBReader.getRecordData(DBCommandExpr cmd,
Connection conn)
Opens the reader by executing the given SQL command and moves to the first row.
|
DBCommandExpr |
DBCommandExpr.intersect(DBCommandExpr other)
Constructs a new DBCombinedCmd object with this object,
the key word= "INTERSECT" and the selected DBCommandExpr.
|
void |
DBReader.open(DBCommandExpr cmd,
boolean scrollable,
Connection conn)
Opens the reader by executing the given SQL command.
|
void |
DBReader.open(DBCommandExpr cmd,
Connection conn)
Opens the reader by executing the given SQL command.
|
DBCommandExpr |
DBCommandExpr.union(DBCommandExpr other)
Constructs a new DBCombinedCmd object with this object,
the key word= "UNION" and the selected DBCommandExpr.
|
DBCommandExpr |
DBCommandExpr.unionAll(DBCommandExpr other)
Constructs a new DBCombinedCmd object with this object,
the key word= "UNION ALL" and the selected DBCommandExpr.
|
Constructor and Description |
---|
DBCombinedCmd(DBCommandExpr left,
String keyWord,
DBCommandExpr right)
Constructs a new DBFuncExpr object and
sets the specified parameters to this object.
|
DBCommandExpr.DBCmdQuery(DBCommandExpr cmd,
DBColumnExpr[] colList)
Creates a new DBCmdQueryObject
|
DBQuery(DBCommandExpr cmd)
Creaes a DBQuery object from a given command object.
|
DBQuery(DBCommandExpr cmd,
DBColumn keyColumn)
Constructs a new DBQuery object initialize the query object.
|
DBQuery(DBCommandExpr cmd,
DBColumn[] keyColumns)
Constructor initializes the query object.
|
DBQuery(DBCommandExpr cmd,
DBColumn[] keyColumns,
String alias)
Constructor initializes the query object.
|
DBQuery(DBCommandExpr cmd,
DBColumn keyColumn,
String alias)
Constructs a new DBQuery object initialize the query object.
|
DBQuery(DBCommandExpr cmd,
String alias)
Creaes a DBQuery object from a given command object.
|
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriverDerby.DBCommandDerby
Defines the Derby command type.
|
Modifier and Type | Field and Description |
---|---|
DBCommandExpr |
DBExistsExpr.cmd |
Constructor and Description |
---|
DBExistsExpr(DBCommandExpr cmd)
Constructs a DBExistsExpr object set the specified parameters to this object.
|
DBExistsExpr(DBCommandExpr cmd,
DBCompareExpr compareExpr)
Constructs a DBExistsExpr object set the specified parameters to this object.
|
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriverH2.DBCommandH2
Defines the H2 command type.
|
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriverHSql.DBCommandHSql
Defines the HSQLDB command type.
|
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriverMySQL.DBCommandMySQL
Defines the MySQL command type.
|
Modifier and Type | Method and Description |
---|---|
DBCommandExpr |
DBDatabaseDriverMySQL.createCombinedCommand(DBCommandExpr left,
String keyWord,
DBCommandExpr right) |
Modifier and Type | Method and Description |
---|---|
DBCommandExpr |
DBDatabaseDriverMySQL.createCombinedCommand(DBCommandExpr left,
String keyWord,
DBCommandExpr right) |
Modifier and Type | Class and Description |
---|---|
class |
DBCommandOracle
This class handles the special features of an oracle database.
|
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
Defines the PostgreSQL command type.
|
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriverSQLite.DBCommandSQLite
Defines the SQLite command type.
|
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriverMSSQL.DBCommandMSSQL
Defines the Microsoft SQL-Server command type.
|
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.