|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VariableIndexSet
Interfaz a implementar por los índices sobre las tablas. Esta interfaz se utiliza al filtrar una tabla, en la que se añaden indices a la tabla secuencialmente. Una vez se invoca el método indexSetComplete ya no se pueden meter más índices
Method Summary | |
---|---|
void |
addIndex(long value)
Añade un índice al conjunto de índices |
long[] |
getIndexes()
Obtiene los índices del conjunto de índices en un array |
void |
indexSetComplete()
Cierra el conjunto de índices para el almacenamiento, a partir de una llamada a este método no se puede escribir ningún índice más, sólamente se pueden leer |
void |
open()
Abre el almacenamiento del índice para la escritura de los índices. |
Methods inherited from interface com.hardcode.gdbms.engine.data.indexes.BaseIndexSet |
---|
close, getIndex, getIndexCount |
Method Detail |
---|
void indexSetComplete() throws java.io.IOException
java.io.IOException
- Si se produce un fallo al cerrar los streams de
salidavoid addIndex(long value) throws java.io.IOException
value
- índice de la fila a la que apunta el índice que se quiere
añadir
java.io.IOException
- Si se produce un fallo al escribir el índicevoid open() throws java.io.IOException
java.io.IOException
- Si se produce un fallo al abrirlong[] getIndexes() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |