Class GetExperimentsResponse<TDocument>
java.lang.Object
org.opensearch.client.opensearch.search_relevance.GetExperimentsResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetExperimentsResponse.Builder<TDocument>,GetExperimentsResponse<TDocument>>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetExperimentsResponse<TDocument>
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetExperimentsResponse.Builder<TDocument>,GetExperimentsResponse<TDocument>>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetExperimentsResponse<Object>> Json deserializer forGetExperimentsResponsebased on named deserializers provided by the callingJsonMapper. -
Method Summary
Modifier and TypeMethodDescriptionAPI name:aggregationsstatic <TDocument>
GetExperimentsResponse.Builderbuilder()final ClusterStatisticsclusters()API name:_clustersstatic <TDocument>
JsonpDeserializer<GetExperimentsResponse<TDocument>> createGetExperimentsResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for GetExperimentsResponse.booleanfields()API name:fieldsinthashCode()final HitsMetadata<TDocument> hits()Required - API name:hitsfinal IntegerAPI name:num_reduce_phasesstatic <TDocument>
GetExperimentsResponse<TDocument> of(Function<GetExperimentsResponse.Builder<TDocument>, ObjectBuilder<GetExperimentsResponse<TDocument>>> fn) final PhaseTookAPI name:phase_tookfinal StringpitId()API name:pit_idfinal List<ProcessorExecutionDetail> API name:processor_resultsfinal Profileprofile()API name:profilefinal StringscrollId()API name:_scroll_idvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <TDocument>
voidsetupGetExperimentsResponseDeserializer(ObjectDeserializer<GetExperimentsResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer) final ShardStatisticsshards()Required - API name:_shardssuggest()API name:suggestfinal BooleanAPI name:terminated_earlyfinal booleantimedOut()Required - API name:timed_outCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final longtook()Required - API name:tookMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGetExperimentsResponsebased on named deserializers provided by the callingJsonMapper.
-
-
Method Details
-
of
public static <TDocument> GetExperimentsResponse<TDocument> of(Function<GetExperimentsResponse.Builder<TDocument>, ObjectBuilder<GetExperimentsResponse<TDocument>>> fn) -
aggregations
API name:aggregations -
clusters
API name:_clusters -
fields
API name:fields -
hits
Required - API name:hits -
numReducePhases
API name:num_reduce_phases -
phaseTook
API name:phase_took -
pitId
API name:pit_id -
processorResults
API name:processor_results -
profile
API name:profile -
scrollId
API name:_scroll_id -
shards
Required - API name:_shards -
suggest
API name:suggest -
terminatedEarly
API name:terminated_early -
timedOut
public final boolean timedOut()Required - API name:timed_out -
took
public final long took()Required - API name:took -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetExperimentsResponse.Builder<TDocument>,GetExperimentsResponse<TDocument>> - Returns:
- a new builder instance.
-
builder
-
createGetExperimentsResponseDeserializer
public static <TDocument> JsonpDeserializer<GetExperimentsResponse<TDocument>> createGetExperimentsResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for GetExperimentsResponse. -
setupGetExperimentsResponseDeserializer
protected static <TDocument> void setupGetExperimentsResponseDeserializer(ObjectDeserializer<GetExperimentsResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer) -
hashCode
public int hashCode() -
equals
-