Class IsEmptyUtils

java.lang.Object
org.apache.drill.exec.expr.fn.impl.IsEmptyUtils

public class IsEmptyUtils extends Object
  • Constructor Details

    • IsEmptyUtils

      public IsEmptyUtils()
  • Method Details

    • mapIsEmpty

      public static boolean mapIsEmpty(FieldReader reader)
      This function recursively traverses a Drill map to determine whether the map is empty or not.
      Parameters:
      reader - A FieldReader containing the field in question
      Returns:
      True if the field contains no data, false if it does.