public interface FetchClient
Modifier and Type | Interface and Description |
---|---|
static class |
FetchClient.Parameter
Untyped additional parameter.
|
Modifier and Type | Method and Description |
---|---|
com.exalead.pdoc.ProcessableDocument |
fetch(Hit hit,
FetchClient.Parameter... params)
Fetch the document represented by a Hit.
|
com.exalead.pdoc.ProcessableDocument |
fetch(java.lang.String source,
java.lang.String uri,
FetchClient.Parameter... params)
Fetch the document represented by a Hit.
|
com.exalead.pdoc.ProcessableDocument |
fetch(java.lang.String source,
java.lang.String uri,
java.lang.String buildGroup,
FetchClient.Parameter... params)
Fetch the document represented by a Hit.
|
java.io.InputStream |
preview(Hit hit,
FetchClient.Parameter... params)
Proxify the preview of this Hit.
|
java.io.InputStream |
preview(java.lang.String source,
java.lang.String uri,
FetchClient.Parameter... params)
Proxify the preview of this Hit.
|
java.io.InputStream |
preview(java.lang.String source,
java.lang.String uri,
java.lang.String buildGroup,
FetchClient.Parameter... params)
Proxify the preview of this Hit.
|
Preview |
previewExt(java.lang.String source,
java.lang.String uri,
java.lang.String buildGroup,
FetchClient.Parameter... parameters)
Get the preview of this Hit.
|
void |
setFetchCommand(java.lang.String command) |
void |
setPreviewCommand(java.lang.String command) |
void |
setThumbnailCommand(java.lang.String command) |
Thumbnail |
thumbnail(Hit hit,
FetchClient.Parameter... params)
Fetch a thumbnail-ed representation of this Hit.
|
Thumbnail |
thumbnail(java.lang.String source,
java.lang.String uri,
FetchClient.Parameter... params)
Fetch a thumbnail-ed representation of this Hit.
|
Thumbnail |
thumbnail(java.lang.String source,
java.lang.String uri,
java.lang.String buildGroup,
FetchClient.Parameter... params)
Fetch a thumbnail-ed representation of this Hit.
|
com.exalead.pdoc.ProcessableDocument fetch(Hit hit, FetchClient.Parameter... params) throws FetchException
hit
- The index Hit representing the documentFetchException
com.exalead.pdoc.ProcessableDocument fetch(java.lang.String source, java.lang.String uri, FetchClient.Parameter... params) throws FetchException
source
- Name of the connector or crawleruri
- Uri of the documentFetchException
com.exalead.pdoc.ProcessableDocument fetch(java.lang.String source, java.lang.String uri, java.lang.String buildGroup, FetchClient.Parameter... params) throws FetchException
source
- Name of the connector or crawleruri
- Uri of the documentbuildGroup
- Build Group having indexed this documentFetchException
Thumbnail thumbnail(Hit hit, FetchClient.Parameter... params) throws FetchException
hit
- The index Hit representing the documentFetchException
Thumbnail thumbnail(java.lang.String source, java.lang.String uri, FetchClient.Parameter... params) throws FetchException
source
- Name of the connector or crawleruri
- Uri of the documentFetchException
Thumbnail thumbnail(java.lang.String source, java.lang.String uri, java.lang.String buildGroup, FetchClient.Parameter... params) throws FetchException
source
- Name of the connector or crawleruri
- Uri of the documentbuildGroup
- Build Group having indexed this documentFetchException
java.io.InputStream preview(Hit hit, FetchClient.Parameter... params) throws FetchException
hit
- The index Hit representing the documentFetchException
java.io.InputStream preview(java.lang.String source, java.lang.String uri, FetchClient.Parameter... params) throws FetchException
source
- Name of the connector or crawleruri
- Uri of the documentFetchException
java.io.InputStream preview(java.lang.String source, java.lang.String uri, java.lang.String buildGroup, FetchClient.Parameter... params) throws FetchException
source
- Name of the connector or crawleruri
- Uri of the documentbuildGroup
- Build Group having indexed this documentFetchException
Preview previewExt(java.lang.String source, java.lang.String uri, java.lang.String buildGroup, FetchClient.Parameter... parameters) throws FetchException
source
- Name of the connector or crawleruri
- Uri of the documentbuildGroup
- Build Group having indexed this documentparameters
- additional parametersFetchException
void setFetchCommand(java.lang.String command)
void setPreviewCommand(java.lang.String command)
void setThumbnailCommand(java.lang.String command)
Copyright © 2021 Dassault Systèmes, All Rights Reserved.