Modifier and Type | Class and Description |
---|---|
static class |
BigQueryReader.Options
Optional attributes for
BigQueryReader |
operation
Modifier and Type | Method and Description |
---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static BigQueryReader.Options |
container(String container) |
static BigQueryReader |
create(Scope scope,
String projectId,
String datasetId,
String tableId,
List<String> columns,
Long timestampMillis,
BigQueryReader.Options... options)
Factory method to create a class wrapping a new BigQueryReader operation.
|
Output<String> |
readerHandle()
The handle to reference the Reader.
|
static BigQueryReader.Options |
sharedName(String sharedName) |
static BigQueryReader.Options |
testEndPoint(String testEndPoint) |
equals, hashCode, op, toString
public static BigQueryReader create(Scope scope, String projectId, String datasetId, String tableId, List<String> columns, Long timestampMillis, BigQueryReader.Options... options)
scope
- current scopeprojectId
- GCP project ID.datasetId
- BigQuery Dataset ID.tableId
- Table to read.columns
- List of columns to read. Leave empty to read all columns.timestampMillis
- Table snapshot timestamp in millis since epoch. Relative
(negative or zero) snapshot times are not allowed. For more details, see
'Table Decorators' in BigQuery docs.options
- carries optional attributes valuespublic static BigQueryReader.Options container(String container)
container
- If non-empty, this reader is placed in the given container.
Otherwise, a default container is used.public static BigQueryReader.Options sharedName(String sharedName)
sharedName
- If non-empty, this reader is named in the given bucket
with this shared_name. Otherwise, the node name is used instead.public static BigQueryReader.Options testEndPoint(String testEndPoint)
testEndPoint
- Do not use. For testing purposes only.public Output<String> asOutput()
Operand
Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput
in interface Operand<String>
OperationBuilder.addInput(Output)
Copyright © 2015–2019. All rights reserved.