@Generated(value="software.amazon.awssdk:codegen") public final class UserDefinedFunction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserDefinedFunction.Builder,UserDefinedFunction>
Represents the equivalent of a Hive user-defined function (UDF) definition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserDefinedFunction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UserDefinedFunction.Builder |
builder() |
String |
catalogId()
The ID of the Data Catalog in which the function resides.
|
String |
className()
The Java class that contains the function code.
|
Instant |
createTime()
The time at which the function was created.
|
String |
databaseName()
The name of the catalog database that contains the function.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionName()
The name of the function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResourceUris()
Returns true if the ResourceUris property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
ownerName()
The owner of the function.
|
PrincipalType |
ownerType()
The owner type.
|
String |
ownerTypeAsString()
The owner type.
|
List<ResourceUri> |
resourceUris()
The resource URIs for the function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserDefinedFunction.Builder> |
serializableBuilderClass() |
UserDefinedFunction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String functionName()
The name of the function.
public String databaseName()
The name of the catalog database that contains the function.
public String className()
The Java class that contains the function code.
public String ownerName()
The owner of the function.
public PrincipalType ownerType()
The owner type.
If the service returns an enum value that is not available in the current SDK version, ownerType will
return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ownerTypeAsString().
PrincipalTypepublic String ownerTypeAsString()
The owner type.
If the service returns an enum value that is not available in the current SDK version, ownerType will
return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ownerTypeAsString().
PrincipalTypepublic Instant createTime()
The time at which the function was created.
public boolean hasResourceUris()
public List<ResourceUri> resourceUris()
The resource URIs for the function.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResourceUris() to see if a value was sent in this field.
public String catalogId()
The ID of the Data Catalog in which the function resides.
public UserDefinedFunction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserDefinedFunction.Builder,UserDefinedFunction>public static UserDefinedFunction.Builder builder()
public static Class<? extends UserDefinedFunction.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.