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 classMetaDataChange.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>changesEnumMappingenumMappingSchemaMappingmappingprotected ClassSet<RecordClassDescriptor>sourceMetaDataChange.ContentTypesourceTypeprotected MetaData<RecordClassDescriptor>targetMetaDataChange.ContentTypetargetType
-
Constructor Summary
Constructors Modifier Constructor Description protectedMetaDataChange()MetaDataChange(ClassSet<RecordClassDescriptor> source, MetaData<RecordClassDescriptor> target, SchemaMapping mapping)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassDescriptorChangegetChange(ClassDescriptor source, ClassDescriptor target)SchemaChange.ImpactgetChangeImpact()static RecordClassDescriptorgetClassDescriptor(ClassSet<RecordClassDescriptor> set, java.lang.String guid)ClassSet<RecordClassDescriptor>getSource()MetaData<RecordClassDescriptor>getTarget()voidinvalidate(ClassSet<RecordClassDescriptor> source, MetaData<RecordClassDescriptor> target)booleanisAcceptable()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:
getChangeImpactin 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.
-
-