Class IndexSegmentSort
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.IndexSegmentSort
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexSegmentSort extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexSegmentSort.BuilderBuilder forIndexSegmentSort.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexSegmentSort>_DESERIALIZERJson deserializer forIndexSegmentSort
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>field()Required - API name:fieldjava.util.List<SegmentSortMissing>missing()API name:missingjava.util.List<SegmentSortMode>mode()API name:modestatic IndexSegmentSortof(java.util.function.Function<IndexSegmentSort.Builder,ObjectBuilder<IndexSegmentSort>> fn)java.util.List<SegmentSortOrder>order()Required - API name:ordervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexSegmentSortDeserializer(ObjectDeserializer<IndexSegmentSort.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexSegmentSort> _DESERIALIZER
Json deserializer forIndexSegmentSort
-
-
Method Detail
-
of
public static IndexSegmentSort of(java.util.function.Function<IndexSegmentSort.Builder,ObjectBuilder<IndexSegmentSort>> fn)
-
field
public final java.util.List<java.lang.String> field()
Required - API name:field
-
order
public final java.util.List<SegmentSortOrder> order()
Required - API name:order
-
mode
public final java.util.List<SegmentSortMode> mode()
API name:mode
-
missing
public final java.util.List<SegmentSortMissing> missing()
API name:missing
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndexSegmentSortDeserializer
protected static void setupIndexSegmentSortDeserializer(ObjectDeserializer<IndexSegmentSort.Builder> op)
-
-