Class TDBDowngrade


  • public class TDBDowngrade
    extends java.lang.Object
    Downgrade schema version from deltix.qsrv.hf.tickdb.impl.TickStreamImpl#VERSION to (deltix.qsrv.hf.tickdb.impl.TickStreamImpl#VERSION - 0.1)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double VERSION  
    • Constructor Summary

      Constructors 
      Constructor Description
      TDBDowngrade()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void downgrade​(java.io.File[] files)  
      static double getMetaDataVersion​(java.io.File folder)  
      static boolean isActualVersion​(java.io.File timebase)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • VERSION

        public static double VERSION
    • Constructor Detail

      • TDBDowngrade

        public TDBDowngrade()
    • Method Detail

      • isActualVersion

        public static boolean isActualVersion​(java.io.File timebase)
      • getMetaDataVersion

        public static double getMetaDataVersion​(java.io.File folder)
                                         throws java.io.IOException,
                                                java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • downgrade

        public static void downgrade​(java.io.File[] files)
        Parameters:
        files - - paths to db folders