target.apidocs.com.google.api.services.bigquery.model.TableMetadataCacheUsage.html Maven / Gradle / Ivy
TableMetadataCacheUsage (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class TableMetadataCacheUsage
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.TableMetadataCacheUsage
-
public final class TableMetadataCacheUsage
extends com.google.api.client.json.GenericJson
Table level detail on the usage of metadata caching. Only set for Metadata caching eligible
tables referenced in the query.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TableMetadataCacheUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TableMetadataCacheUsage
clone()
String
getExplanation()
Free form human-readable reason metadata caching was unused for the job.
String
getStaleness()
Duration since last refresh as of this job for managed tables (indicates metadata cache
staleness as seen by this job).
TableReference
getTableReference()
Metadata caching eligible table referenced in the query.
String
getTableType()
[Table type](/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type).
String
getUnusedReason()
Reason for not using metadata caching for the table.
TableMetadataCacheUsage
set(String fieldName,
Object value)
TableMetadataCacheUsage
setExplanation(String explanation)
Free form human-readable reason metadata caching was unused for the job.
TableMetadataCacheUsage
setStaleness(String staleness)
Duration since last refresh as of this job for managed tables (indicates metadata cache
staleness as seen by this job).
TableMetadataCacheUsage
setTableReference(TableReference tableReference)
Metadata caching eligible table referenced in the query.
TableMetadataCacheUsage
setTableType(String tableType)
[Table type](/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type).
TableMetadataCacheUsage
setUnusedReason(String unusedReason)
Reason for not using metadata caching for the table.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getExplanation
public String getExplanation()
Free form human-readable reason metadata caching was unused for the job.
- Returns:
- value or
null
for none
-
setExplanation
public TableMetadataCacheUsage setExplanation(String explanation)
Free form human-readable reason metadata caching was unused for the job.
- Parameters:
explanation
- explanation or null
for none
-
getStaleness
public String getStaleness()
Duration since last refresh as of this job for managed tables (indicates metadata cache
staleness as seen by this job).
- Returns:
- value or
null
for none
-
setStaleness
public TableMetadataCacheUsage setStaleness(String staleness)
Duration since last refresh as of this job for managed tables (indicates metadata cache
staleness as seen by this job).
- Parameters:
staleness
- staleness or null
for none
-
getTableReference
public TableReference getTableReference()
Metadata caching eligible table referenced in the query.
- Returns:
- value or
null
for none
-
setTableReference
public TableMetadataCacheUsage setTableReference(TableReference tableReference)
Metadata caching eligible table referenced in the query.
- Parameters:
tableReference
- tableReference or null
for none
-
getTableType
public String getTableType()
[Table type](/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type).
- Returns:
- value or
null
for none
-
setTableType
public TableMetadataCacheUsage setTableType(String tableType)
[Table type](/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type).
- Parameters:
tableType
- tableType or null
for none
-
getUnusedReason
public String getUnusedReason()
Reason for not using metadata caching for the table.
- Returns:
- value or
null
for none
-
setUnusedReason
public TableMetadataCacheUsage setUnusedReason(String unusedReason)
Reason for not using metadata caching for the table.
- Parameters:
unusedReason
- unusedReason or null
for none
-
set
public TableMetadataCacheUsage set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TableMetadataCacheUsage clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.