Package deltix.qsrv.hf.tickdb.tool
Class TDBDowngrade
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.tool.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)
-
-
-
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
-
-