public final class HivePartitioningOptions
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HivePartitioningOptions() |
| Modifier and Type | Method and Description |
|---|---|
HivePartitioningOptions |
clone() |
List<String> |
getFields()
[Output-only] For permanent external tables, this field is populated with the hive partition
keys in the order they were inferred.
|
String |
getMode()
[Optional] When set, what mode of hive partitioning to use when reading data.
|
Boolean |
getRequirePartitionFilter()
[Optional] If set to true, queries over this table require a partition filter that can be used
for partition elimination to be specified.
|
String |
getSourceUriPrefix()
[Optional] When hive partition detection is requested, a common prefix for all source uris
should be supplied.
|
HivePartitioningOptions |
set(String fieldName,
Object value) |
HivePartitioningOptions |
setFields(List<String> fields)
[Output-only] For permanent external tables, this field is populated with the hive partition
keys in the order they were inferred.
|
HivePartitioningOptions |
setMode(String mode)
[Optional] When set, what mode of hive partitioning to use when reading data.
|
HivePartitioningOptions |
setRequirePartitionFilter(Boolean requirePartitionFilter)
[Optional] If set to true, queries over this table require a partition filter that can be used
for partition elimination to be specified.
|
HivePartitioningOptions |
setSourceUriPrefix(String sourceUriPrefix)
[Optional] When hive partition detection is requested, a common prefix for all source uris
should be supplied.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getFields()
null for nonepublic HivePartitioningOptions setFields(List<String> fields)
fields - fields or null for nonepublic String getMode()
null for nonepublic HivePartitioningOptions setMode(String mode)
mode - mode or null for nonepublic Boolean getRequirePartitionFilter()
null for nonepublic HivePartitioningOptions setRequirePartitionFilter(Boolean requirePartitionFilter)
requirePartitionFilter - requirePartitionFilter or null for nonepublic String getSourceUriPrefix()
null for nonepublic HivePartitioningOptions setSourceUriPrefix(String sourceUriPrefix)
sourceUriPrefix - sourceUriPrefix or null for nonepublic HivePartitioningOptions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HivePartitioningOptions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.