Module org.elasticsearch.server
Class SourceValueFetcherIndexFieldData.SourceValueFetcherLeafFieldData<T>
java.lang.Object
org.elasticsearch.index.fielddata.SourceValueFetcherIndexFieldData.SourceValueFetcherLeafFieldData<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.lucene.util.Accountable
,Releasable
,LeafFieldData
- Direct Known Subclasses:
SourceValueFetcherMultiGeoPointIndexFieldData.SourceValueFetcherMultiGeoPointLeafFieldData
,SourceValueFetcherSortedBinaryIndexFieldData.SourceValueFetcherSortedBinaryLeafFieldData
,SourceValueFetcherSortedNumericIndexFieldData.SourceValueFetcherSortedNumericLeafFieldData
- Enclosing class:
- SourceValueFetcherIndexFieldData<T>
public abstract static class SourceValueFetcherIndexFieldData.SourceValueFetcherLeafFieldData<T>
extends Object
implements LeafFieldData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.lucene.index.LeafReaderContext
protected final SourceProvider
protected final ToScriptFieldFactory<T>
protected final ValueFetcher
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
ConstructorsConstructorDescriptionSourceValueFetcherLeafFieldData
(ToScriptFieldFactory<T> toScriptFieldFactory, org.apache.lucene.index.LeafReaderContext leafReaderContext, ValueFetcher valueFetcher, SourceProvider sourceProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Return a String representation of the values.long
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
Methods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData
getFormattedValues, getScriptFieldFactory
-
Field Details
-
toScriptFieldFactory
-
leafReaderContext
protected final org.apache.lucene.index.LeafReaderContext leafReaderContext -
valueFetcher
-
sourceProvider
-
-
Constructor Details
-
SourceValueFetcherLeafFieldData
public SourceValueFetcherLeafFieldData(ToScriptFieldFactory<T> toScriptFieldFactory, org.apache.lucene.index.LeafReaderContext leafReaderContext, ValueFetcher valueFetcher, SourceProvider sourceProvider)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceReleasable
-
getBytesValues
Description copied from interface:LeafFieldData
Return a String representation of the values.- Specified by:
getBytesValues
in interfaceLeafFieldData
-