public final class SPIParsingHook extends Object implements ParsingHook
| Constructor and Description |
|---|
SPIParsingHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
finishFailure(Exception cause)
Handle when parse finished failure.
|
void |
finishSuccess(SQLStatement sqlStatement)
Handle when parse finished success.
|
void |
start(String sql)
Handle when parse started.
|
public void start(String sql)
ParsingHookstart in interface ParsingHooksql - SQL to be parsedpublic void finishSuccess(SQLStatement sqlStatement)
ParsingHookfinishSuccess in interface ParsingHooksqlStatement - sql statementpublic void finishFailure(Exception cause)
ParsingHookfinishFailure in interface ParsingHookcause - failure causeCopyright © 2020 The Apache Software Foundation. All rights reserved.