Uses of Interface
org.apache.iceberg.view.ViewDefinition
-
Packages that use ViewDefinition Package Description org.apache.iceberg.nessie org.apache.iceberg.view -
-
Uses of ViewDefinition in org.apache.iceberg.nessie
Methods in org.apache.iceberg.nessie that return ViewDefinition Modifier and Type Method Description ViewDefinitionNessieExtCatalog. loadDefinition(String viewIdentifier)Methods in org.apache.iceberg.nessie with parameters of type ViewDefinition Modifier and Type Method Description voidNessieExtCatalog. create(String viewIdentifier, ViewDefinition viewDefinition, Map<String,String> properties)voidNessieExtCatalog. replace(String viewIdentifier, ViewDefinition viewDefinition, Map<String,String> properties) -
Uses of ViewDefinition in org.apache.iceberg.view
Methods in org.apache.iceberg.view that return ViewDefinition Modifier and Type Method Description ViewDefinitionViewVersionMetadata. definition()ViewDefinitionBaseMetastoreViews. loadDefinition(String viewIdentifier)ViewDefinitionHadoopViews. loadDefinition(String location)Loads the view definition from a FileSystem path location.ViewDefinitionViews. loadDefinition(String viewIdentifier)Loads a view by name.static ViewDefinitionViewDefinition. of(String sql, org.apache.iceberg.Schema schema, String sessionCatalog, List<String> sessionNamespace)static ViewDefinitionViewUtils. retainColumnComments(ViewDefinition newDef, ViewDefinition oldDef)The method ensures that when a view is getting REPLACEd and a new column comment has not been specified (indicated by 'doc' field being null), column comment from the previous version of the view is retained.ViewDefinitionBaseVersion. viewDefinition()ViewDefinitionVersion. viewDefinition()Returns the view sql metadata.Methods in org.apache.iceberg.view with parameters of type ViewDefinition Modifier and Type Method Description voidBaseMetastoreViews. create(String viewIdentifier, ViewDefinition definition, Map<String,String> properties)voidHadoopViews. create(String location, ViewDefinition viewDefinition, Map<String,String> properties)Create a view using the FileSystem implementation, resolved from location.voidViews. create(String viewIdentifier, ViewDefinition viewDefinition, Map<String,String> properties)Create a view without replacing any existing view.static voidViewUtils. doCommit(String operation, Map<String,String> properties, int versionId, int parentId, ViewDefinition definition, String location, ViewOperations ops, ViewVersionMetadata prevViewVersionMetadata)The method prepares the arguments to perform the commit and then proceeds to commit.static ViewVersionMetadataViewVersionMetadata. newViewVersionMetadata(BaseVersion version, String location, ViewDefinition definition, Map<String,String> properties)static ViewVersionMetadataViewVersionMetadata. newViewVersionMetadata(BaseVersion version, String location, ViewDefinition definition, ViewVersionMetadata viewVersionMetadata, Map<String,String> properties)voidBaseMetastoreViews. replace(String viewIdentifier, ViewDefinition definition, Map<String,String> properties)voidHadoopViews. replace(String location, ViewDefinition definition, Map<String,String> properties)voidViews. replace(String viewIdentifier, ViewDefinition viewDefinition, Map<String,String> properties)Replaces a view.static ViewDefinitionViewUtils. retainColumnComments(ViewDefinition newDef, ViewDefinition oldDef)The method ensures that when a view is getting REPLACEd and a new column comment has not been specified (indicated by 'doc' field being null), column comment from the previous version of the view is retained.Constructors in org.apache.iceberg.view with parameters of type ViewDefinition Constructor Description BaseVersion(int versionId, Integer parentId, long timestampMillis, VersionSummary summary, ViewDefinition viewDefinition)ViewVersionMetadata(String location, ViewDefinition definition, Map<String,String> properties, int currentVersionId, List<Version> versions, List<HistoryEntry> versionLog)
-