java.lang.Object
org.elasticsearch.script.DocBasedScript
org.elasticsearch.script.AbstractFieldScript
org.elasticsearch.script.AbstractLongFieldScript
org.elasticsearch.script.LongFieldScript
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic interface - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScriptContext<LongFieldScript.Factory> static final String[]static final LongFieldScript.FactoryFields inherited from class org.elasticsearch.script.AbstractFieldScript
fieldName, MAX_VALUES, sourceFields inherited from class org.elasticsearch.script.DocBasedScript
docReader - 
Constructor Summary
ConstructorsConstructorDescriptionLongFieldScript(String fieldName, Map<String, Object> params, SearchLookup searchLookup, OnScriptError onScriptError, org.apache.lucene.index.LeafReaderContext ctx)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic LongFieldScript.FactoryleafAdapter(Function<SearchLookup, CompositeFieldScript.LeafFactory> parentFactory) Methods inherited from class org.elasticsearch.script.AbstractLongFieldScript
count, emit, prepareExecute, runForDoc, valuesMethods inherited from class org.elasticsearch.script.AbstractFieldScript
checkMaxSize, emitFromCompositeScript, emitFromSource, emitValueFromCompositeScript, execute, extractFromSource, getParams, newContext, runForDocMethods inherited from class org.elasticsearch.script.DocBasedScript
docAsMap, field, fields, getDoc, setDocument, source 
- 
Field Details
- 
CONTEXT
 - 
PARSE_FROM_SOURCE
 - 
PARAMETERS
 
 - 
 - 
Constructor Details
- 
LongFieldScript
public LongFieldScript(String fieldName, Map<String, Object> params, SearchLookup searchLookup, OnScriptError onScriptError, org.apache.lucene.index.LeafReaderContext ctx)  
 - 
 - 
Method Details
- 
leafAdapter
public static LongFieldScript.Factory leafAdapter(Function<SearchLookup, CompositeFieldScript.LeafFactory> parentFactory)  - 
emitFromObject
- Specified by:
 emitFromObjectin classAbstractFieldScript
 
 -