Package com.google.cloud.bigquery
Class RoutineInfo
java.lang.Object
com.google.cloud.bigquery.RoutineInfo
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Routine
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
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the list of arguments for the routine.getBody()
Returns the definition body of the routine.Returns the creation time of the routine, represented as milliseconds since the epoch.Returns the data governance type of the routine, e.g.Returns the description of the routine.Returns the determinism level of the JavaScript UDF if defined.getEtag()
Returns the hash of the routine resource.Returns the list of imported libraries for the routine.Returns the language of the routine.Returns the last modification time of the routine, represented as milliseconds since the epoch.Returns the Remote function specific options.If specified, returns the table type returned from the routine.If specified, returns the data type returned from the routine.Returns the RoutineId identified for the routine resourceReturns the type of the routine, e.g.int
hashCode()
static RoutineInfo.Builder
newBuilder
(RoutineId routineId) Returns a builder for aRoutineInfo
object given routine identity.static RoutineInfo
Returns aRoutineInfo
object given routine identity.Returns a builder pre-populated using the current values of this routine.toString()
-
Method Details
-
getRoutineId
Returns the RoutineId identified for the routine resource. * -
getEtag
Returns the hash of the routine resource. -
getRoutineType
Returns the type of the routine, e.g. SCALAR_FUNCTION. -
getCreationTime
Returns the creation time of the routine, represented as milliseconds since the epoch. -
getDescription
Returns the description of the routine. -
getDeterminismLevel
Returns the determinism level of the JavaScript UDF if defined. -
getLastModifiedTime
Returns the last modification time of the routine, represented as milliseconds since the epoch. -
getLanguage
Returns the language of the routine. Currently supported languages include SQL and JAVASCRIPT. -
getArguments
Returns the list of arguments for the routine. -
getReturnType
If specified, returns the data type returned from the routine. -
getReturnTableType
If specified, returns the table type returned from the routine. -
getImportedLibraries
Returns the list of imported libraries for the routine. Only relevant for routines implemented using the JAVASCRIPT language. -
getBody
Returns the definition body of the routine. -
getRemoteFunctionOptions
Returns the Remote function specific options. -
getDataGovernanceType
Returns the data governance type of the routine, e.g. DATA_MASKING. -
toBuilder
Returns a builder pre-populated using the current values of this routine. -
toString
-
hashCode
public int hashCode() -
equals
-
newBuilder
Returns a builder for aRoutineInfo
object given routine identity. -
of
Returns aRoutineInfo
object given routine identity.
-