Class Page
java.lang.Object
co.elastic.clients.elasticsearch.ml.Page
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Page extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Page.Builder
Builder forPage
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Page>
_DESERIALIZER
Json deserializer forPage
-
Method Summary
Modifier and Type Method Description java.lang.Integer
from()
Skips the specified number of items.static Page
of(java.util.function.Function<Page.Builder,ObjectBuilder<Page>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupPageDeserializer(ObjectDeserializer<Page.Builder> op)
java.lang.Integer
size()
Specifies the maximum number of items to obtain.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPage
-
-
Method Details
-
of
-
from
@Nullable public final java.lang.Integer from()Skips the specified number of items.API name:
from
-
size
@Nullable public final java.lang.Integer size()Specifies the maximum number of items to obtain.API name:
size
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupPageDeserializer
-