public interface MappingConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
addTable(TableMapping table)
Adds the given configuration
|
void |
addTableIfNotExists(TableMapping table)
Adds the given configuration if not already exists
|
DataGraphMapping |
findDataGraph(QName qname,
StoreMappingContext context)
Returns a data graph config for the given qualified SDO Type name or null
of not exists.
|
Property |
findProperty(String name) |
TableMapping |
findTable(QName typeName,
StoreMappingContext context)
Returns a table configuration for the given qualified SDO Type name or null
if not found.
|
TableMapping |
findTable(commonj.sdo.Type type,
StoreMappingContext context)
Returns a table configuration for the given SDO Type or null if not found.
|
TableMapping |
findTableByQualifiedLogicalName(String tableName,
StoreMappingContext context)
Returns a table configuration based on the given table name.
|
Charset |
getCharset() |
ConfigProperties |
getConfigProperties() |
DataGraphMapping |
getDataGraph(QName qname,
StoreMappingContext context)
Returns a data graph mapping for the given qualified SDO Type name.
|
List<TableMapping> |
getDynamicTables(StoreMappingContext context)
Returns all tables dynamically defined, that is those tables defined
dynamically at runtime
|
List<Property> |
getProperties() |
List<TableMapping> |
getStaticTables(StoreMappingContext context)
Returns all tables not dynamically defined, that is those tables defined
within a static mapping resource / file.
|
TableMapping |
getTable(QName typeName,
StoreMappingContext context)
Returns a table configuration for the given qualified SDO Type name.
|
TableMapping |
getTable(commonj.sdo.Type type,
StoreMappingContext context)
Returns a table configuration for the given SDO Type.
|
TableMapping |
getTableByQualifiedLogicalName(String qualifiedTableName,
StoreMappingContext context)
Returns a table mapping based on the given table name.
|
void |
marshal(OutputStream stream) |
boolean |
optimisticConcurrency() |
void |
removeTable(TableMapping table)
Adds the given configuration
|
void |
removeTableIfExists(TableMapping table)
Adds the given configuration if exists
|
String |
tableNamespaceRoot() |
String |
tableVolumeName() |
boolean |
tombstoneRows() |
boolean |
tombstoneRowsOverwriteable() |
boolean |
uniqueChecks() |
void marshal(OutputStream stream)
ConfigProperties getConfigProperties()
List<TableMapping> getStaticTables(StoreMappingContext context)
context - the mapping contextList<TableMapping> getDynamicTables(StoreMappingContext context)
context - the mapping contextTableMapping findTable(QName typeName, StoreMappingContext context)
typeName - the qualified name of an SDO TypeTableMapping getTable(QName typeName, StoreMappingContext context)
typeName - the qualified name of an SDO TypeStoreMappingException - if the given name is not foundTableMapping findTable(commonj.sdo.Type type, StoreMappingContext context)
type - the SDO TypeTableMapping getTable(commonj.sdo.Type type, StoreMappingContext context)
type - the SDO TypeStoreMappingException - if the given type is not foundTableMapping findTableByQualifiedLogicalName(String tableName, StoreMappingContext context)
tableName - the table name or null if not found.TableMapping getTableByQualifiedLogicalName(String qualifiedTableName, StoreMappingContext context)
tableName - the table nameStoreMappingException - if the given name is not foundvoid addTable(TableMapping table)
table - the table configurationvoid addTableIfNotExists(TableMapping table)
table - the table configurationvoid removeTable(TableMapping table)
table - the table configurationvoid removeTableIfExists(TableMapping table)
table - the table configurationDataGraphMapping findDataGraph(QName qname, StoreMappingContext context)
typeName - the qualified name of an SDO TypeDataGraphMapping getDataGraph(QName qname, StoreMappingContext context)
typeName - the qualified name of an SDO TypeStoreMappingException - if no configured data graph exists for the given qualified SDO
Type nameCharset getCharset()
boolean uniqueChecks()
boolean tombstoneRows()
boolean tombstoneRowsOverwriteable()
String tableNamespaceRoot()
String tableVolumeName()
boolean optimisticConcurrency()
Copyright © 2024. All Rights Reserved.