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 class
Source.Builder
Builder forSource
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Source>
_DESERIALIZER
Json 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:index
Query
query()
API name:query
RemoteSource
remote()
API name:remote
java.util.Map<java.lang.String,SourceRuntimeMapping>
runtimeMappings()
Definitions of search-time runtime fields that can be used by the transform.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupSourceDeserializer(DelegatingDeserializer<Source.Builder> op)
java.lang.Integer
size()
API name:size
SlicedScroll
slice()
API name:slice
java.util.List<jakarta.json.JsonValue>
sort()
API name:sort
java.util.List<java.lang.String>
sourceFields()
API name:_source
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSourceDeserializer
-