Class IsEmptyUtils
java.lang.Object
org.apache.drill.exec.expr.fn.impl.IsEmptyUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
mapIsEmpty
(FieldReader reader) This function recursively traverses a Drill map to determine whether the map is empty or not.
-
Constructor Details
-
IsEmptyUtils
public IsEmptyUtils()
-
-
Method Details
-
mapIsEmpty
This function recursively traverses a Drill map to determine whether the map is empty or not.- Parameters:
reader
- AFieldReader
containing the field in question- Returns:
- True if the field contains no data, false if it does.
-