Package org.apache.iceberg.jdbc
Class JdbcViewOperations
- java.lang.Object
-
- org.apache.iceberg.BaseMetastoreOperations
-
- org.apache.iceberg.view.BaseViewOperations
-
- org.apache.iceberg.jdbc.JdbcViewOperations
-
- All Implemented Interfaces:
ViewOperations
public class JdbcViewOperations extends BaseViewOperations
JDBC implementation of Iceberg ViewOperations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iceberg.BaseMetastoreOperations
BaseMetastoreOperations.CommitStatus
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JdbcViewOperations(JdbcClientPool dbConnPool, FileIO fileIO, java.lang.String catalogName, TableIdentifier viewIdentifier, java.util.Map<java.lang.String,java.lang.String> catalogProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doCommit(ViewMetadata base, ViewMetadata metadata)
protected void
doRefresh()
protected FileIO
io()
protected java.lang.String
viewName()
-
Methods inherited from class org.apache.iceberg.view.BaseViewOperations
commit, current, currentMetadataLocation, currentVersion, disableRefresh, refresh, refreshFromMetadataLocation, refreshFromMetadataLocation, refreshFromMetadataLocation, requestRefresh, writeNewMetadataIfRequired
-
Methods inherited from class org.apache.iceberg.BaseMetastoreOperations
checkCommitStatus
-
-
-
-
Constructor Detail
-
JdbcViewOperations
protected JdbcViewOperations(JdbcClientPool dbConnPool, FileIO fileIO, java.lang.String catalogName, TableIdentifier viewIdentifier, java.util.Map<java.lang.String,java.lang.String> catalogProperties)
-
-
Method Detail
-
doRefresh
protected void doRefresh()
- Specified by:
doRefresh
in classBaseViewOperations
-
doCommit
protected void doCommit(ViewMetadata base, ViewMetadata metadata)
- Specified by:
doCommit
in classBaseViewOperations
-
viewName
protected java.lang.String viewName()
- Specified by:
viewName
in classBaseViewOperations
-
io
protected FileIO io()
- Specified by:
io
in classBaseViewOperations
-
-