public static ExpressionType of(DataType type, boolean nullable) { int ordinal = type.ordinal(); return nullable ? nullableTypes[ordinal] : types[ordinal]; }
public static ExpressionType nullable(DataType type) { return nullableTypes[type.ordinal()]; }
public static ExpressionType of(DataType type) { return types[type.ordinal()]; }