@Value.Immutable(builder=false)
public interface ViewMetadata
extends java.io.Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
ViewMetadata.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VIEW_FORMAT_VERSION |
static org.slf4j.Logger |
LOG |
static int |
SUPPORTED_VIEW_FORMAT_VERSION |
Modifier and Type | Method and Description |
---|---|
static ViewMetadata.Builder |
builder() |
static ViewMetadata.Builder |
buildFrom(ViewMetadata base) |
java.util.List<MetadataUpdate> |
changes() |
default void |
check() |
default java.lang.Integer |
currentSchemaId() |
default ViewVersion |
currentVersion() |
int |
currentVersionId() |
int |
formatVersion() |
java.util.List<ViewHistoryEntry> |
history() |
java.lang.String |
location() |
java.lang.String |
metadataFileLocation() |
java.util.Map<java.lang.String,java.lang.String> |
properties() |
default Schema |
schema() |
java.util.List<Schema> |
schemas() |
default java.util.Map<java.lang.Integer,Schema> |
schemasById() |
java.lang.String |
uuid() |
default ViewVersion |
version(int versionId) |
java.util.List<ViewVersion> |
versions() |
default java.util.Map<java.lang.Integer,ViewVersion> |
versionsById() |
static final org.slf4j.Logger LOG
static final int SUPPORTED_VIEW_FORMAT_VERSION
static final int DEFAULT_VIEW_FORMAT_VERSION
java.lang.String uuid()
int formatVersion()
java.lang.String location()
default java.lang.Integer currentSchemaId()
java.util.List<Schema> schemas()
int currentVersionId()
java.util.List<ViewVersion> versions()
java.util.List<ViewHistoryEntry> history()
java.util.Map<java.lang.String,java.lang.String> properties()
java.util.List<MetadataUpdate> changes()
@Nullable java.lang.String metadataFileLocation()
default ViewVersion version(int versionId)
default ViewVersion currentVersion()
@Value.Derived default java.util.Map<java.lang.Integer,ViewVersion> versionsById()
@Value.Derived default java.util.Map<java.lang.Integer,Schema> schemasById()
default Schema schema()
@Value.Check default void check()
static ViewMetadata.Builder builder()
static ViewMetadata.Builder buildFrom(ViewMetadata base)