Uses of Class
io.trino.testing.datatype.DataType
Packages that use DataType
-
Uses of DataType in io.trino.testing.datatype
Methods in io.trino.testing.datatype that return DataTypeModifier and TypeMethodDescriptionDataType.bigintDataType()DataType.booleanDataType()DataType.charDataType(int length) DataType.charDataType(int length, String properties) DataType.charDataType(String insertType, int length) static <T> DataType<T>static <T> DataType<T>DataType.dataType(String insertType, Type trinoResultType, Function<T, String> toLiteral, Function<T, ?> toTrinoQueryResult) Deprecated.static <T> DataType<T>DataType.dataType(String insertType, Type trinoResultType, Function<T, String> toLiteral, Function<T, String> toTrinoLiteral, Function<T, ?> toTrinoQueryResult) Deprecated.toTrinoQueryResultconcept is deprecated.DataType.dateDataType()static DataType<BigDecimal>DataType.decimalDataType(int precision, int scale) DataType.doubleDataType()DataType.integerDataType()DataType.jsonDataType()DataType.realDataType()DataType.smallintDataType()DataType.stringDataType(String insertType, Type trinoResultType) DataType.timeDataType(int precision) static DataType<LocalDateTime>DataType.timestampDataType()Deprecated.UsetimestampDataType(int)instead.static DataType<LocalDateTime>DataType.timestampDataType(int precision) static DataType<ZonedDateTime>DataType.timestampWithTimeZoneDataType(int precision) static DataType<OffsetTime>DataType.timeWithTimeZoneDataType(int precision) DataType.tinyintDataType()static DataType<byte[]>DataType.varbinaryDataType()DataType.varcharDataType()DataType.varcharDataType(int size) DataType.varcharDataType(int size, String properties) Methods in io.trino.testing.datatype with parameters of type DataTypeModifier and TypeMethodDescription<T> DataTypeTestDataTypeTest.addRoundTrip(DataType<T> dataType, T value) <T> DataTypeTestDataTypeTest.addRoundTrip(DataType<T> dataType, T value, boolean useInWhereClause) DataTypeTestToSqlDataTypeTestConverter.addRoundTrip(DataType<T> dataType, T value) Constructors in io.trino.testing.datatype with parameters of type DataType
toTrinoQueryResultconcept is deprecated.