Package deltix.qsrv.hf.tickdb.schema
Class SchemaAnalyzer
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.schema.SchemaAnalyzer
-
public class SchemaAnalyzer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static SchemaAnalyzer
DEFAULT
-
Constructor Summary
Constructors Constructor Description SchemaAnalyzer(SchemaMapping mapping)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MetaDataChange
buildChanges(MetaDataChange dataChange)
MetaDataChange
getChanges(ClassSet<RecordClassDescriptor> in, MetaDataChange.ContentType inType, MetaData<RecordClassDescriptor> out, MetaDataChange.ContentType outType)
StreamMetaDataChange
getChanges(RecordClassSet in, MetaDataChange.ContentType inType, RecordClassSet out, MetaDataChange.ContentType outType)
static StreamMetaDataChange
getChanges(DXTickStream source, DXTickStream target)
protected ClassDescriptorChange
getChanges(MetaDataChange meta, RecordClassDescriptor in, RecordClassDescriptor out)
boolean
hasImpactOnCreate(NonStaticFieldLayout target, java.util.List<NonStaticFieldLayout> targetFields, RecordLayout source)
boolean
hasImpactOnDelete(NonStaticFieldLayout source, java.util.List<NonStaticFieldLayout> sourceFields, RecordLayout target)
static boolean
isEquals(DataField source, DataField target)
-
-
-
Field Detail
-
DEFAULT
public static final SchemaAnalyzer DEFAULT
-
-
Constructor Detail
-
SchemaAnalyzer
public SchemaAnalyzer(SchemaMapping mapping)
-
-
Method Detail
-
getChanges
public StreamMetaDataChange getChanges(RecordClassSet in, MetaDataChange.ContentType inType, RecordClassSet out, MetaDataChange.ContentType outType)
-
getChanges
public static StreamMetaDataChange getChanges(DXTickStream source, DXTickStream target)
-
buildChanges
protected MetaDataChange buildChanges(MetaDataChange dataChange)
-
getChanges
public MetaDataChange getChanges(ClassSet<RecordClassDescriptor> in, MetaDataChange.ContentType inType, MetaData<RecordClassDescriptor> out, MetaDataChange.ContentType outType)
-
getChanges
protected ClassDescriptorChange getChanges(MetaDataChange meta, RecordClassDescriptor in, RecordClassDescriptor out)
-
hasImpactOnDelete
public boolean hasImpactOnDelete(NonStaticFieldLayout source, java.util.List<NonStaticFieldLayout> sourceFields, RecordLayout target)
-
hasImpactOnCreate
public boolean hasImpactOnCreate(NonStaticFieldLayout target, java.util.List<NonStaticFieldLayout> targetFields, RecordLayout source)
-
-