Class PhaseTook
- java.lang.Object
-
- org.opensearch.client.opensearch._types.PhaseTook
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PhaseTook.Builder,PhaseTook>
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class PhaseTook extends java.lang.Object implements PlainJsonSerializable, ToCopyableBuilder<PhaseTook.Builder,PhaseTook>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhaseTook.BuilderBuilder forPhaseTook.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PhaseTook>_DESERIALIZERJson deserializer forPhaseTook
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhaseTook.Builderbuilder()intcanMatch()Required - API name:can_matchintdfsPreQuery()Required - API name:dfs_pre_queryintdfsQuery()Required - API name:dfs_querybooleanequals(java.lang.Object o)intexpand()Required - API name:expandintfetch()Required - API name:fetchinthashCode()static PhaseTookof(java.util.function.Function<PhaseTook.Builder,ObjectBuilder<PhaseTook>> fn)intquery()Required - API name:queryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupPhaseTookDeserializer(ObjectDeserializer<PhaseTook.Builder> op)PhaseTook.BuildertoBuilder()Create a new builderToCopyableBuilderthat is initialised with the current state of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<PhaseTook> _DESERIALIZER
Json deserializer forPhaseTook
-
-
Method Detail
-
of
public static PhaseTook of(java.util.function.Function<PhaseTook.Builder,ObjectBuilder<PhaseTook>> fn)
-
canMatch
public final int canMatch()
Required - API name:can_match
-
dfsPreQuery
public final int dfsPreQuery()
Required - API name:dfs_pre_query
-
dfsQuery
public final int dfsQuery()
Required - API name:dfs_query
-
expand
public final int expand()
Required - API name:expand
-
fetch
public final int fetch()
Required - API name:fetch
-
query
public final int query()
Required - API name:query
-
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)
-
toBuilder
@Nonnull public PhaseTook.Builder toBuilder()
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PhaseTook.Builder,PhaseTook>- Returns:
- a new builder instance.
-
builder
@Nonnull public static PhaseTook.Builder builder()
-
setupPhaseTookDeserializer
protected static void setupPhaseTookDeserializer(ObjectDeserializer<PhaseTook.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-