Class MqlForeignTypes

java.lang.Object
net.hollowcube.mql.foreign.MqlForeignTypes

public class MqlForeignTypes extends Object
Conversion utility between java types and MQL types.

todo not sure if other types should be convertable. I think just doubles is fine.

  • Constructor Details

    • MqlForeignTypes

      public MqlForeignTypes()
  • Method Details

    • toMql

      @NotNull public static @NotNull MqlValue toMql(@UnknownNullability Object javaValue)
    • fromMql

      public static @UnknownNullability Object fromMql(@NotNull @NotNull MqlValue value, @NotNull @NotNull Class<?> targetType)