public class TTCEsCodec extends org.nuxeo.ecm.automation.io.services.codec.ObjectCodec<TTCSearchResponse>
| Constructor and Description |
|---|
TTCEsCodec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
protected boolean |
hasToFilterDuplicate(org.elasticsearch.action.search.SearchResponse searchResponse) |
void |
write(org.codehaus.jackson.JsonGenerator jg,
TTCSearchResponse value) |
protected void |
writeDuplicateFilteredEntries(org.codehaus.jackson.JsonGenerator jg,
Pattern schemasRegex,
org.elasticsearch.action.search.SearchResponse searchResponse) |
protected void |
writeEntries(org.codehaus.jackson.JsonGenerator jg,
Pattern schemasRegex,
org.elasticsearch.search.SearchHit[] searchhits) |
public String getType()
getType in class org.nuxeo.ecm.automation.io.services.codec.ObjectCodec<TTCSearchResponse>public void write(org.codehaus.jackson.JsonGenerator jg,
TTCSearchResponse value)
throws IOException
write in class org.nuxeo.ecm.automation.io.services.codec.ObjectCodec<TTCSearchResponse>IOExceptionprotected boolean hasToFilterDuplicate(org.elasticsearch.action.search.SearchResponse searchResponse)
protected void writeEntries(org.codehaus.jackson.JsonGenerator jg,
Pattern schemasRegex,
org.elasticsearch.search.SearchHit[] searchhits)
throws IOException,
org.codehaus.jackson.JsonGenerationException,
org.codehaus.jackson.JsonProcessingException
jg - schemasRegex - searchhits - IOExceptionorg.codehaus.jackson.JsonGenerationExceptionorg.codehaus.jackson.JsonProcessingExceptionprotected void writeDuplicateFilteredEntries(org.codehaus.jackson.JsonGenerator jg,
Pattern schemasRegex,
org.elasticsearch.action.search.SearchResponse searchResponse)
throws org.codehaus.jackson.JsonGenerationException,
org.codehaus.jackson.JsonProcessingException,
IOException
org.codehaus.jackson.JsonGenerationExceptionorg.codehaus.jackson.JsonProcessingExceptionIOExceptionCopyright © 2021. All rights reserved.