Package org.elasticsearch.script
Class DateFieldScript
java.lang.Object
org.elasticsearch.script.AbstractFieldScript
org.elasticsearch.script.AbstractLongFieldScript
org.elasticsearch.script.DateFieldScript
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static interface
static class
Temporary parse method that takes into account the date format. -
Field Summary
Modifier and TypeFieldDescriptionstatic ScriptContext<DateFieldScript.Factory>
static String[]
static DateFieldScript.Factory
Fields inherited from class org.elasticsearch.script.AbstractFieldScript
fieldName, leafSearchLookup, MAX_VALUES
-
Constructor Summary
ConstructorDescriptionDateFieldScript(String fieldName, Map<String,Object> params, SearchLookup searchLookup, DateFormatter formatter, org.apache.lucene.index.LeafReaderContext ctx)
-
Method Summary
Methods inherited from class org.elasticsearch.script.AbstractLongFieldScript
count, emit, runForDoc, runForDoc, values
Methods inherited from class org.elasticsearch.script.AbstractFieldScript
checkMaxSize, emitFromSource, execute, extractFromSource, getDoc, getParams, setDocument
-
Field Details
-
CONTEXT
-
PARSE_FROM_SOURCE
-
PARAMETERS
-
-
Constructor Details
-
DateFieldScript
public DateFieldScript(String fieldName, Map<String,Object> params, SearchLookup searchLookup, DateFormatter formatter, org.apache.lucene.index.LeafReaderContext ctx)
-
-
Method Details
-
emitFromObject
- Specified by:
emitFromObject
in classAbstractFieldScript
-