public class TypeCastRules extends Object
| Constructor and Description |
|---|
TypeCastRules() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getCost(List<TypeProtos.MajorType> argumentTypes,
DrillFuncHolder holder) |
static TypeProtos.DataMode |
getLeastRestrictiveDataMode(List<TypeProtos.DataMode> dataModes) |
static TypeProtos.MinorType |
getLeastRestrictiveType(List<TypeProtos.MinorType> types) |
static boolean |
isCastable(TypeProtos.MinorType from,
TypeProtos.MinorType to) |
static boolean |
isCastableWithNullHandling(TypeProtos.MajorType from,
TypeProtos.MajorType to,
FunctionTemplate.NullHandling nullHandling) |
static boolean |
isNumericType(TypeProtos.MinorType inputType) |
public static boolean isCastableWithNullHandling(TypeProtos.MajorType from, TypeProtos.MajorType to, FunctionTemplate.NullHandling nullHandling)
public static boolean isCastable(TypeProtos.MinorType from, TypeProtos.MinorType to)
public static TypeProtos.DataMode getLeastRestrictiveDataMode(List<TypeProtos.DataMode> dataModes)
public static TypeProtos.MinorType getLeastRestrictiveType(List<TypeProtos.MinorType> types)
public static int getCost(List<TypeProtos.MajorType> argumentTypes, DrillFuncHolder holder)
public static boolean isNumericType(TypeProtos.MinorType inputType)
Copyright © 2017 The Apache Software Foundation. All rights reserved.