org.axiondb
Interface ExternalTable

All Superinterfaces:
RowSource, Table
All Known Implementing Classes:
BaseFlatfileTable, DelimitedFlatfileTable, ExternalDatabaseTable, FixedWidthFlatfileTable, TaggedEBCDICTable

public interface ExternalTable
extends Table

Extends Table interface to accept configuration parameters associated with connecting a table to an external resource, such as a flatfile or external JDBC-compatible database.

Typically the external tables or data file are pre-existing so, we need to get more meta information about the data organization so that it can load those existing data file as Axion table.

Version:
$Revision: 1.7 $ $Date: 2004/09/02 01:52:08 $

Field Summary
static String DELIMITED_TABLE_TYPE
           
static String EXTERNAL_DB_TABLE_TYPE
           
static String FW_TABLE_TYPE
           
static String PROP_LOADTYPE
          Property key representing specific table type to be built
static String TAGGED_EBCDIC_TABLE_TYPE
           
 
Fields inherited from interface org.axiondb.Table
REGULAR_TABLE_TYPE, SYSTEM_TABLE_TYPE
 
Method Summary
 Properties getTableProperties()
          Gets Organization Property.
 void remount()
           
 boolean setTableProperties(Properties prop)
          Sets collection of configuration properties for this external table to the given Properties instance.
 
Methods inherited from interface org.axiondb.Table
addColumn, addConstraint, addIndex, addRow, addTableModificationListener, applyDeletes, applyInserts, applyUpdates, drop, freeRowId, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraints, getIndexedRows, getIndexForColumn, getIndices, getMatchingRows, getName, getNextRowId, getRowCount, getRowIterator, getType, hasColumn, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, populateIndex, remount, removeConstraint, removeIndex, removeTableModificationListener, rename, shutdown, truncate, updateRow
 
Methods inherited from interface org.axiondb.RowSource
getRow
 

Field Detail

DELIMITED_TABLE_TYPE

static final String DELIMITED_TABLE_TYPE
See Also:
Constant Field Values

FW_TABLE_TYPE

static final String FW_TABLE_TYPE
See Also:
Constant Field Values

TAGGED_EBCDIC_TABLE_TYPE

static final String TAGGED_EBCDIC_TABLE_TYPE
See Also:
Constant Field Values

EXTERNAL_DB_TABLE_TYPE

static final String EXTERNAL_DB_TABLE_TYPE
See Also:
Constant Field Values

PROP_LOADTYPE

static final String PROP_LOADTYPE
Property key representing specific table type to be built

See Also:
Constant Field Values
Method Detail

setTableProperties

boolean setTableProperties(Properties prop)
                           throws AxionException
Sets collection of configuration properties for this external table to the given Properties instance. This describe how the data is stored the existing data file.

Parameters:
prop - configuration properties for this external table
Throws:
AxionException

getTableProperties

Properties getTableProperties()
Gets Organization Property.

Returns:
Set of organization property key names;

remount

void remount()
             throws AxionException
Throws:
AxionException