public class JDBCPipesIterator extends PipesIterator implements Initializable
COMPLETED_SEMAPHORE, DEFAULT_MAX_WAIT_MS, DEFAULT_QUEUE_SIZE| Constructor and Description |
|---|
JDBCPipesIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
protected void |
enqueue() |
String |
getSelect() |
void |
initialize(Map<String,Param> params) |
void |
setConnection(String connection) |
void |
setEmitKeyColumn(String fetchKeyColumn) |
void |
setFetchKeyColumn(String fetchKeyColumn) |
void |
setFetchKeyRangeEndColumn(String fetchKeyRangeEndColumn) |
void |
setFetchKeyRangeStartColumn(String fetchKeyRangeStartColumn) |
void |
setFetchSize(int fetchSize) |
void |
setIdColumn(String idColumn) |
void |
setQueryTimeoutSeconds(int seconds) |
void |
setSelect(String select) |
build, call, getEmitterName, getFetcherName, getHandlerConfig, getOnParseException, iterator, setEmitterName, setFetcherName, setHandlerType, setMaxEmbeddedResources, setMaxWaitMs, setOnParseException, setOnParseException, setParseMode, setParseMode, setQueueSize, setWriteLimit, tryToAddbuildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliterator@Field public void setFetchKeyRangeStartColumn(String fetchKeyRangeStartColumn)
@Field public void setFetchKeyRangeEndColumn(String fetchKeyRangeEndColumn)
public String getSelect()
@Field public void setFetchSize(int fetchSize) throws TikaConfigException
TikaConfigExceptionpublic void setQueryTimeoutSeconds(int seconds)
protected void enqueue()
throws InterruptedException,
IOException,
TimeoutException
enqueue in class PipesIteratorInterruptedExceptionIOExceptionTimeoutExceptionpublic void initialize(Map<String,Param> params) throws TikaConfigException
initialize in interface Initializableinitialize in class PipesIteratorparams - params to use for initializationTikaConfigExceptionpublic void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization in interface InitializablecheckInitialization in class PipesIteratorproblemHandler - if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.