Database class
The Database
object represents a logical grouping of tables
that might reside in a Hive metastore or an RDBMS.
Constructors
-
Database({required String name, String? catalogId, List<
PrincipalPermissions> ? createTableDefaultPermissions, DateTime? createTime, String? description, String? locationUri, Map<String, String> ? parameters, DatabaseIdentifier? targetDatabase}) -
Database.fromJson(Map<
String, dynamic> json) -
factory
Properties
- catalogId → String?
-
The ID of the Data Catalog in which the database resides.
final
-
createTableDefaultPermissions
→ List<
PrincipalPermissions> ? -
Creates a set of default permissions on the table for principals.
final
- createTime → DateTime?
-
The time at which the metadata database was created in the catalog.
final
- description → String?
-
A description of the database.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locationUri → String?
-
The location of the database (for example, an HDFS path).
final
- name → String
-
The name of the database. For Hive compatibility, this is folded to
lowercase when it is stored.
final
-
parameters
→ Map<
String, String> ? -
These key-value pairs define parameters and properties of the database.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetDatabase → DatabaseIdentifier?
-
A
DatabaseIdentifier
structure that describes a target database for resource linking.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited