Class FieldLookup
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.FieldLookup
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class FieldLookup extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldLookup.Builder
Builder forFieldLookup
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FieldLookup>
_DESERIALIZER
Json deserializer forFieldLookup
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
id()
Required - API name:id
java.lang.String
index()
API name:index
static FieldLookup
of(java.util.function.Function<FieldLookup.Builder,ObjectBuilder<FieldLookup>> fn)
java.lang.String
path()
API name:path
java.lang.String
routing()
API name:routing
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
setupFieldLookupDeserializer(ObjectDeserializer<FieldLookup.Builder> op)
FieldLookup.Builder
toBuilder()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<FieldLookup> _DESERIALIZER
Json deserializer forFieldLookup
-
-
Method Detail
-
of
public static FieldLookup of(java.util.function.Function<FieldLookup.Builder,ObjectBuilder<FieldLookup>> fn)
-
id
public final java.lang.String id()
Required - API name:id
-
index
@Nullable public final java.lang.String index()
API name:index
-
path
@Nullable public final java.lang.String path()
API name:path
-
routing
@Nullable public final java.lang.String routing()
API name:routing
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
toBuilder
public FieldLookup.Builder toBuilder()
-
setupFieldLookupDeserializer
protected static void setupFieldLookupDeserializer(ObjectDeserializer<FieldLookup.Builder> op)
-
-