Interface CompositeSyntheticFieldLoader.Layer

All Superinterfaces:
SourceLoader.SyntheticFieldLoader
All Known Subinterfaces:
CompositeSyntheticFieldLoader.DocValuesLayer
All Known Implementing Classes:
CompositeSyntheticFieldLoader.MalformedValuesLayer, CompositeSyntheticFieldLoader.StoredFieldLayer, SortedSetDocValuesSyntheticFieldLoaderLayer
Enclosing class:
CompositeSyntheticFieldLoader

public static interface CompositeSyntheticFieldLoader.Layer extends SourceLoader.SyntheticFieldLoader
Represents one layer of loading synthetic source values for a field as a part of CompositeSyntheticFieldLoader.
Note that the contract of SourceLoader.SyntheticFieldLoader.write(XContentBuilder) is slightly different here since it only needs to write field values without encompassing object or array.
  • Method Details

    • valueCount

      long valueCount()
      Number of values that this loader will write for a given document.
      Returns: