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.LeafReaderContextprotected final SourceProviderprotected final ToScriptFieldFactory<T> protected final ValueFetcherFields 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 TypeMethodDescriptionReturn a String representation of the values.longMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResourcesMethods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData
close, 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:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
getBytesValues
Description copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceLeafFieldData
-