Class IndexSource

java.lang.Object
org.elasticsearch.action.index.IndexSource
All Implemented Interfaces:
Closeable, AutoCloseable, Writeable, Releasable

public class IndexSource extends Object implements Writeable, Releasable
The IndexSource is a class which holds the source for an IndexRequest. This class is designed to encapsulate the source lifecycle and allow the bytes to be accessed and released when reserialized.