com.hardcode.gdbms.engine.data.driver
Interface ReadAccess

All Known Subinterfaces:
AlphanumericDataSource, AlphanumericDBDriver, AlphanumericFileDriver, AlphanumericObjectDriver, DataSource, DBDriver, EditableDataSource, FileDriver, ObjectDriver, PKEditableDataSource, SpatialDataSource, SpatialDBDriver, SpatialFileDriver, SpatialObjectDriver
All Known Implementing Classes:
AbstractDataSource, AggregateDataSource, AlphanumericFileDataSourceAdapter, AlphanumericObjectDataSourceAdapter, AutomaticDataSource, CSVDriver, CSVStringDriver, DBSpatialDataSourceAdapter, DBTableDataSourceAdapter, DistinctDataSource, FilteredDataSource, FooDriver, HSQLDBDriver, HSQLDBTransactionalDriver, JDBCSupport, MySQLDriver, ODBCDriver, OperationDataSource, OrderedDataSource, PDataSource, PostgreSQLDriver, ProjectionDataSource, SpatialFileDataSourceAdapter, SpatialObjectDataSourceAdapter, UndoableAlphanumericDataSource, UndoableSpatialDataSource, UnionDataSource

public interface ReadAccess

Interfaz que define los métodos de acceso de lectura

Author:
Fernando González Cortés

Method Summary
 Value getFieldValue(long rowIndex, int fieldId)
          Obtiene el valor que se encuentra en la fila y columna indicada
 long getRowCount()
          Obtiene el número de registros del DataSource
 

Method Detail

getFieldValue

Value getFieldValue(long rowIndex,
                    int fieldId)
                    throws DriverException
Obtiene el valor que se encuentra en la fila y columna indicada

Parameters:
rowIndex - fila
fieldId - columna
Returns:
subclase de Value con el valor del origen de datos. Never null (use ValueFactory.createNullValue() instead)
Throws:
DriverException - Si se produce un error accediendo al DataSource

getRowCount

long getRowCount()
                 throws DriverException
Obtiene el número de registros del DataSource

Returns:
Throws:
DriverException - Si se produce algún error accediendo al DataSource


Copyright © 2005-2006 . All Rights Reserved.