Class Processor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Processor.Builder>
co.elastic.clients.elasticsearch.nodes.Processor.Builder
- All Implemented Interfaces:
WithJson<Processor.Builder>,ObjectBuilder<Processor>
- Enclosing class:
- Processor
public static class Processor.Builder
extends WithJsonObjectBuilderBase<Processor.Builder>
implements ObjectBuilder<Processor>
Builder for
Processor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aProcessor.final Processor.BuilderNumber of documents transformed by the processor.final Processor.BuilderNumber of documents currently being transformed by the processor.final Processor.BuilderNumber of failed operations for the processor.protected Processor.Builderself()final Processor.BuildertimeInMillis(Long value) Time, in milliseconds, spent by the processor transforming documents.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
timeInMillis
Time, in milliseconds, spent by the processor transforming documents.API name:
time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Processor.Builder>
-
build
Builds aProcessor.- Specified by:
buildin interfaceObjectBuilder<Processor>- Throws:
NullPointerException- if some of the required fields are null.
-