Class SortProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<SortProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.SortProcessor.Builder
- All Implemented Interfaces:
- WithJson<SortProcessor.Builder>,- ObjectBuilder<SortProcessor>
- Enclosing class:
- SortProcessor
public static class SortProcessor.Builder
extends ProcessorBase.AbstractBuilder<SortProcessor.Builder>
implements ObjectBuilder<SortProcessor>
Builder for 
SortProcessor.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aSortProcessor.final SortProcessor.BuilderRequired - The field to be sorted.final SortProcessor.BuilderThe sort order to use.protected SortProcessor.Builderself()final SortProcessor.BuildertargetField(String value) The field to assign the sorted value to.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilderdescription, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tagMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
fieldRequired - The field to be sorted.API name: field
- 
orderThe sort order to use. Accepts"asc"or"desc".API name: order
- 
targetFieldThe field to assign the sorted value to. By default, the field is updated in-place.API name: target_field
- 
self- Specified by:
- selfin class- ProcessorBase.AbstractBuilder<SortProcessor.Builder>
 
- 
buildBuilds aSortProcessor.- Specified by:
- buildin interface- ObjectBuilder<SortProcessor>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-