@Experimental public class TestTableUtils extends java.lang.Object
| Constructor and Description | 
|---|
| TestTableUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Schema | buildBeamSqlSchema(java.lang.Object... args)Create a RowsBuilder with the specified row type info. | 
| static java.util.List<Row> | buildRows(Schema type,
         java.util.List<?> rowsValues)Convenient way to build a  BeamSqlRows. | 
| static Schema.Field | toRecordField(java.lang.Object[] args,
             int i) | 
public static Schema buildBeamSqlSchema(java.lang.Object... args)
For example:
 TestUtils.RowsBuilder.of(
   Types.INTEGER, "order_id",
   Types.INTEGER, "sum_site_id",
   Types.VARCHAR, "buyer"
 )
 args - pairs of column type and column names.public static Schema.Field toRecordField(java.lang.Object[] args, int i)