Class TableSchemaCache
java.lang.Object
org.apache.beam.sdk.io.gcp.bigquery.TableSchemaCache
An updatable cache for table schemas.
- 
Method Summary
Modifier and TypeMethodDescriptiongetSchema(TableReference tableReference, BigQueryServices.DatasetService datasetService) putSchemaIfAbsent(TableReference tableReference, TableSchema tableSchema) Registers schema for a table if one is not already present.voidrefreshSchema(TableReference tableReference, BigQueryServices.DatasetService datasetService) void 
- 
Method Details
- 
getSchema
@Nullable public TableSchema getSchema(TableReference tableReference, BigQueryServices.DatasetService datasetService)  - 
putSchemaIfAbsent
@Nullable public TableSchema putSchemaIfAbsent(TableReference tableReference, TableSchema tableSchema) Registers schema for a table if one is not already present. If a schema is already in the cache, returns the existing schema, otherwise returns null. - 
refreshSchema
public void refreshSchema(TableReference tableReference, BigQueryServices.DatasetService datasetService)  - 
refreshThread
public void refreshThread() 
 -