public final class HivePartitioningOptions extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HivePartitioningOptions() |
Modifier and Type | Method and Description |
---|---|
HivePartitioningOptions |
clone() |
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 |
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public HivePartitioningOptions clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.