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()
Deprecated.
|
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
type() 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() |
UserDefinedFunction.Type |
type()
Deprecated.
|
@Deprecated public UserDefinedFunction.Type type()
public UserDefinedFunction.Type getType()
@Deprecated 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 String getContent()
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 © 2017 Google. All rights reserved.