Package deltix.qsrv.hf.tickdb.schema
Class SchemaUpdater
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.schema.SchemaUpdater
-
public class SchemaUpdater extends java.lang.Object
Update old schema to the new (deltix.timebase.api.messages.*)
-
-
Constructor Summary
Constructors Constructor Description SchemaUpdater(deltix.timebase.api.ClassMappingsInfo classMappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaMapping
buildMapping(SchemaMapping mapping, RecordClassDescriptor[] in, RecordClassDescriptor[] out)
RecordClassDescriptor
update(RecordClassDescriptor oldSchema)
RecordClassDescriptor[]
update(RecordClassDescriptor[] oldSchema)
boolean
update(RecordClassSet set)
void
update(StreamOptions options)
-
-
-
Method Detail
-
update
public boolean update(RecordClassSet set) throws Introspector.IntrospectionException, java.lang.ClassNotFoundException
- Throws:
Introspector.IntrospectionException
java.lang.ClassNotFoundException
-
update
public void update(StreamOptions options) throws java.lang.ClassNotFoundException, Introspector.IntrospectionException
- Throws:
java.lang.ClassNotFoundException
Introspector.IntrospectionException
-
update
public RecordClassDescriptor[] update(RecordClassDescriptor[] oldSchema) throws java.lang.ClassNotFoundException, Introspector.IntrospectionException
- Throws:
java.lang.ClassNotFoundException
Introspector.IntrospectionException
-
update
public RecordClassDescriptor update(RecordClassDescriptor oldSchema) throws java.lang.ClassNotFoundException, Introspector.IntrospectionException
- Throws:
java.lang.ClassNotFoundException
Introspector.IntrospectionException
-
buildMapping
public SchemaMapping buildMapping(SchemaMapping mapping, RecordClassDescriptor[] in, RecordClassDescriptor[] out)
-
-