Class GetRecordsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetRecordsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class GetRecordsRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetRecordsRequest.BuilderBuilder forGetRecordsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetRecordsRequest>_DESERIALIZERJson deserializer forGetRecordsRequeststatic Endpoint<GetRecordsRequest,GetRecordsResponse,ElasticsearchError>ENDPOINTEndpoint "ml.get_records". -
Constructor Summary
Constructors Constructor Description GetRecordsRequest(GetRecordsRequest.Builder builder)GetRecordsRequest(java.util.function.Function<GetRecordsRequest.Builder,GetRecordsRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Booleandesc()API name:descjava.lang.Stringend()API name:endjava.lang.BooleanexcludeInterim()API name:exclude_interimjava.lang.Integerfrom()skips a number of recordsjava.lang.StringjobId()Required - The ID of the jobPagepage()API name:pagejava.lang.DoublerecordScore()API name:record_scorevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetRecordsRequestDeserializer(DelegatingDeserializer<GetRecordsRequest.Builder> op)java.lang.Integersize()specifies a max number of records to getjava.lang.Stringsort()API name:sortjava.lang.Stringstart()API name:startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetRecordsRequest -
ENDPOINT
Endpoint "ml.get_records".
-
-
Constructor Details
-
GetRecordsRequest
-
GetRecordsRequest
public GetRecordsRequest(java.util.function.Function<GetRecordsRequest.Builder,GetRecordsRequest.Builder> fn)
-
-
Method Details
-
jobId
public java.lang.String jobId()Required - The ID of the jobAPI name:
job_id -
from
@Nullable public java.lang.Integer from()skips a number of recordsAPI name:
from -
size
@Nullable public java.lang.Integer size()specifies a max number of records to getAPI name:
size -
desc
@Nullable public java.lang.Boolean desc()API name:desc -
excludeInterim
@Nullable public java.lang.Boolean excludeInterim()API name:exclude_interim -
page
API name:page -
recordScore
@Nullable public java.lang.Double recordScore()API name:record_score -
sort
@Nullable public java.lang.String sort()API name:sort -
start
@Nullable public java.lang.String start()API name:start -
end
@Nullable public java.lang.String end()API name:end -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetRecordsRequestDeserializer
protected static void setupGetRecordsRequestDeserializer(DelegatingDeserializer<GetRecordsRequest.Builder> op)
-