target.apidocs.com.google.api.services.bigquery.model.QueryParameter.html Maven / Gradle / Ivy
QueryParameter (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class QueryParameter
- 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.QueryParameter
-
public final class QueryParameter
extends com.google.api.client.json.GenericJson
A parameter given to a 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
QueryParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
QueryParameter
clone()
String
getName()
Optional.
QueryParameterType
getParameterType()
Required.
QueryParameterValue
getParameterValue()
Required.
QueryParameter
set(String fieldName,
Object value)
QueryParameter
setName(String name)
Optional.
QueryParameter
setParameterType(QueryParameterType parameterType)
Required.
QueryParameter
setParameterValue(QueryParameterValue parameterValue)
Required.
-
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
-
getName
public String getName()
Optional. If unset, this is a positional parameter. Otherwise, should be unique within a query.
- Returns:
- value or
null
for none
-
setName
public QueryParameter setName(String name)
Optional. If unset, this is a positional parameter. Otherwise, should be unique within a query.
- Parameters:
name
- name or null
for none
-
getParameterType
public QueryParameterType getParameterType()
Required. The type of this parameter.
- Returns:
- value or
null
for none
-
setParameterType
public QueryParameter setParameterType(QueryParameterType parameterType)
Required. The type of this parameter.
- Parameters:
parameterType
- parameterType or null
for none
-
getParameterValue
public QueryParameterValue getParameterValue()
Required. The value of this parameter.
- Returns:
- value or
null
for none
-
setParameterValue
public QueryParameter setParameterValue(QueryParameterValue parameterValue)
Required. The value of this parameter.
- Parameters:
parameterValue
- parameterValue or null
for none
-
set
public QueryParameter set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public QueryParameter clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.