Class RuntimeField
java.lang.Object
org.springframework.data.elasticsearch.core.query.RuntimeField
Defines a runtime field to be added to a Query
- Since:
- 4.3
- Author:
- Peter-Josef Meisch, cdalxndr
-
Constructor Summary
ConstructorDescriptionRuntimeField
(String name, String type) RuntimeField
(String name, String type, String script) -
Method Summary
-
Constructor Details
-
RuntimeField
-
RuntimeField
-
RuntimeField
-
-
Method Details
-
getName
-
getMapping
- Returns:
- the mapping as a Map like it is needed for the Elasticsearch client
-
getType
- Since:
- 4.4
-
getScript
- Since:
- 4.4
-
getParams
- Since:
- 5.2
-