Class IndexCompatibilityChecker

java.lang.Object
io.higson.runtime.engine.core.prepared.IndexCompatibilityChecker

public abstract class IndexCompatibilityChecker extends Object
  • Constructor Details

    • IndexCompatibilityChecker

      public IndexCompatibilityChecker()
  • Method Details

    • areIndexCompatible

      public static boolean areIndexCompatible(Parameter p1, Parameter p2)
      Checks whether both parameters can share the same LevelIndex instance.
    • findIndexCompatibleParameter

      public static PreparedParameter findIndexCompatibleParameter(PreparedParamCache cache, Parameter param)
      Searches the cache for a prepared parameter that can share an index with provided [param]