Interface LocalViewExecutor
-
- All Known Implementing Classes:
DefaultLocalViewExecutor
public interface LocalViewExecutorUtility class for executing actions in local view (java 8 friendly)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TexecuteInLocalView(java.util.function.Supplier<T> action)Executes action in local view.<T> TexecuteWithAllCatalogs(java.util.function.Supplier<T> action)Executes action in local view which has all catalogs set in session.
-
-
-
Method Detail
-
executeInLocalView
<T> T executeInLocalView(java.util.function.Supplier<T> action)
Executes action in local view.- Parameters:
action- to be executed- Returns:
- result of action execution
-
executeWithAllCatalogs
<T> T executeWithAllCatalogs(java.util.function.Supplier<T> action)
Executes action in local view which has all catalogs set in session.- Parameters:
action- to be executed- Returns:
- result of action execution
-
-