Class FunctionUtils


  • public class FunctionUtils
    extends Object
    • Method Detail

      • getParameterType

        @Nullable
        public static PinotDataType getParameterType​(Class<?> clazz)
        Returns the corresponding PinotDataType for the given parameter class, or null if there is no one matching.
      • getArgumentType

        @Nullable
        public static PinotDataType getArgumentType​(Class<?> clazz)
        Returns the corresponding PinotDataType for the given argument class, or null if there is no one matching.
      • getDataType

        @Nullable
        public static FieldSpec.DataType getDataType​(Class<?> clazz)
        Returns the corresponding DataType for the given class, or null if there is no one matching.
      • getColumnDataType

        @Nullable
        public static DataSchema.ColumnDataType getColumnDataType​(Class<?> clazz)
        Returns the corresponding ColumnDataType for the given class, or null if there is no one matching.