Send feedback
Class Routine (2.23.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.2 keyboard_arrow_down
public class Routine extends RoutineInfo
A Google BigQuery Routine.
Objects of this class are immutable. Operations that modify the routine like #update
return a new object. To get a routine
object with the most recent information use #reload .
Methods
delete()
Returns
Type Description boolean
true
if routine was deleted, false
if it was not found
equals(Object obj)
public final boolean equals(Object obj)
Parameter
Returns
Overrides
exists()
Checks if this routine exists.
Returns
getBigQuery()
public BigQuery getBigQuery()
Returns the routine's BigQuery
object used to issue requests.
Returns
hashCode()
public final int hashCode()
Returns
Overrides
public void readObject(ObjectInputStream in)
Parameter
Exceptions
reload(BigQuery.RoutineOption[] options)
public Routine reload(BigQuery.RoutineOption[] options)
Fetches this routine's latest information. Returns null
if the routine does not exist.
Parameter
Returns
toBuilder()
public Routine.Builder toBuilder()
Returns a builder pre-populated using the current values of this routine.
Returns
Overrides
update(BigQuery.RoutineOption[] options)
public Routine update(BigQuery.RoutineOption[] options)
Update's the routine's information with this Routine's information. This method does not allow
changing the RoutineId identifier of the routine. A new Routine
is returned.
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?