public class ExtendedElasticSearchIterator<T> extends ElasticSearchIterator<T>
ElasticSearchIterator, but with a method prepareSearchSource(java.lang.String...), so queries can be
constructed using 'high level' syntax. All other things, like the type to adapt are still json only.| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedElasticSearchIterator.ExtendedBuilder<T> |
ElasticSearchIterator.AbstractBuilder<T,SELF extends ElasticSearchIterator.AbstractBuilder<T,SELF>>, ElasticSearchIterator.Builder<T>nl.vpro.elasticsearch.ElasticSearchIteratorInterface.TotalRelationCloseableIterator.WrappedCloseableIterator<S>, CloseableIterator.WrappedPeekingCloseableIterator<S>request| Modifier | Constructor and Description |
|---|---|
protected |
ExtendedElasticSearchIterator(@NonNull org.elasticsearch.client.RestHighLevelClient client,
Function<com.fasterxml.jackson.databind.JsonNode,T> adapt,
Class<T> adaptTo,
Duration scrollContext,
Boolean jsonRequests,
Boolean requestVersion,
String beanName,
org.meeuw.math.windowed.WindowedEventRate rateMeasurerer,
List<String> routingIds) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
firstBatch() |
org.elasticsearch.search.builder.SearchSourceBuilder |
prepareSearchSource(String... indices) |
_prepareSearch, adapterTo, builder, builderOf, close, findNext, getCount, getDuration, getEsVersion, getFraction, getInstance, getRate, getRequest, getRouting, getSize, getSizeQualifier, getSpeed, getStart, hasNext, isJsonRequests, next, of, prepareSearch, prepareSearch, prepareSearch, prepareSearch, prepareSearchOnIndices, readResponse, setIndices, setJsonRequests, setRouting, sources, sourcesBuilder, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetETA, getETADate, getETASeconds, getScrollIds, getStartDate, getTotalSizeLonggetTotalSize, of, of, of, of, peeking, peeking, spliterator, streamcloseQuietly, empty, of, peekingforEachRemaining, removeprotected ExtendedElasticSearchIterator(@NonNull
@NonNull org.elasticsearch.client.RestHighLevelClient client,
Function<com.fasterxml.jackson.databind.JsonNode,T> adapt,
Class<T> adaptTo,
Duration scrollContext,
Boolean jsonRequests,
Boolean requestVersion,
String beanName,
org.meeuw.math.windowed.WindowedEventRate rateMeasurerer,
List<String> routingIds)
public org.elasticsearch.search.builder.SearchSourceBuilder prepareSearchSource(String... indices)
protected boolean firstBatch()
firstBatch in class ElasticSearchIterator<T>Copyright © 2021. All rights reserved.