svn-gvsig-desktop / trunk / libraries / libGDBMS / src / com / hardcode / gdbms / engine / data / indexes / FixedIndexSet.java @ 466
History | View | Annotate | Download (957 Bytes)
1 |
/*
|
---|---|
2 |
* Created on 23-oct-2004
|
3 |
*/
|
4 |
package com.hardcode.gdbms.engine.data.indexes; |
5 |
|
6 |
import java.io.File; |
7 |
import java.io.IOException; |
8 |
|
9 |
/**
|
10 |
* Los ?ndices fijos se establecen sobre los campos de los DataSource para acelerar el acceso a un determinado valor
|
11 |
* @author Fernando Gonz?lez Cort?s
|
12 |
*/
|
13 |
public interface FixedIndexSet extends BaseIndexSet{ |
14 |
|
15 |
/**
|
16 |
* establece el ?ndice 'index'-?simo para que apunte a la fila 'value'
|
17 |
*
|
18 |
* @param index ?ndice que se quiere cambiar
|
19 |
* @param value ?ndice de la fila a la que apunta este ?ndice
|
20 |
*
|
21 |
* @throws IOException Si se produce un fallo al escribir el ?ndice
|
22 |
*/
|
23 |
public void setIndex(long index, long value) throws IOException; |
24 |
|
25 |
/**
|
26 |
* Abre el almacenamiento del ?ndice para la escritura de los ?ndices
|
27 |
*
|
28 |
* @param f fichero en el que se guardar? el ?ndice
|
29 |
*
|
30 |
* @throws IOException Si se produce un fallo al abrir
|
31 |
*/
|
32 |
public void open(File f) throws IOException; |
33 |
|
34 |
} |