|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SQLVendor
This is the base API interface for all SQLVendors to implement. It gives the means to acquire factories to create SQL syntax elements. Additionally, the vendor creates the textual representation of these syntax elements so that the query may be passed directly to database, for example, through JDBC.
MySQLVendor,
PostgreSQLVendor,
QueryFactory,
BooleanFactory,
TableReferenceFactory,
LiteralFactory,
ColumnsFactory,
ModificationFactory,
toString(SQLStatement)| Method Summary | |
|---|---|
BooleanFactory |
getBooleanFactory()
Returns the boolean factory for this vendor. |
ColumnsFactory |
getColumnsFactory()
Returns the columns factory for this vendor. |
LiteralFactory |
getLiteralFactory()
Returns the literal factory for this vendor. |
ModificationFactory |
getModificationFactory()
Returns the factory to create modification statements for this vendor. |
QueryFactory |
getQueryFactory()
Returns the query factory of this vendor. |
TableReferenceFactory |
getTableReferenceFactory()
Returns the table reference factory for this vendor. |
String |
toString(SQLStatement statement)
Takes the SQLStatement (typically either a query, or a modification statement) and produces a textual SQL
statement out of it. |
| Method Detail |
|---|
QueryFactory getQueryFactory()
QueryFactory,
QuerySpecificationBooleanFactory getBooleanFactory()
BooleanFactoryTableReferenceFactory getTableReferenceFactory()
TableReferenceFactoryLiteralFactory getLiteralFactory()
LiteralFactoryColumnsFactory getColumnsFactory()
ColumnsFactoryModificationFactory getModificationFactory()
ModificationFactoryString toString(SQLStatement statement)
SQLStatement (typically either a query, or a modification statement) and produces a textual SQL
statement out of it.
statement - The SQLStatement to process.
SQLStatement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||