Class NumbaCompileTools

java.lang.Object
com.illumon.iris.db.v2.select.NumbaCompileTools

public class NumbaCompileTools extends Object
  • Field Details

  • Constructor Details

    • NumbaCompileTools

      public NumbaCompileTools()
  • Method Details

    • toPyType

      public static String toPyType(Class type, Class componentType, boolean noFail)
      Returns a numba recognizable type string corresponding to a DH cell type
      Parameters:
      type - The main cell type
      componentType - The component type in case the main type is a DbArray
      noFail - Indicate whether the method is supposed to throw an exception of silently return null in case of mismatch
      Returns:
    • toJavaType

      public static Class toJavaType(String pythonType)