public static class ViewMetadata.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ViewMetadata.Builder |
addSchema(Schema schema) |
ViewMetadata.Builder |
addVersion(ViewVersion version) |
ViewMetadata.Builder |
assignUUID(java.lang.String newUUID) |
ViewMetadata |
build() |
ViewMetadata.Builder |
removeProperties(java.util.Set<java.lang.String> propertiesToRemove) |
ViewMetadata.Builder |
setCurrentVersion(ViewVersion version,
Schema schema) |
ViewMetadata.Builder |
setCurrentVersionId(int newVersionId) |
ViewMetadata.Builder |
setLocation(java.lang.String newLocation) |
ViewMetadata.Builder |
setMetadataLocation(java.lang.String newMetadataLocation) |
ViewMetadata.Builder |
setProperties(java.util.Map<java.lang.String,java.lang.String> updated) |
ViewMetadata.Builder |
upgradeFormatVersion(int newFormatVersion) |
public ViewMetadata.Builder upgradeFormatVersion(int newFormatVersion)
public ViewMetadata.Builder setLocation(java.lang.String newLocation)
public ViewMetadata.Builder setMetadataLocation(java.lang.String newMetadataLocation)
public ViewMetadata.Builder setCurrentVersionId(int newVersionId)
public ViewMetadata.Builder setCurrentVersion(ViewVersion version, Schema schema)
public ViewMetadata.Builder addVersion(ViewVersion version)
public ViewMetadata.Builder addSchema(Schema schema)
public ViewMetadata.Builder setProperties(java.util.Map<java.lang.String,java.lang.String> updated)
public ViewMetadata.Builder removeProperties(java.util.Set<java.lang.String> propertiesToRemove)
public ViewMetadata.Builder assignUUID(java.lang.String newUUID)
public ViewMetadata build()