public class DomainMetadata
extends Object
| Modifier and Type | Field and Description |
|---|---|
static StructType |
FULL_SCHEMA
Full schema of the
DomainMetadata action in the Delta Log. |
| Constructor and Description |
|---|
DomainMetadata(String domain,
String configuration,
boolean removed)
The domain metadata action contains a configuration string for a named metadata domain.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DomainMetadata |
fromColumnVector(ColumnVector vector,
int rowId) |
static DomainMetadata |
fromRow(Row row)
Creates a
DomainMetadata instance from a Row with the schema being FULL_SCHEMA. |
String |
getConfiguration() |
String |
getDomain() |
int |
hashCode() |
boolean |
isRemoved() |
Row |
toRow()
Encode as a
Row object with the schema FULL_SCHEMA. |
String |
toString() |
public static final StructType FULL_SCHEMA
DomainMetadata action in the Delta Log.public DomainMetadata(String domain,
String configuration,
boolean removed)
domain - A string used to identify a specific domain.configuration - A string containing configuration for the metadata domain.removed - If it is true it serves as a tombstone to logically delete a DomainMetadata action.public static DomainMetadata fromColumnVector(ColumnVector vector, int rowId)
public static DomainMetadata fromRow(Row row)
DomainMetadata instance from a Row with the schema being FULL_SCHEMA.row - the Row object containing the DomainMetadata actionIllegalArgumentException - if the schema of the row does not match FULL_SCHEMApublic String getDomain()
public String getConfiguration()
public boolean isRemoved()
public Row toRow()
Row object with the schema FULL_SCHEMA.Row object with the schema FULL_SCHEMApublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object