Class EsqlQueryRequest
- All Implemented Interfaces:
CompositeIndicesRequest,Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest,TransportRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.elasticsearch.core.TimeValuestatic org.elasticsearch.core.TimeValueFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a "table" to the request for use with things likeLOOKUP.allowPartialResults(boolean allowPartialResults) booleanasync()static EsqlQueryRequestasyncEsqlQueryRequest(String query) booleancolumnar()columnar(boolean columnar) createTask(TaskId taskId, String type, String action, TaskId parentTaskId, Map<String, String> headers) filter()filter(QueryBuilder filter) includeCCSMetadata(Boolean include) includeExecutionMetadata(Boolean include) org.elasticsearch.core.TimeValuekeepAlive(org.elasticsearch.core.TimeValue keepAlive) booleankeepOnCompletion(boolean keepOnCompletion) locale()voidparams()voidparams(QueryParams params) pragmas()pragmas(QueryPragmas pragmas) booleanprofile()Is profiling enabled?profile(boolean profile) Enable profiling, sacrificing performance to return information about what operations are taking the most time.voidprojectRouting(String projectRouting) query()static EsqlQueryRequestsyncEsqlQueryRequest(String query) tables()timeZone()voidvalidate()org.elasticsearch.core.TimeValuewaitForCompletionTimeout(org.elasticsearch.core.TimeValue waitForCompletionTimeout) Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult, writeToMethods inherited from class org.elasticsearch.transport.AbstractTransportRequest
getParentTask, getRequestId, remoteAddress, remoteAddress, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Field Details
-
DEFAULT_KEEP_ALIVE
public static org.elasticsearch.core.TimeValue DEFAULT_KEEP_ALIVE -
DEFAULT_WAIT_FOR_COMPLETION
public static org.elasticsearch.core.TimeValue DEFAULT_WAIT_FOR_COMPLETION
-
-
Constructor Details
-
EsqlQueryRequest
- Throws:
IOException
-
EsqlQueryRequest
public EsqlQueryRequest()
-
-
Method Details
-
syncEsqlQueryRequest
-
asyncEsqlQueryRequest
-
validate
- Specified by:
validatein classActionRequest
-
query
-
query
- Specified by:
queryin classEsqlQueryRequest
-
async
public boolean async() -
columnar
-
columnar
public boolean columnar() -
profile
Enable profiling, sacrificing performance to return information about what operations are taking the most time. -
includeCCSMetadata
-
includeCCSMetadata
-
includeExecutionMetadata
-
includeExecutionMetadata
-
profile
public boolean profile()Is profiling enabled? -
timeZone
-
timeZone
-
locale
-
locale
-
filter
-
filter
- Specified by:
filterin classEsqlQueryRequest
-
pragmas
-
pragmas
-
params
-
params
-
waitForCompletionTimeout
public org.elasticsearch.core.TimeValue waitForCompletionTimeout() -
waitForCompletionTimeout
public EsqlQueryRequest waitForCompletionTimeout(org.elasticsearch.core.TimeValue waitForCompletionTimeout) -
keepAlive
public org.elasticsearch.core.TimeValue keepAlive() -
keepAlive
-
keepOnCompletion
public boolean keepOnCompletion() -
keepOnCompletion
-
addTable
Add a "table" to the request for use with things likeLOOKUP. -
tables
-
allowPartialResults
-
allowPartialResults
-
createTask
public Task createTask(TaskId taskId, String type, String action, TaskId parentTaskId, Map<String, String> headers) - Specified by:
createTaskin interfaceTaskAwareRequest
-
projectRouting
-
projectRouting
-