public abstract class UserDefinedFunction extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UserDefinedFunction.Type
Type of user-defined function.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static UserDefinedFunction |
fromUri(String functionDefinition)
Creates a Google Cloud BigQuery user-defined function given a Google Cloud Storage URI (e.g.
|
String |
getContent()
If
getType() is UserDefinedFunction.Type.INLINE this method returns a code blob. |
UserDefinedFunction.Type |
getType()
Returns the type of user defined function.
|
int |
hashCode() |
static UserDefinedFunction |
inline(String functionDefinition)
Creates a Google Cloud BigQuery user-defined function given a code blob.
|
abstract com.google.api.services.bigquery.model.UserDefinedFunctionResource |
toPb() |
public UserDefinedFunction.Type getType()
public String getContent()
getType()
is UserDefinedFunction.Type.INLINE
this method returns a code blob. If getType()
is UserDefinedFunction.Type.FROM_URI
the method returns a Google Cloud Storage URI (e.g.
gs://bucket/path).public abstract com.google.api.services.bigquery.model.UserDefinedFunctionResource toPb()
public static UserDefinedFunction inline(String functionDefinition)
public static UserDefinedFunction fromUri(String functionDefinition)
Copyright © 2023 Google LLC. All rights reserved.