Class RoutineInfo (2.43.3)

publicclass RoutineInfoimplementsSerializable

Google BigQuery routine information. A Routine is an API abstraction that encapsulates several related concepts inside the BigQuery service, including scalar user defined functions (UDFS) and stored procedures.

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

Inheritance

Object > RoutineInfo

Implements

Serializable

Static Methods

newBuilder(RoutineId routineId)

publicstaticRoutineInfo.BuildernewBuilder(RoutineIdroutineId)

Returns a builder for a RoutineInfo object given routine identity.

Parameter
Name Description
routineId RoutineId
Returns
Type Description
RoutineInfo.Builder

of(RoutineId routineId)

publicstaticRoutineInfoof(RoutineIdroutineId)

Returns a RoutineInfo object given routine identity.

Parameter
Name Description
routineId RoutineId
Returns
Type Description
RoutineInfo

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArguments()

publicList<RoutineArgument>getArguments()

Returns the list of arguments for the routine.

Returns
Type Description
List<RoutineArgument>

getBody()

publicStringgetBody()

Returns the definition body of the routine.

Returns
Type Description
String

getCreationTime()

publicLonggetCreationTime()

Returns the creation time of the routine, represented as milliseconds since the epoch.

Returns
Type Description
Long

getDataGovernanceType()

publicStringgetDataGovernanceType()

Returns the data governance type of the routine, e.g. DATA_MASKING.

Returns
Type Description
String

getDescription()

publicStringgetDescription()

Returns the description of the routine.

Returns
Type Description
String

getDeterminismLevel()

publicStringgetDeterminismLevel()

Returns the determinism level of the JavaScript UDF if defined.

Returns
Type Description
String

getEtag()

publicStringgetEtag()

Returns the hash of the routine resource.

Returns
Type Description
String

getImportedLibraries()

publicList<String>getImportedLibraries()

Returns the list of imported libraries for the routine. Only relevant for routines implemented using the JAVASCRIPT language.

Returns
Type Description
List<String>

getLanguage()

publicStringgetLanguage()

Returns the language of the routine. Currently supported languages include SQL and JAVASCRIPT.

Returns
Type Description
String

getLastModifiedTime()

publicLonggetLastModifiedTime()

Returns the last modification time of the routine, represented as milliseconds since the epoch.

Returns
Type Description
Long

getRemoteFunctionOptions()

publicRemoteFunctionOptionsgetRemoteFunctionOptions()

Returns the Remote function specific options.

Returns
Type Description
RemoteFunctionOptions

getReturnTableType()

publicStandardSQLTableTypegetReturnTableType()

If specified, returns the table type returned from the routine.

Returns
Type Description
StandardSQLTableType

getReturnType()

publicStandardSQLDataTypegetReturnType()

If specified, returns the data type returned from the routine.

Returns
Type Description
StandardSQLDataType

getRoutineId()

publicRoutineIdgetRoutineId()

Returns the RoutineId identified for the routine resource. *

Returns
Type Description
RoutineId

getRoutineType()

publicStringgetRoutineType()

Returns the type of the routine, e.g. SCALAR_FUNCTION.

Returns
Type Description
String

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

toBuilder()

publicRoutineInfo.BuildertoBuilder()

Returns a builder pre-populated using the current values of this routine.

Returns
Type Description
RoutineInfo.Builder

toString()

publicStringtoString()
Returns
Type Description
String
Overrides

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 2025年10月30日 UTC.