Package org.apache.pinot.common.function
Class FunctionUtils
- java.lang.Object
-
- org.apache.pinot.common.function.FunctionUtils
-
public class FunctionUtils extends Object
-
-
Method Summary
Modifier and Type Method Description static PinotDataTypegetArgumentType(Class<?> clazz)Returns the corresponding PinotDataType for the given argument class, ornullif there is no one matching.static DataSchema.ColumnDataTypegetColumnDataType(Class<?> clazz)Returns the corresponding ColumnDataType for the given class, ornullif there is no one matching.static FieldSpec.DataTypegetDataType(Class<?> clazz)Returns the corresponding DataType for the given class, ornullif there is no one matching.static PinotDataTypegetParameterType(Class<?> clazz)Returns the corresponding PinotDataType for the given parameter class, ornullif there is no one matching.
-
-
-
Method Detail
-
getParameterType
@Nullable public static PinotDataType getParameterType(Class<?> clazz)
Returns the corresponding PinotDataType for the given parameter class, ornullif there is no one matching.
-
getArgumentType
@Nullable public static PinotDataType getArgumentType(Class<?> clazz)
Returns the corresponding PinotDataType for the given argument class, ornullif there is no one matching.
-
getDataType
@Nullable public static FieldSpec.DataType getDataType(Class<?> clazz)
Returns the corresponding DataType for the given class, ornullif there is no one matching.
-
getColumnDataType
@Nullable public static DataSchema.ColumnDataType getColumnDataType(Class<?> clazz)
Returns the corresponding ColumnDataType for the given class, ornullif there is no one matching.
-
-