Send feedback
Class ViewDefinition.Builder (2.23.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.2 keyboard_arrow_down
public abstract static class ViewDefinition.Builder extends TableDefinition.Builder<ViewDefinition,ViewDefinition.Builder>
Constructors
Builder()
Methods
build()
public abstract ViewDefinition build()
Creates a ViewDefinition
object.
Returns
Overrides
setQuery(String query)
public abstract ViewDefinition.Builder setQuery(String query)
Sets the query used to create the view.
Parameter
Returns
setSchema(Schema schema)
public abstract ViewDefinition.Builder setSchema(Schema schema)
Parameter
Returns
Overrides
setType(TableDefinition.Type type)
public abstract ViewDefinition.Builder setType(TableDefinition.Type type)
Parameter
Returns
Overrides
setUseLegacySql(Boolean useLegacySql)
public abstract ViewDefinition.Builder setUseLegacySql(Boolean useLegacySql)
Sets whether to use BigQuery's legacy SQL dialect for this query. By default this property is
set to false
. If set to false
, the query will use BigQuery's Standard SQL .
If set to null
or true
, legacy SQL dialect is used. This property is
experimental and might be subject to change.
Parameter
Returns
setUserDefinedFunctions(UserDefinedFunction[] userDefinedFunctions)
public ViewDefinition.Builder setUserDefinedFunctions(UserDefinedFunction[] userDefinedFunctions)
Parameter
Returns
setUserDefinedFunctions(List<UserDefinedFunction> userDefinedFunctions)
public ViewDefinition.Builder setUserDefinedFunctions(List<UserDefinedFunction> userDefinedFunctions)
Parameter
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-02 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?