This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As described in #125 , the original idea was to be able to write final Task<TableId> task = Task.named("task") .ofType(TableId.class) .context(BigQueryContext.create(table)) .context(BigQueryOperator.create()) .process((stagingTable, bq) -> bq.job( JobInfo.of(QueryJobConfiguration.newBuilder("SELECT foo FROM input") .setDestinationTable(stagingTable.tableId()) .build())) .success(response -> stagingTable.publish())); But because success is package private this use case is only allowed in the classes in the same package, like the unit test
- Loading branch information