@Test public void testIsAggFunc() { assertTrue(FunctionDefinitionRegistry.isAggFunc("count")); assertFalse(FunctionDefinitionRegistry.isAggFunc("toEpochSeconds")); }
public static boolean isAggFunc(String functionName) { try { AggregationFunctionType.getAggregationFunctionType(functionName); return true; } catch (IllegalArgumentException e) { return false; } }
FunctionDefinitionRegistry { public static boolean isAggFunc(String functionName) { try { AggregationFunctionType.getAggregationFunctionType(functionName); return true; } catch (IllegalArgumentException e) { return false; } } }
FunctionDefinitionRegistry { public static boolean isAggFunc(String functionName) { try { AggregationFunctionType.getAggregationFunctionType(functionName); return true; } catch (IllegalArgumentException e) { return false; } }  }
FunctionDefinitionRegistry { public static boolean isAggFunc(String functionName) { try { AggregationFunctionType.getAggregationFunctionType(functionName); return true; } catch (IllegalArgumentException e) { return false; } }  static boolean isAggFunc(String functionName); static boolean isTransformFunc(String functionName); }
FunctionDefinitionRegistry { public static boolean isAggFunc(String functionName) { try { AggregationFunctionType.getAggregationFunctionType(functionName); return true; } catch (IllegalArgumentException e) { return false; } }  static boolean isAggFunc(String functionName); static boolean isTransformFunc(String functionName);  }