public class Pit
extends java.lang.Object
implements java.lang.AutoCloseable
| Modifier and Type | Field and Description | 
|---|---|
java.lang.String | 
id  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
adaptSearch(org.elasticsearch.action.search.SearchRequestBuilder searchBuilder)  | 
static Pit | 
allocate(org.elasticsearch.client.Client client,
        java.lang.String index,
        int keepAliveInSeconds)  | 
static Pit | 
allocateUsingTimebudget(org.elasticsearch.client.Client client,
                       java.lang.String index,
                       int keepAliveInSeconds,
                       long budget)  | 
void | 
close()  | 
void | 
consumeHit(org.elasticsearch.search.SearchHit h)  | 
boolean | 
hasNext()  | 
public static Pit allocate(org.elasticsearch.client.Client client, java.lang.String index, int keepAliveInSeconds)
public static Pit allocateUsingTimebudget(org.elasticsearch.client.Client client, java.lang.String index, int keepAliveInSeconds, long budget)
public void close()
           throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic boolean hasNext()
public void consumeHit(org.elasticsearch.search.SearchHit h)
public void adaptSearch(org.elasticsearch.action.search.SearchRequestBuilder searchBuilder)
Copyright © 2023. All Rights Reserved.