@PublicEvolving
public interface TemporaryOperationListener
Catalog to listen on temporary object operations. When a catalog
implements this interface, it'll get informed when certain operations are performed on temporary
objects belonging to that catalog.| 限定符和类型 | 方法和说明 |
|---|---|
CatalogFunction |
onCreateTemporaryFunction(ObjectPath functionPath,
CatalogFunction function)
This method is called when a temporary function is to be created in this catalog.
|
CatalogBaseTable |
onCreateTemporaryTable(ObjectPath tablePath,
CatalogBaseTable table)
This method is called when a temporary table or view is to be created in this catalog.
|
void |
onDropTemporaryFunction(ObjectPath functionPath)
This method is called when a temporary function in this catalog is to be dropped.
|
void |
onDropTemporaryTable(ObjectPath tablePath)
This method is called when a temporary table or view in this catalog is to be dropped.
|
CatalogBaseTable onCreateTemporaryTable(ObjectPath tablePath, CatalogBaseTable table) throws CatalogException
tablePath - path of the table or view to be createdtable - the table definitionCatalogException - in case of any runtime exceptionvoid onDropTemporaryTable(ObjectPath tablePath) throws CatalogException
tablePath - path of the table or view to be droppedCatalogException - in case of any runtime exceptionCatalogFunction onCreateTemporaryFunction(ObjectPath functionPath, CatalogFunction function) throws CatalogException
functionPath - path of the function to be createdfunction - the function definitionCatalogException - in case of any runtime exceptionvoid onDropTemporaryFunction(ObjectPath functionPath) throws CatalogException
functionPath - path of the function to be droppedCatalogException - in case of any runtime exceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.