Class Source.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Source.Builder>
co.elastic.clients.elasticsearch.transform.Source.Builder
- All Implemented Interfaces:
- WithJson<Source.Builder>,- ObjectBuilder<Source>
- Enclosing class:
- Source
public static class Source.Builder
extends WithJsonObjectBuilderBase<Source.Builder>
implements ObjectBuilder<Source>
Builder for 
Source.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aSource.final Source.BuilderRequired - The source indices for the transform.final Source.BuilderRequired - The source indices for the transform.final Source.BuilderA query clause that retrieves a subset of data from the source index.final Source.Builderquery(QueryVariant value) A query clause that retrieves a subset of data from the source index.final Source.BuilderA query clause that retrieves a subset of data from the source index.final Source.BuilderruntimeMappings(String key, RuntimeField value) Definitions of search-time runtime fields that can be used by the transform.final Source.BuilderDefinitions of search-time runtime fields that can be used by the transform.final Source.BuilderruntimeMappings(Map<String, RuntimeField> map) Definitions of search-time runtime fields that can be used by the transform.protected Source.Builderself()Methods 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- 
indexRequired - The source indices for the transform. It can be a single index, an index pattern (for example,"my-index-*""), an array of indices (for example,["my-index-000001", "my-index-000002"]), or an array of index patterns (for example,["my-index-*", "my-other-index-*"]. For remote indices use the syntax"remote_name:index_name". If any indices are in remote clusters then the master node and at least one transform node must have theremote_cluster_clientnode role.API name: indexAdds all elements of listtoindex.
- 
indexRequired - The source indices for the transform. It can be a single index, an index pattern (for example,"my-index-*""), an array of indices (for example,["my-index-000001", "my-index-000002"]), or an array of index patterns (for example,["my-index-*", "my-other-index-*"]. For remote indices use the syntax"remote_name:index_name". If any indices are in remote clusters then the master node and at least one transform node must have theremote_cluster_clientnode role.API name: indexAdds one or more values to index.
- 
queryA query clause that retrieves a subset of data from the source index.API name: query
- 
queryA query clause that retrieves a subset of data from the source index.API name: query
- 
queryA query clause that retrieves a subset of data from the source index.API name: query
- 
runtimeMappingsDefinitions of search-time runtime fields that can be used by the transform. For search runtime fields all data nodes, including remote nodes, must be 7.12 or later.API name: runtime_mappingsAdds all entries of maptoruntimeMappings.
- 
runtimeMappingsDefinitions of search-time runtime fields that can be used by the transform. For search runtime fields all data nodes, including remote nodes, must be 7.12 or later.API name: runtime_mappingsAdds an entry to runtimeMappings.
- 
runtimeMappingspublic final Source.Builder runtimeMappings(String key, Function<RuntimeField.Builder, ObjectBuilder<RuntimeField>> fn) Definitions of search-time runtime fields that can be used by the transform. For search runtime fields all data nodes, including remote nodes, must be 7.12 or later.API name: runtime_mappingsAdds an entry to runtimeMappingsusing a builder lambda.
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<Source.Builder>
 
- 
buildBuilds aSource.- Specified by:
- buildin interface- ObjectBuilder<Source>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-