org.axiondb
Interface TableOrganizationContext

All Known Implementing Classes:
BaseFlatfileTable.BaseFlatfileTableOrganizationContext, BaseTableOrganizationContext

public interface TableOrganizationContext

Table Organization Context.

Version:
$Revision: 1.1 $ $Date: 2004/08/31 02:34:40 $

Method Summary
 void assertValidPropertyKeys(java.util.Properties props)
          Asserts that all property keys referenced in the given Properties instance are valid for the specific external table type.
 java.util.Set getBasePropertyKeys()
          Gets a Set of Strings representing property key names that all ExternalTable instances should accept.
 java.util.Set getBaseRequiredPropertyKeys()
          Gets a Set of Strings representing property key names that all ExternalTable instances must require.
 java.util.Set getPropertyKeys()
          Gets a Set of Strings representing valid property key names.
 java.util.Set getRequiredPropertyKeys()
           
 java.util.Properties getTableProperties()
          Gets table properties for this external table instance.
 void readOrSetDefaultProperties(java.util.Properties props)
           
 void setProperty(java.lang.String key, java.lang.String value)
           
 void updateProperties()
           
 

Method Detail

getTableProperties

java.util.Properties getTableProperties()
Gets table properties for this external table instance.

Returns:
Properties instance containing current table properties

getPropertyKeys

java.util.Set getPropertyKeys()
Gets a Set of Strings representing valid property key names.

Returns:
Set of valid property key names

getRequiredPropertyKeys

java.util.Set getRequiredPropertyKeys()

getBasePropertyKeys

java.util.Set getBasePropertyKeys()
Gets a Set of Strings representing property key names that all ExternalTable instances should accept.

Returns:
Set of basic valid property key names

getBaseRequiredPropertyKeys

java.util.Set getBaseRequiredPropertyKeys()
Gets a Set of Strings representing property key names that all ExternalTable instances must require.

Returns:
Set of basic required property key names

assertValidPropertyKeys

void assertValidPropertyKeys(java.util.Properties props)
                             throws AxionException
Asserts that all property keys referenced in the given Properties instance are valid for the specific external table type.

Parameters:
props - Properties instance whose keys are to be checked
Throws:
AxionException

readOrSetDefaultProperties

void readOrSetDefaultProperties(java.util.Properties props)
                                throws AxionException
Throws:
AxionException

updateProperties

void updateProperties()

setProperty

void setProperty(java.lang.String key,
                 java.lang.String value)