Class TableMetadataCacheUsage.Builder (2.38.2)

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
TypeDescription
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
NameDescription
explanationString
Returns
TypeDescription
TableMetadataCacheUsage.Builder

setTableReference(TableId tableReference)

public abstract TableMetadataCacheUsage.Builder setTableReference(TableId tableReference)

Sets the metadata caching eligible table referenced in the query.

Parameter
NameDescription
tableReferenceTableId
Returns
TypeDescription
TableMetadataCacheUsage.Builder

setTableType(String tableType)

public abstract TableMetadataCacheUsage.Builder setTableType(String tableType)

Sets the table type.

Parameter
NameDescription
tableTypeString
Returns
TypeDescription
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
NameDescription
unusedReasonTableMetadataCacheUsage.UnusedReason
Returns
TypeDescription
TableMetadataCacheUsage.Builder