public class TableSchemaCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
TableSchema |
getSchema(TableReference tableReference,
BigQueryServices.DatasetService datasetService) |
TableSchema |
putSchemaIfAbsent(TableReference tableReference,
TableSchema tableSchema)
Registers schema for a table if one is not already present.
|
void |
refreshSchema(TableReference tableReference,
BigQueryServices.DatasetService datasetService) |
void |
refreshThread() |
@Nullable public TableSchema getSchema(TableReference tableReference, BigQueryServices.DatasetService datasetService)
@Nullable public TableSchema putSchemaIfAbsent(TableReference tableReference, TableSchema tableSchema)
public void refreshSchema(TableReference tableReference, BigQueryServices.DatasetService datasetService)
public void refreshThread()