public class RoutineInfo implements Serializable
Inheritance
Object >
RoutineInfo
Static Methods
newBuilder(RoutineId routineId)
public static RoutineInfo.Builder newBuilder(RoutineId routineId)
Returns a builder for a RoutineInfo
object given routine identity.
of(RoutineId routineId)
public static RoutineInfo of(RoutineId routineId)
Returns a RoutineInfo
object given routine identity.
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getArguments()
public List<RoutineArgument> getArguments()
Returns the list of arguments for the routine.
getBody()
Returns the definition body of the routine.
getCreationTime()
public Long getCreationTime()
Returns the creation time of the routine, represented as milliseconds since the epoch.
Returns |
---|
Type | Description |
Long | |
getDescription()
public String getDescription()
Returns the description of the routine.
getDeterminismLevel()
public String getDeterminismLevel()
Returns the determinism level of the JavaScript UDF if defined.
getEtag()
Returns the hash of the routine resource.
getImportedLibraries()
public List<String> getImportedLibraries()
Returns the list of imported libraries for the routine. Only relevant for routines implemented
using the JAVASCRIPT language.
getLanguage()
public String getLanguage()
Returns the language of the routine. Currently supported languages include SQL and JAVASCRIPT.
getLastModifiedTime()
public Long getLastModifiedTime()
Returns the last modification time of the routine, represented as milliseconds since the epoch.
Returns |
---|
Type | Description |
Long | |
getRemoteFunctionOptions()
public RemoteFunctionOptions getRemoteFunctionOptions()
Returns the Remote function specific options.
getReturnTableType()
public StandardSQLTableType getReturnTableType()
If specified, returns the table type returned from the routine.
getReturnType()
public StandardSQLDataType getReturnType()
If specified, returns the data type returned from the routine.
getRoutineId()
public RoutineId getRoutineId()
Returns the RoutineId identified for the routine resource. *
getRoutineType()
public String getRoutineType()
Returns the type of the routine, e.g. SCALAR_FUNCTION.
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
toBuilder()
public RoutineInfo.Builder toBuilder()
Returns a builder pre-populated using the current values of this routine.
toString()
Overrides