public abstract class BaseTableOrganizationContext extends java.lang.Object implements TableOrganizationContext
Modifier and Type | Field and Description |
---|---|
protected java.util.Properties |
_props |
Constructor and Description |
---|
BaseTableOrganizationContext() |
Modifier and Type | Method and Description |
---|---|
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.
|
abstract java.util.Set |
getPropertyKeys()
Gets a Set of Strings representing valid property key names.
|
abstract java.util.Set |
getRequiredPropertyKeys() |
java.util.Properties |
getTableProperties()
Gets table properties for this external table instance.
|
abstract void |
readOrSetDefaultProperties(java.util.Properties props) |
void |
setProperty(java.lang.String key,
java.lang.String value) |
void |
updateProperties() |
public java.util.Properties getTableProperties()
TableOrganizationContext
getTableProperties
in interface TableOrganizationContext
public abstract java.util.Set getPropertyKeys()
TableOrganizationContext
getPropertyKeys
in interface TableOrganizationContext
public abstract java.util.Set getRequiredPropertyKeys()
getRequiredPropertyKeys
in interface TableOrganizationContext
public abstract void readOrSetDefaultProperties(java.util.Properties props) throws AxionException
readOrSetDefaultProperties
in interface TableOrganizationContext
AxionException
public void updateProperties()
updateProperties
in interface TableOrganizationContext
public void setProperty(java.lang.String key, java.lang.String value)
setProperty
in interface TableOrganizationContext
public java.util.Set getBasePropertyKeys()
TableOrganizationContext
getBasePropertyKeys
in interface TableOrganizationContext
public java.util.Set getBaseRequiredPropertyKeys()
TableOrganizationContext
getBaseRequiredPropertyKeys
in interface TableOrganizationContext
public void assertValidPropertyKeys(java.util.Properties props) throws AxionException
TableOrganizationContext
assertValidPropertyKeys
in interface TableOrganizationContext
props
- Properties instance whose keys are to be checkedAxionException