Package io.trino.testing.datatype
Class DataTypeTestToSqlDataTypeTestConverter
- java.lang.Object
-
- io.trino.testing.datatype.DataTypeTestToSqlDataTypeTestConverter
-
public final class DataTypeTestToSqlDataTypeTestConverter extends Object
A helper class aiding migration fromDataTypeTesttoSqlDataTypeTest. Replace call toDataTypeTest.create()withcreate()to have your test code generated.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> DataTypeTestToSqlDataTypeTestConverteraddRoundTrip(DataType<T> dataType, T value)static DataTypeTestToSqlDataTypeTestConvertercreate()DataTypeTestToSqlDataTypeTestConverterexecute(Object... args)
-
-
-
Method Detail
-
create
public static DataTypeTestToSqlDataTypeTestConverter create()
-
addRoundTrip
public <T> DataTypeTestToSqlDataTypeTestConverter addRoundTrip(DataType<T> dataType, T value)
-
execute
public DataTypeTestToSqlDataTypeTestConverter execute(Object... args)
-
-