public class SolrPipesIterator extends PipesIterator implements Initializable
COMPLETED_SEMAPHORE, DEFAULT_MAX_WAIT_MS, DEFAULT_QUEUE_SIZE
Constructor and Description |
---|
SolrPipesIterator() |
Modifier and Type | Method and Description |
---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
protected void |
enqueue() |
void |
setAdditionalFields(List<String> additionalFields) |
void |
setAuthScheme(String authScheme) |
void |
setConnectionTimeout(int connectionTimeout) |
void |
setFailCountField(String failCountField) |
void |
setFilters(List<String> filters) |
void |
setIdField(String idField) |
void |
setParsingIdField(String parsingIdField) |
void |
setPassword(String password) |
void |
setProxyHost(String proxyHost) |
void |
setProxyPort(int proxyPort) |
void |
setRows(int rows) |
void |
setSizeFieldName(String sizeFieldName) |
void |
setSocketTimeout(int socketTimeout) |
void |
setSolrCollection(String solrCollection) |
void |
setSolrUrls(List<String> solrUrls) |
void |
setSolrZkChroot(String solrZkChroot) |
void |
setSolrZkHosts(List<String> solrZkHosts) |
void |
setUserName(String userName) |
build, call, getEmitterName, getFetcherName, getHandlerConfig, getOnParseException, initialize, iterator, setEmitterName, setFetcherName, setHandlerType, setMaxEmbeddedResources, setMaxWaitMs, setOnParseException, setOnParseException, setParseMode, setParseMode, setQueueSize, setWriteLimit, tryToAdd
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
forEach, spliterator
public SolrPipesIterator() throws TikaConfigException
TikaConfigException
@Field public void setRows(int rows)
@Field public void setConnectionTimeout(int connectionTimeout)
@Field public void setSocketTimeout(int socketTimeout)
@Field public void setProxyPort(int proxyPort)
protected void enqueue() throws InterruptedException, IOException, TimeoutException
enqueue
in class PipesIterator
InterruptedException
IOException
TimeoutException
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization
in interface Initializable
checkInitialization
in class PipesIterator
problemHandler
- if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.