Class Processor
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.Processor
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Processor.Builder,Processor>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Processor
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Processor.Builder,Processor>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Processor> Json deserializer forProcessor -
Method Summary
Modifier and TypeMethodDescriptionstatic Processor.Builderbuilder()final Longcount()Number of documents transformed by the processor.final Longcurrent()Number of documents currently being transformed by the processor.booleanfinal Longfailed()Number of failed operations for the processor.inthashCode()static Processorvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetime()API name:timefinal LongAPI name:time_in_millisCreate 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, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forProcessor
-
-
Method Details
-
of
-
count
Number of documents transformed by the processor.API name:
count -
current
Number of documents currently being transformed by the processor.API name:
current -
failed
Number of failed operations for the processor.API name:
failed -
time
API name:time -
timeInMillis
API name:time_in_millis -
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<Processor.Builder,Processor> - Returns:
- a new builder instance.
-
builder
-
setupProcessorDeserializer
-
hashCode
public int hashCode() -
equals
-