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 |
|---|---|
String |
content()
If
type() is UserDefinedFunction.Type.INLINE this method returns a code blob. |
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.
|
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() |
UserDefinedFunction.Type |
type() |
public UserDefinedFunction.Type type()
public String content()
type() is UserDefinedFunction.Type.INLINE this method returns a code blob. If type()
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 © 2016 Google. All rights reserved.