| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
TestBigQuery.PollingAssertion
Interface to implement a polling assertion. 
 | 
class  | 
TestBigQuery.RowsAssertion
Interface for creating a polling eventual assertion. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Statement | 
apply(Statement base,
     Description description)  | 
TestBigQuery.RowsAssertion | 
assertThatAllRows(Schema rowSchema)  | 
static TestBigQuery | 
create(Schema tableSchema)
Creates an instance of this rule. 
 | 
java.util.List<Row> | 
getFlatJsonRows(Schema rowSchema)
 | 
TableDataInsertAllResponse | 
insertRows(Schema rowSchema,
          Row... rows)  | 
TableReference | 
tableReference()  | 
java.lang.String | 
tableSpec()  | 
public static TestBigQuery create(Schema tableSchema)
Loads GCP configuration from TestPipelineOptions.
public Statement apply(Statement base, Description description)
@RequiresNonNull(value="table") public java.lang.String tableSpec()
@RequiresNonNull(value="table") public TableReference tableReference()
@RequiresNonNull(value="table") public TableDataInsertAllResponse insertRows(Schema rowSchema, Row... rows) throws java.io.IOException
java.io.IOExceptionpublic java.util.List<Row> getFlatJsonRows(Schema rowSchema)
Rows with given Schema.
 Current implementation only supports flat Rows and target Schemas
 with Schema.FieldType.STRING fields only.
public TestBigQuery.RowsAssertion assertThatAllRows(Schema rowSchema)