public class JDBCPipesReporter extends PipesReporterBase implements Initializable
| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_NAME |
NO_OP_REPORTER| Constructor and Description |
|---|
JDBCPipesReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
void |
close()
No-op implementation.
|
void |
error(String msg)
This is called if the process has crashed.
|
void |
error(Throwable t)
This is called if the process has crashed.
|
void |
initialize(Map<String,Param> params) |
void |
report(FetchEmitTuple t,
PipesResult result,
long elapsed) |
void |
setConnection(String connection) |
accept, setExcludes, setIncludesreport, supportsTotalCountpublic static final String TABLE_NAME
public void initialize(Map<String,Param> params) throws TikaConfigException
initialize in interface Initializableinitialize in class PipesReporterBaseparams - params to use for initializationTikaConfigExceptionpublic void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization in interface InitializablecheckInitialization in class PipesReporterBaseproblemHandler - if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigExceptionpublic void report(FetchEmitTuple t, PipesResult result, long elapsed)
report in class PipesReporterpublic void error(Throwable t)
PipesReportererror in class PipesReporterpublic void error(String msg)
PipesReportererror in class PipesReporterpublic void close()
throws IOException
PipesReporterclose in interface Closeableclose in interface AutoCloseableclose in class PipesReporterIOExceptionCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.