Class RoutineInfo (2.16.1)

public class RoutineInfo implements Serializable

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)

public static RoutineInfo.Builder newBuilder(RoutineId routineId)

Returns a builder for a RoutineInfo object given routine identity.

Parameter
NameDescription
routineIdRoutineId
Returns
TypeDescription
RoutineInfo.Builder

of(RoutineId routineId)

public static RoutineInfo of(RoutineId routineId)

Returns a RoutineInfo object given routine identity.

Parameter
NameDescription
routineIdRoutineId
Returns
TypeDescription
RoutineInfo

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getArguments()

public List<RoutineArgument> getArguments()

Returns the list of arguments for the routine.

Returns
TypeDescription
List<RoutineArgument>

getBody()

public String getBody()

Returns the definition body of the routine.

Returns
TypeDescription
String

getCreationTime()

public Long getCreationTime()

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

Returns
TypeDescription
Long

getDescription()

public String getDescription()

Returns the description of the routine.

Returns
TypeDescription
String

getDeterminismLevel()

public String getDeterminismLevel()

Returns the determinism level of the JavaScript UDF if defined.

Returns
TypeDescription
String

getEtag()

public String getEtag()

Returns the hash of the routine resource.

Returns
TypeDescription
String

getImportedLibraries()

public List<String> getImportedLibraries()

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

Returns
TypeDescription
List<String>

getLanguage()

public String getLanguage()

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

Returns
TypeDescription
String

getLastModifiedTime()

public Long getLastModifiedTime()

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

Returns
TypeDescription
Long

getReturnTableType()

public StandardSQLTableType getReturnTableType()

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

Returns
TypeDescription
StandardSQLTableType

getReturnType()

public StandardSQLDataType getReturnType()

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

Returns
TypeDescription
StandardSQLDataType

getRoutineId()

public RoutineId getRoutineId()

Returns the RoutineId identified for the routine resource. *

Returns
TypeDescription
RoutineId

getRoutineType()

public String getRoutineType()

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

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public RoutineInfo.Builder toBuilder()

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

Returns
TypeDescription
RoutineInfo.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides