public final class SPIRewriteHook extends Object implements RewriteHook
| Constructor and Description |
|---|
SPIRewriteHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
finishFailure(Exception cause)
Handle when rewrite finished failure.
|
void |
finishSuccess(SQLUnit sqlUnit)
Handle when rewrite finished success.
|
void |
start(TableUnit tableUnit)
Handle when rewrite started.
|
public void start(TableUnit tableUnit)
RewriteHookstart in interface RewriteHooktableUnit - table unitpublic void finishSuccess(SQLUnit sqlUnit)
RewriteHookfinishSuccess in interface RewriteHooksqlUnit - sql unitpublic void finishFailure(Exception cause)
RewriteHookfinishFailure in interface RewriteHookcause - failure causeCopyright © 2019 The Apache Software Foundation. All rights reserved.