java.lang.Object
one.microstream.examples.customlegacytypehandler.Main

public class Main
extends Object
This example shows how custom legacy type mapping is done. USAGE: Run this sample twice. For the first run use the upper first generation "NicePlace" Object to setup the initial storage. Before the second run switch to the modified, second generation version of the "NicePlace" object by commenting out the initial version and using the modified one in NicePlace.java. the custom type mapping is done by the LegacyTypeHandlerNicePlace.
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main​(String[] args)
    • ObjectToString

      public static String ObjectToString​(Object o)
      Object class and field to String
      Parameters:
      Object - o
      Returns:
      String
    • GetTempWorkDirectory

      public static File GetTempWorkDirectory​(String name)
      create a working directory with constant name in system's temporary directory