root / tags / v1_0_2_Build_906 / libraries / libGDBMS / src / main / java / com / hardcode / gdbms / engine / data / driver / ObjectDriver.java @ 10972
History | View | Annotate | Download (773 Bytes)
1 | 3199 | fjp | package com.hardcode.gdbms.engine.data.driver; |
---|---|---|---|
2 | |||
3 | 6323 | fjp | import java.io.IOException; |
4 | |||
5 | 3199 | fjp | import com.hardcode.gdbms.engine.data.edition.DataWare; |
6 | |||
7 | |||
8 | |||
9 | /**
|
||
10 | * Interfaz que define los m?todos de acceso de lectura
|
||
11 | *
|
||
12 | * @author Fernando Gonz?lez Cort?s
|
||
13 | */
|
||
14 | public interface ObjectDriver extends GDBMSDriver, ReadAccess { |
||
15 | /**
|
||
16 | * Gets the primary key field indexes
|
||
17 | *
|
||
18 | * @return int[]
|
||
19 | *
|
||
20 | * @throws DriverException If the operation fails
|
||
21 | */
|
||
22 | public int[] getPrimaryKeys() throws DriverException; |
||
23 | |||
24 | /**
|
||
25 | * Writes the content in the DataWare to the specified file
|
||
26 | *
|
||
27 | * @param dataWare DataWare with the contents
|
||
28 | */
|
||
29 | void write(DataWare dataWare) throws DriverException; |
||
30 | 6315 | jmvivo | |
31 | 6323 | fjp | public void reload() throws IOException, DriverException; |
32 | 3199 | fjp | } |