Class Source
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.Source
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Source extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSource.BuilderBuilder forSource. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Source>_DESERIALIZERJson deserializer forSource -
Constructor Summary
Constructors Constructor Description Source(Source.Builder builder)Source(java.util.function.Function<Source.Builder,Source.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>index()Required - API name:indexQueryquery()API name:queryRemoteSourceremote()API name:remotejava.util.Map<java.lang.String,SourceRuntimeMapping>runtimeMappings()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 voidsetupSourceDeserializer(DelegatingDeserializer<Source.Builder> op)java.lang.Integersize()API name:sizeSlicedScrollslice()API name:slicejava.util.List<jakarta.json.JsonValue>sort()API name:sortjava.util.List<java.lang.String>sourceFields()API name:_sourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSource
-
-
Constructor Details
-
Source
-
Source
-
-
Method Details
-
index
public java.util.List<java.lang.String> index()Required - API name:index -
query
API name:query -
remote
API name:remote -
size
@Nullable public java.lang.Integer size()API name:size -
slice
API name:slice -
sort
@Nullable public java.util.List<jakarta.json.JsonValue> sort()API name:sort -
sourceFields
@Nullable public java.util.List<java.lang.String> sourceFields()API name:_source -
runtimeMappings
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_mappings -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSourceDeserializer
-