Class EsqlQueryRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.LegacyActionRequest
org.elasticsearch.xpack.core.esql.action.EsqlQueryRequest
org.elasticsearch.xpack.esql.action.EsqlQueryRequest
- All Implemented Interfaces:
CompositeIndicesRequest,Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest
-
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()booleancolumnar()voidcolumnar(boolean columnar) filter()voidfilter(QueryBuilder filter) booleanvoidincludeCCSMetadata(boolean include) org.elasticsearch.core.TimeValuevoidkeepAlive(org.elasticsearch.core.TimeValue keepAlive) booleanvoidkeepOnCompletion(boolean keepOnCompletion) locale()voidparams()voidparams(QueryParams params) pragmas()voidpragmas(QueryPragmas pragmas) booleanprofile()Is profiling enabled?voidprofile(boolean profile) Enable profiling, sacrificing performance to return information about what operations are taking the most time.query()voidtables()validate()org.elasticsearch.core.TimeValuevoidwaitForCompletionTimeout(org.elasticsearch.core.TimeValue waitForCompletionTimeout) Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult, writeToMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
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
-
validate
- Specified by:
validatein classActionRequest
-
query
-
query
- Specified by:
queryin classEsqlQueryRequest
-
async
public boolean async() -
columnar
public void columnar(boolean columnar) -
columnar
public boolean columnar() -
profile
public void profile(boolean profile) Enable profiling, sacrificing performance to return information about what operations are taking the most time. -
includeCCSMetadata
public void includeCCSMetadata(boolean include) -
includeCCSMetadata
public boolean includeCCSMetadata() -
profile
public boolean profile()Is profiling enabled? -
locale
-
locale
-
filter
-
filter
- Specified by:
filterin classEsqlQueryRequest
-
pragmas
-
pragmas
-
params
-
params
-
waitForCompletionTimeout
public org.elasticsearch.core.TimeValue waitForCompletionTimeout() -
waitForCompletionTimeout
public void waitForCompletionTimeout(org.elasticsearch.core.TimeValue waitForCompletionTimeout) -
keepAlive
public org.elasticsearch.core.TimeValue keepAlive() -
keepAlive
public void keepAlive(org.elasticsearch.core.TimeValue keepAlive) -
keepOnCompletion
public boolean keepOnCompletion() -
keepOnCompletion
public void keepOnCompletion(boolean keepOnCompletion) -
addTable
Add a "table" to the request for use with things likeLOOKUP. -
tables
-
allowPartialResults
-
allowPartialResults
-
createTask
public Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) - Specified by:
createTaskin interfaceTaskAwareRequest
-