Class TableMetadataCacheUsage.Builder (2.44.0)

public abstract static class TableMetadataCacheUsage.Builder

Inheritance

java.lang.Object > TableMetadataCacheUsage.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract TableMetadataCacheUsage build()

Creates a @code TableMetadataCacheUsage} object.

Returns
Type Description
TableMetadataCacheUsage

setExplanation(String explanation)

public abstract TableMetadataCacheUsage.Builder setExplanation(String explanation)

Sets the free form human-readable reason metadata caching was unused for the job.

Parameter
Name Description
explanation String
Returns
Type Description
TableMetadataCacheUsage.Builder

setTableReference(TableId tableReference)

public abstract TableMetadataCacheUsage.Builder setTableReference(TableId tableReference)

Sets the metadata caching eligible table referenced in the query.

Parameter
Name Description
tableReference TableId
Returns
Type Description
TableMetadataCacheUsage.Builder

setTableType(String tableType)

public abstract TableMetadataCacheUsage.Builder setTableType(String tableType)

Sets the table type.

Parameter
Name Description
tableType String
Returns
Type Description
TableMetadataCacheUsage.Builder

setUnusedReason(TableMetadataCacheUsage.UnusedReason unusedReason)

public abstract TableMetadataCacheUsage.Builder setUnusedReason(TableMetadataCacheUsage.UnusedReason unusedReason)

Sets reason for not using metadata caching for the table.

Parameter
Name Description
unusedReason TableMetadataCacheUsage.UnusedReason
Returns
Type Description
TableMetadataCacheUsage.Builder