private static class TableMapper.LegacyTableInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,TableMapper.LegacyFieldInfo>> |
denorm2j
Indexed map of new field names for denormalized legacy field name.
|
private java.lang.Class<? extends Record> |
dmoClass
The DMO implementation class.
|
private java.lang.Class<? extends DataModelObject> |
dmoIface
The DMO interface.
|
private java.util.Map<java.lang.String,TableMapper.LegacyFieldInfo> |
extents
Field info about extent fields kept by associated DMO property name.
|
private java.util.List<TableMapper.LegacyFieldInfo> |
fieldList
The sorted list of fields.
|
private java.util.Set<java.lang.String> |
hiddenFields
The set of hidden legacy field names (specific to BEFORE TEMP-TABLES).
|
private java.util.List<TableMapper.LegacyIndexInfo> |
idx
Index info kept by index number.
|
private java.util.Map<java.lang.String,TableMapper.LegacyIndexInfo> |
idxj2p
Index info kept by converted index name.
|
private java.util.Map<java.lang.String,TableMapper.LegacyIndexInfo> |
idxp2j
Index info kept by legacy index name.
|
private java.util.Map<java.lang.Integer,TableMapper.LegacyFieldInfo> |
ip2j
Field info kept by legacy buffer field sequence index in progress.
|
private java.util.Map<java.lang.String,TableMapper.LegacyFieldInfo> |
j2p
Field info kept by associated DMO property name.
|
private java.lang.String |
legacyName
The legacy table name.
|
private boolean |
likeSequential
true if the table was defined with LIKE-SEQUENTIAL option. |
private java.util.Map<java.lang.String,TableMapper.LegacyFieldInfo> |
p2j
Field info mapped by normalized legacy name.
|
private java.util.Map<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String>,TableMapper.LegacyTriggerInfo> |
trigger
Trigger info kept by event type and property.
|
private boolean |
validation
Determines if the table has table-level delete validation.
|
Modifier | Constructor and Description |
---|---|
private |
LegacyTableInfo(DmoMeta dmoInfo)
|
Modifier and Type | Method and Description |
---|---|
private void |
loadFields(DmoMeta dmoInfo)
Load all fields from the specified class and add their mappings.
|
private final java.util.Map<java.lang.String,TableMapper.LegacyFieldInfo> p2j
private final java.util.Map<java.lang.Integer,TableMapper.LegacyFieldInfo> ip2j
private final java.util.Map<java.lang.String,TableMapper.LegacyFieldInfo> j2p
private final java.util.Map<java.lang.String,TableMapper.LegacyFieldInfo> extents
private final java.util.Map<java.lang.String,TableMapper.LegacyIndexInfo> idxp2j
private final java.util.Map<java.lang.String,TableMapper.LegacyIndexInfo> idxj2p
private final java.util.List<TableMapper.LegacyIndexInfo> idx
private final java.util.Map<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String>,TableMapper.LegacyTriggerInfo> trigger
private final java.lang.String legacyName
private final java.util.Set<java.lang.String> hiddenFields
private final boolean validation
private final java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,TableMapper.LegacyFieldInfo>> denorm2j
private final java.lang.Class<? extends DataModelObject> dmoIface
private final java.lang.Class<? extends Record> dmoClass
private final boolean likeSequential
true
if the table was defined with LIKE-SEQUENTIAL option.private final java.util.List<TableMapper.LegacyFieldInfo> fieldList
private LegacyTableInfo(DmoMeta dmoInfo)
DmoMeta
and reading the
Indices
and Triggers
annotation from the DMO interface.dmoInfo
- Object which contains metadata about the DMO.loadFields(DmoMeta)
private void loadFields(DmoMeta dmoInfo)
dmoInfo
- The DMO data for the interface or a composite class with the extent fields.java.lang.NullPointerException
- If a DMO property does not have a Property
annotation.