Package deltix.qsrv.hf.tickdb.schema
Class MetaDataChange
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.schema.MetaDataChange
-
- All Implemented Interfaces:
SchemaChange
- Direct Known Subclasses:
CopyStreamMetaDataChange
,StreamMetaDataChange
public class MetaDataChange extends java.lang.Object implements SchemaChange
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetaDataChange.ContentType
-
Nested classes/interfaces inherited from interface deltix.qsrv.hf.tickdb.schema.SchemaChange
SchemaChange.Impact
-
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList<ClassDescriptorChange>
changes
EnumMapping
enumMapping
SchemaMapping
mapping
protected ClassSet<RecordClassDescriptor>
source
MetaDataChange.ContentType
sourceType
protected MetaData<RecordClassDescriptor>
target
MetaDataChange.ContentType
targetType
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetaDataChange()
MetaDataChange(ClassSet<RecordClassDescriptor> source, MetaData<RecordClassDescriptor> target, SchemaMapping mapping)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassDescriptorChange
getChange(ClassDescriptor source, ClassDescriptor target)
SchemaChange.Impact
getChangeImpact()
static RecordClassDescriptor
getClassDescriptor(ClassSet<RecordClassDescriptor> set, java.lang.String guid)
ClassSet<RecordClassDescriptor>
getSource()
MetaData<RecordClassDescriptor>
getTarget()
void
invalidate(ClassSet<RecordClassDescriptor> source, MetaData<RecordClassDescriptor> target)
boolean
isAcceptable()
Indicates, that this change can be applied to metadata.
-
-
-
Field Detail
-
source
protected ClassSet<RecordClassDescriptor> source
-
target
protected MetaData<RecordClassDescriptor> target
-
enumMapping
public EnumMapping enumMapping
-
sourceType
public MetaDataChange.ContentType sourceType
-
targetType
public MetaDataChange.ContentType targetType
-
mapping
public SchemaMapping mapping
-
changes
public java.util.ArrayList<ClassDescriptorChange> changes
-
-
Constructor Detail
-
MetaDataChange
protected MetaDataChange()
-
MetaDataChange
public MetaDataChange(ClassSet<RecordClassDescriptor> source, MetaData<RecordClassDescriptor> target, SchemaMapping mapping)
-
-
Method Detail
-
getSource
public ClassSet<RecordClassDescriptor> getSource()
-
getChangeImpact
public SchemaChange.Impact getChangeImpact()
- Specified by:
getChangeImpact
in interfaceSchemaChange
-
getChange
public ClassDescriptorChange getChange(ClassDescriptor source, ClassDescriptor target)
-
invalidate
public void invalidate(ClassSet<RecordClassDescriptor> source, MetaData<RecordClassDescriptor> target)
-
getClassDescriptor
public static RecordClassDescriptor getClassDescriptor(ClassSet<RecordClassDescriptor> set, java.lang.String guid)
-
getTarget
public MetaData<RecordClassDescriptor> getTarget()
-
isAcceptable
public boolean isAcceptable()
Indicates, that this change can be applied to metadata.
-
-