org.axiondb

Interface ExternalTable

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.11 $ $Date: 2005/08/24 00:34:52 $

Author: Ahimanikya Satapathy Jonathan Giron

Field Summary
static StringCOLUMNS_ARE_CASE_SENSITIVE
static StringDELIMITED_TABLE_TYPE
static StringEXTERNAL_DB_TABLE_TYPE
static StringFW_TABLE_TYPE
static StringPROP_CATALOG
Property key name for catalog name
static StringPROP_CREATE_IF_NOT_EXIST
static StringPROP_DB
Property key name for database link
static StringPROP_LOADTYPE
Property key representing specific table type to be built
static StringPROP_ORDERBY
Property key name for where filter
static StringPROP_REMOTETABLE
Property key name for remote table name
static StringPROP_SCHEMA
Property key name for schema name
static StringPROP_VENDOR
Property key representing (optional) DB vendor name for remote table
static StringPROP_WHERE
Property key name for where filter
static StringTAGGED_EBCDIC_TABLE_TYPE
Method Summary
PropertiesgetTableProperties()
Gets Organization Property.
booleanloadExternalTable(Properties prop)
Loads external data using the given properties table - should be called only once by the table factory.
voidremount()

Field Detail

COLUMNS_ARE_CASE_SENSITIVE

public static final String COLUMNS_ARE_CASE_SENSITIVE

DELIMITED_TABLE_TYPE

public static final String DELIMITED_TABLE_TYPE

EXTERNAL_DB_TABLE_TYPE

public static final String EXTERNAL_DB_TABLE_TYPE

FW_TABLE_TYPE

public static final String FW_TABLE_TYPE

PROP_CATALOG

public static final String PROP_CATALOG
Property key name for catalog name

PROP_CREATE_IF_NOT_EXIST

public static final String PROP_CREATE_IF_NOT_EXIST

PROP_DB

public static final String PROP_DB
Property key name for database link

PROP_LOADTYPE

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

PROP_ORDERBY

public static final String PROP_ORDERBY
Property key name for where filter

PROP_REMOTETABLE

public static final String PROP_REMOTETABLE
Property key name for remote table name

PROP_SCHEMA

public static final String PROP_SCHEMA
Property key name for schema name

PROP_VENDOR

public static final String PROP_VENDOR
Property key representing (optional) DB vendor name for remote table

PROP_WHERE

public static final String PROP_WHERE
Property key name for where filter

TAGGED_EBCDIC_TABLE_TYPE

public static final String TAGGED_EBCDIC_TABLE_TYPE

Method Detail

getTableProperties

public Properties getTableProperties()
Gets Organization Property.

Returns: Set of organization property key names;

loadExternalTable

public boolean loadExternalTable(Properties prop)
Loads external data using the given properties table - should be called only once by the table factory.

Parameters: prop configuration properties for this external table

remount

public void remount()