google/cloud/bigquery/samples/read.cc
// The following are some temporary examples of how I envision the Read()
// functions will be used. Once we settle on the design and implementation,
// we'll restructure these samples, so users can actually run them.
The following are some temporary examples of how I envision the Read()
functions will be used. Once we settle on the design and implementation,
we'll restructure these samples, so users can actually run them.
The following are some temporary examples of how I envision the Read () functions will be used . Once we settle on the design and implementation we ' ll restructure these samples so users can actually run them .
void SimpleRead() {
  ConnectionOptions options;
  Client client(MakeConnection(options));
  ReadResult result = client.Read("my-parent-project",
                                  "bigquery-public-data:samples.shakespeare",
                                   {"c1", "c2", "c3"});
  for (StatusOr<Row> const& row : result.Rows()) {
    if (row.ok()) {
    }
  }
}
void SimpleRead ( ) { ConnectionOptions options ; Client client ( MakeConnection ( options ) ) ; ReadResult result = client . Read ( " " , " " , { " " , " " , " " } ) ; for ( StatusOr < Row > const & row : result . Rows ( ) ) { if ( row . ok ( ) ) { } } }
The following are some temporary examples of how I envision the Read()
functions will be used.
The following are some temporary examples of how I envision the Read () functions will be used .
/* columns = */ // Do something with row.value();