Package com.google.cloud.bigquery
Enum TableMetadataCacheUsage.UnusedReason
java.lang.Object
java.lang.Enum<TableMetadataCacheUsage.UnusedReason>
com.google.cloud.bigquery.TableMetadataCacheUsage.UnusedReason
- All Implemented Interfaces:
Serializable
,Comparable<TableMetadataCacheUsage.UnusedReason>
- Enclosing class:
- TableMetadataCacheUsage
public static enum TableMetadataCacheUsage.UnusedReason
extends Enum<TableMetadataCacheUsage.UnusedReason>
Reason for not using metadata caching for the table.
-
Enum Constant Summary
Enum ConstantDescriptionMetadata cache was outside the table's maxStaleness.Metadata caching feature is not enabled.Other unknown reason.Unused reasons not specified. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static TableMetadataCacheUsage.UnusedReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNUSED_REASON_UNSPECIFIED
Unused reasons not specified. -
EXCEEDED_MAX_STALENESS
Metadata cache was outside the table's maxStaleness. -
METADATA_CACHING_NOT_ENABLED
Metadata caching feature is not enabled. Update BigLake tables to enable the metadata caching. -
OTHER_REASON
Other unknown reason.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-