Class Source
java.lang.Object
co.elastic.clients.elasticsearch.transform.Source
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Source>Json deserializer forSource
- 
Method SummaryModifier and TypeMethodDescriptionindex()Required - The source indices for the transform.static Sourcefinal Queryquery()A query clause that retrieves a subset of data from the source index.final Map<String,RuntimeField> Definitions of search-time runtime fields that can be used by the transform.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
- 
Field Details- 
_DESERIALIZERJson deserializer forSource
 
- 
- 
Method Details- 
of
- 
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: index
- 
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_mappings
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupSourceDeserializer
 
-