@Generated(value="software.amazon.awssdk:codegen") public final class Database extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Database.Builder,Database>
The Database
object represents a logical grouping of tables that may reside in a Hive metastore or an
RDBMS.
Modifier and Type | Class and Description |
---|---|
static interface |
Database.Builder |
Modifier and Type | Method and Description |
---|---|
static Database.Builder |
builder() |
Instant |
createTime()
The time at which the metadata database was created in the catalog.
|
String |
description()
Description of the database.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
locationUri()
The location of the database (for example, an HDFS path).
|
String |
name()
Name of the database.
|
Map<String,String> |
parameters()
These key-value pairs define parameters and properties of the database.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Database.Builder> |
serializableBuilderClass() |
Database.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
Name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
public String description()
Description of the database.
public String locationUri()
The location of the database (for example, an HDFS path).
public Map<String,String> parameters()
These key-value pairs define parameters and properties of the database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant createTime()
The time at which the metadata database was created in the catalog.
public Database.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Database.Builder,Database>
public static Database.Builder builder()
public static Class<? extends Database.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.