Struct aws_sdk_glue::types::UserDefinedFunction
source · #[non_exhaustive]pub struct UserDefinedFunction {
pub function_name: Option<String>,
pub database_name: Option<String>,
pub class_name: Option<String>,
pub owner_name: Option<String>,
pub owner_type: Option<PrincipalType>,
pub create_time: Option<DateTime>,
pub resource_uris: Option<Vec<ResourceUri>>,
pub catalog_id: Option<String>,
}
Expand description
Represents the equivalent of a Hive user-defined function (UDF
) definition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.function_name: Option<String>
The name of the function.
database_name: Option<String>
The name of the catalog database that contains the function.
class_name: Option<String>
The Java class that contains the function code.
owner_name: Option<String>
The owner of the function.
owner_type: Option<PrincipalType>
The owner type.
create_time: Option<DateTime>
The time at which the function was created.
resource_uris: Option<Vec<ResourceUri>>
The resource URIs for the function.
catalog_id: Option<String>
The ID of the Data Catalog in which the function resides.
Implementations§
source§impl UserDefinedFunction
impl UserDefinedFunction
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name of the function.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the catalog database that contains the function.
sourcepub fn class_name(&self) -> Option<&str>
pub fn class_name(&self) -> Option<&str>
The Java class that contains the function code.
sourcepub fn owner_name(&self) -> Option<&str>
pub fn owner_name(&self) -> Option<&str>
The owner of the function.
sourcepub fn owner_type(&self) -> Option<&PrincipalType>
pub fn owner_type(&self) -> Option<&PrincipalType>
The owner type.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The time at which the function was created.
sourcepub fn resource_uris(&self) -> &[ResourceUri]
pub fn resource_uris(&self) -> &[ResourceUri]
The resource URIs for the function.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_uris.is_none()
.
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
The ID of the Data Catalog in which the function resides.
source§impl UserDefinedFunction
impl UserDefinedFunction
sourcepub fn builder() -> UserDefinedFunctionBuilder
pub fn builder() -> UserDefinedFunctionBuilder
Creates a new builder-style object to manufacture UserDefinedFunction
.
Trait Implementations§
source§impl Clone for UserDefinedFunction
impl Clone for UserDefinedFunction
source§fn clone(&self) -> UserDefinedFunction
fn clone(&self) -> UserDefinedFunction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserDefinedFunction
impl Debug for UserDefinedFunction
source§impl PartialEq for UserDefinedFunction
impl PartialEq for UserDefinedFunction
source§fn eq(&self, other: &UserDefinedFunction) -> bool
fn eq(&self, other: &UserDefinedFunction) -> bool
self
and other
values to be equal, and is used
by ==
.