Package com.google.cloud.bigquery
Class RoutineArgument.Builder
- java.lang.Object
-
- com.google.cloud.bigquery.RoutineArgument.Builder
-
- Enclosing class:
- RoutineArgument
public abstract static class RoutineArgument.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract RoutineArgumentbuild()Creates aRoutineArgumentobject.abstract RoutineArgument.BuildersetDataType(StandardSQLDataType dataType)Sets the data type specification for the argument.abstract RoutineArgument.BuildersetKind(String kind)Sets the kind of argument.abstract RoutineArgument.BuildersetMode(String mode)Optionally specifies the input/output mode of the argument.abstract RoutineArgument.BuildersetName(String name)Sets the argument name.
-
-
-
Method Detail
-
setName
public abstract RoutineArgument.Builder setName(String name)
Sets the argument name.
-
setKind
public abstract RoutineArgument.Builder setKind(String kind)
Sets the kind of argument.A FIXED_TYPE argument is a fully specified type. It can be a struct or an array, but not a table.
An ANY_TYPE argument is any type. It can be a struct or an array, but not a table.
-
setMode
public abstract RoutineArgument.Builder setMode(String mode)
Optionally specifies the input/output mode of the argument.An IN mode argument is input-only. An OUT mode argument is output-only. An INOUT mode argument is both an input and output.
-
setDataType
public abstract RoutineArgument.Builder setDataType(StandardSQLDataType dataType)
Sets the data type specification for the argument. It is required except for ANY_TYPE argument kinds.
-
build
public abstract RoutineArgument build()
Creates aRoutineArgumentobject.
-
-