|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hardcode.gdbms.engine.strategies.Strategy
public abstract class Strategy
Interfaz que define las operaciones que se pueden realizar con los DataSource. Las distintas implementaciones de esta interfaz serán las encargadas del uso de los indices, del algoritmo usado para cada operación, ...
Constructor Summary | |
---|---|
Strategy()
|
Method Summary | |
---|---|
DataSource |
custom(CustomAdapter instr)
Makes a custom query |
DataSource |
select(SelectAdapter instr)
Realiza una select a partir de la instrucción que se pasa como parámetro |
DataSource |
union(UnionAdapter instr)
Realiza una union a partir de la instrucción que se pasa como parámetro |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Strategy()
Method Detail |
---|
public DataSource select(SelectAdapter instr) throws ExecutionException
instr
- Objeto con la información sobre las tablas que entran en
juego en la instrucción, campos, expresiones condicionales, ...
ExecutionException
- The query failedpublic DataSource union(UnionAdapter instr) throws ExecutionException
instr
- Objeto con la información sobre las tablas que entran en
juego en la instrucción
ExecutionException
- The query failedpublic DataSource custom(CustomAdapter instr) throws ExecutionException
instr
- The instruction specifying the custom query
ExecutionException
- The query failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |