Argument class
Input/output argument of a function or a stored procedure.
Constructors
-
Argument({Input<
ArgumentArgumentKind> ? argumentKind, Input<StandardSqlDataType> ? dataType, Input<bool> ? isAggregate, Input<ArgumentMode> ? mode, Input<String> ? name}) -
Creates a new Argument.
argumentKindOptional. Defaults to FIXED_TYPE.dataTypeRequired unless argument_kind = ANY_TYPE.isAggregateOptional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.modeOptional. Specifies whether the argument is input or output. Can be set for procedures only.nameOptional. The name of this argument. Can be absent for function return argument.const -
Argument.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
argumentKind
→ Input<
ArgumentArgumentKind> ? -
Optional. Defaults to FIXED_TYPE.
final
-
dataType
→ Input<
StandardSqlDataType> ? -
Required unless argument_kind = ANY_TYPE.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isAggregate
→ Input<
bool> ? -
Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
final
-
mode
→ Input<
ArgumentMode> ? -
Optional. Specifies whether the argument is input or output. Can be set for procedures only.
final
-
name
→ Input<
String> ? -
Optional. The name of this argument. Can be absent for function return argument.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited