MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / nullSafeDataType

Method nullSafeDataType

jOOQ/src/main/java/org/jooq/impl/Tools.java:7719–7722  ·  view source on GitHub ↗
(Field<T> field)

Source from the content-addressed store, hash-verified

7717 }
7718
7719 @SuppressWarnings("unchecked")
7720 static final <T> DataType<T> nullSafeDataType(Field<T> field) {
7721 return (DataType<T>) (field == null ? SQLDataType.OTHER : field.getDataType());
7722 }
7723
7724 @SuppressWarnings("unchecked")
7725 static final <T> DataType<T> nullSafeDataType(Field<?>[] values) {

Callers 15

AnyValueMethod · 0.95
BitOrAggMethod · 0.95
BitNorAggMethod · 0.95
valMethod · 0.95
nullSafeDataTypeMethod · 0.95
BitXorAggMethod · 0.95
BitXNorAggMethod · 0.95
fieldMethod · 0.95
escapeForLikeMethod · 0.95
MinByMethod · 0.95
MaxMethod · 0.95
BitAndAggMethod · 0.95

Calls 2

isEmptyMethod · 0.95
getDataTypeMethod · 0.65

Tested by

no test coverage detected