Class SchemaSqlViewManager
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.schema.SchemaSqlViewManager
-
- All Implemented Interfaces:
IgniteChangeGlobalStateSupport
public class SchemaSqlViewManager extends Object implements IgniteChangeGlobalStateSupport
Global schema SQL view manager.
-
-
Constructor Summary
Constructors Constructor Description SchemaSqlViewManager(GridKernalContext ctx)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearSchemaViews(String schemaName)voidcreateView(String schemaName, String viewName, String viewSql, boolean replace)voiddropView(String schemaName, String viewName, boolean ifExists)voidonActivate(GridKernalContext kctx)Called when cluster performing activation.voidonDeActivate(GridKernalContext kctx)Called when cluster performing deactivation.voidstart()
-
-
-
Constructor Detail
-
SchemaSqlViewManager
public SchemaSqlViewManager(GridKernalContext ctx)
Constructor.- Parameters:
ctx- Kernal context.
-
-
Method Detail
-
start
public void start()
-
createView
public void createView(String schemaName, String viewName, String viewSql, boolean replace) throws IgniteCheckedException
- Throws:
IgniteCheckedException
-
dropView
public void dropView(String schemaName, String viewName, boolean ifExists) throws IgniteCheckedException
- Throws:
IgniteCheckedException
-
clearSchemaViews
public void clearSchemaViews(String schemaName)
-
onActivate
public void onActivate(GridKernalContext kctx) throws IgniteCheckedException
Called when cluster performing activation.- Specified by:
onActivatein interfaceIgniteChangeGlobalStateSupport- Parameters:
kctx- Kernal context.- Throws:
IgniteCheckedException- If failed.
-
onDeActivate
public void onDeActivate(GridKernalContext kctx)
Called when cluster performing deactivation.- Specified by:
onDeActivatein interfaceIgniteChangeGlobalStateSupport- Parameters:
kctx- Kernal context.
-
-