Routine class
A user-defined function or a stored procedure.
Constructors
-
Routine({List<
Argument> ? arguments, String? creationTime, String? dataGovernanceType, String? definitionBody, String? description, String? determinismLevel, String? etag, List<String> ? importedLibraries, String? language, String? lastModifiedTime, RemoteFunctionOptions? remoteFunctionOptions, StandardSqlTableType? returnTableType, StandardSqlDataType? returnType, RoutineReference? routineReference, String? routineType, String? securityMode, SparkOptions? sparkOptions, bool? strictMode}) - Routine.fromJson(Map json_)
Properties
-
arguments
↔ List<
Argument> ? -
Optional.
getter/setter pair
- creationTime ↔ String?
-
The time when this routine was created, in milliseconds since the epoch.
getter/setter pair
- dataGovernanceType ↔ String?
-
If set to
DATA_MASKING
, the function is validated and made available as a masking function.getter/setter pair - definitionBody ↔ String?
-
The body of the routine.
getter/setter pair
- description ↔ String?
-
The description of the routine, if defined.
getter/setter pair
- determinismLevel ↔ String?
-
The determinism level of the JavaScript UDF, if defined.
getter/setter pair
- etag ↔ String?
-
A hash of this resource.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
importedLibraries
↔ List<
String> ? -
If language = "JAVASCRIPT", this field stores the path of the imported
JAVASCRIPT libraries.
getter/setter pair
- language ↔ String?
-
Defaults to "SQL" if remote_function_options field is absent, not set
otherwise.
getter/setter pair
- lastModifiedTime ↔ String?
-
The time when this routine was last modified, in milliseconds since the
epoch.
getter/setter pair
- remoteFunctionOptions ↔ RemoteFunctionOptions?
-
Remote function specific options.
getter/setter pair
- returnTableType ↔ StandardSqlTableType?
-
Can be set only if routine_type = "TABLE_VALUED_FUNCTION".
getter/setter pair
- returnType ↔ StandardSqlDataType?
-
Optional if language = "SQL"; required otherwise.
getter/setter pair
- routineReference ↔ RoutineReference?
-
Reference describing the ID of this routine.
getter/setter pair
- routineType ↔ String?
-
The type of routine.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityMode ↔ String?
-
The security mode of the routine, if defined.
getter/setter pair
- sparkOptions ↔ SparkOptions?
-
Spark specific options.
getter/setter pair
- strictMode ↔ bool?
-
Use this option to catch many common errors.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited