public class RoutineInfo extends Object implements Serializable
For more information about the REST representation of routines, see: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines
For more information about working with scalar functions, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/user-defined-functions
Modifier and Type | Class and Description |
---|---|
static class |
RoutineInfo.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<RoutineArgument> |
getArguments()
Returns the list of arguments for the routine.
|
String |
getBody()
Returns the definition body of the routine.
|
Long |
getCreationTime()
Returns the creation time of the routine, represented as milliseconds since the epoch.
|
String |
getDescription()
Returns the description of the routine.
|
String |
getDeterminismLevel()
Returns the determinism level of the JavaScript UDF if defined.
|
String |
getEtag()
Returns the hash of the routine resource.
|
List<String> |
getImportedLibraries()
Returns the list of imported libraries for the routine.
|
String |
getLanguage()
Returns the language of the routine.
|
Long |
getLastModifiedTime()
Returns the last modification time of the routine, represented as milliseconds since the epoch.
|
RemoteFunctionOptions |
getRemoteFunctionOptions()
Returns the Remote function specific options.
|
StandardSQLTableType |
getReturnTableType()
If specified, returns the table type returned from the routine.
|
StandardSQLDataType |
getReturnType()
If specified, returns the data type returned from the routine.
|
RoutineId |
getRoutineId()
Returns the RoutineId identified for the routine resource.
|
String |
getRoutineType()
Returns the type of the routine, e.g.
|
int |
hashCode() |
static RoutineInfo.Builder |
newBuilder(RoutineId routineId)
Returns a builder for a
RoutineInfo object given routine identity. |
static RoutineInfo |
of(RoutineId routineId)
Returns a
RoutineInfo object given routine identity. |
RoutineInfo.Builder |
toBuilder()
Returns a builder pre-populated using the current values of this routine.
|
String |
toString() |
public RoutineId getRoutineId()
public String getEtag()
public String getRoutineType()
public Long getCreationTime()
public String getDescription()
public String getDeterminismLevel()
public Long getLastModifiedTime()
public String getLanguage()
public List<RoutineArgument> getArguments()
public StandardSQLDataType getReturnType()
public StandardSQLTableType getReturnTableType()
public List<String> getImportedLibraries()
public String getBody()
public RemoteFunctionOptions getRemoteFunctionOptions()
public RoutineInfo.Builder toBuilder()
public static RoutineInfo.Builder newBuilder(RoutineId routineId)
RoutineInfo
object given routine identity.public static RoutineInfo of(RoutineId routineId)
RoutineInfo
object given routine identity.Copyright © 2023 Google LLC. All rights reserved.