org.mmbase.storage.search.implementation.database |
|
Java Source File Name | Type | Comment |
BasicQueryHandler.java | Class | Basic implementation using a database. |
BasicSqlHandler.java | Class | Basic implementation. |
ChainedSqlHandler.java | Class | Baseclass for chained sql handlers, these are
org.mmbase.storage.search.implementation.database.SqlHandler SqlHandler implementations that wrap SqlHandler objects to create a chain
of handlers, following the Chain Of Responsibility design pattern.
This class is provided as a baseclass to for chained handlers.
It implements all SqlHandler methods by delegating to
its successor, i.e. |
HSqlSqlHandler.java | Class | The HSQL query handler, implements
org.mmbase.storage.search.implementation.database.SqlHandler SqlHandler for standard
hsql functionality. |
InformixSqlHandler.java | Class | The Informix query handler, implements
org.mmbase.storage.search.implementation.database.SqlHandler SqlHandler for standard
Informix functionality. |
MSSqlSqlHandler.java | Class | |
MySqlSqlHandler.java | Class | The MySQL query handler, implements
org.mmbase.storage.search.implementation.database.SqlHandler SqlHandler for standard
MySQL functionality. |
PostgreSqlSqlHandler.java | Class | The PostgreSQL query handler, implements
org.mmbase.storage.search.implementation.database.SqlHandler SqlHandler for standard PostgreSql functionality. |
SqlHandler.java | Interface | Interface for handler classes that are used to create SQL string
representations of
SearchQuery SearchQuery objects.
A number of SqlHandler objects can create a chain of handlers,
following the Chain Of Responsibility design pattern.
In short:
- A chain is formed of
SqlHandler objects, where each
element in the chain, except the last one, is called a chained
handler.
Each chained handler has a successor, which is the next element
in the chain.
- The first element receives all requests first (a request =
call of one of the methods in the interface).
When a chained element receives a request, it can either handle it or pass
it on to its successor.
- The last element in the chain, handles all remaining requests.
Each handler in the chain adds functionality to its successor(s),
in a way similar to subclassing. |