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 classPage.BuilderBuilder forPage. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Page>_DESERIALIZERJson deserializer forPage -
Method Summary
Modifier and Type Method Description java.lang.Integerfrom()Skips the specified number of items.static Pageof(java.util.function.Function<Page.Builder,ObjectBuilder<Page>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupPageDeserializer(ObjectDeserializer<Page.Builder> op)java.lang.Integersize()Specifies the maximum number of items to obtain.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupPageDeserializer
-