public SimulateProcessorResult(String processorTag, IngestDocument ingestDocument, Exception failure) { this.processorTag = processorTag; this.ingestDocument = (ingestDocument == null) ? null : new WriteableIngestDocument(ingestDocument); this.failure = failure; }
public SimulateDocumentBaseResult(IngestDocument ingestDocument) { this.ingestDocument = new WriteableIngestDocument(ingestDocument); failure = null; }
/** * Read from a stream. */ public SimulateDocumentBaseResult(StreamInput in) throws IOException { if (in.readBoolean()) { ingestDocument = null; failure = in.readException(); } else { ingestDocument = new WriteableIngestDocument(in); failure = null; } }
/** * Read from a stream. */ SimulateProcessorResult(StreamInput in) throws IOException { this.processorTag = in.readString(); if (in.readBoolean()) { this.ingestDocument = new WriteableIngestDocument(in); } else { this.ingestDocument = null; } this.failure = in.readException(); }
SimulateProcessorResult(String processorTag, IngestDocument ingestDocument, Exception failure) { this.processorTag = processorTag; this.ingestDocument = (ingestDocument == null) ? null : new WriteableIngestDocument(ingestDocument); this.failure = failure; }
public SimulateProcessorResult(String processorTag, IngestDocument ingestDocument, Exception failure) { this.processorTag = processorTag; this.ingestDocument = (ingestDocument == null) ? null : new WriteableIngestDocument(ingestDocument); this.failure = failure; }
public SimulateDocumentBaseResult(IngestDocument ingestDocument) { this.ingestDocument = new WriteableIngestDocument(ingestDocument); failure = null; }
public SimulateDocumentBaseResult(IngestDocument ingestDocument) { this.ingestDocument = new WriteableIngestDocument(ingestDocument); failure = null; }
public SimulateProcessorResult(String processorTag, IngestDocument ingestDocument, Exception failure) { this.processorTag = processorTag; this.ingestDocument = (ingestDocument == null) ? null : new WriteableIngestDocument(ingestDocument); this.failure = failure; }
public SimulateDocumentBaseResult(IngestDocument ingestDocument) { this.ingestDocument = new WriteableIngestDocument(ingestDocument); failure = null; }
/** * Read from a stream. */ public SimulateDocumentBaseResult(StreamInput in) throws IOException { if (in.readBoolean()) { ingestDocument = null; failure = in.readException(); } else { ingestDocument = new WriteableIngestDocument(in); failure = null; } }
/** * Read from a stream. */ public SimulateDocumentBaseResult(StreamInput in) throws IOException { if (in.readBoolean()) { ingestDocument = null; failure = in.readException(); } else { ingestDocument = new WriteableIngestDocument(in); failure = null; } }
/** * Read from a stream. */ public SimulateDocumentBaseResult(StreamInput in) throws IOException { if (in.readBoolean()) { ingestDocument = null; failure = in.readException(); } else { ingestDocument = new WriteableIngestDocument(in); failure = null; } }
/** * Read from a stream. */ SimulateProcessorResult(StreamInput in) throws IOException { this.processorTag = in.readString(); if (in.readBoolean()) { this.ingestDocument = new WriteableIngestDocument(in); } else { this.ingestDocument = null; } this.failure = in.readException(); }
/** * Read from a stream. */ SimulateProcessorResult(StreamInput in) throws IOException { this.processorTag = in.readString(); if (in.readBoolean()) { this.ingestDocument = new WriteableIngestDocument(in); } else { this.ingestDocument = null; } this.failure = in.readException(); }
/** * Read from a stream. */ SimulateProcessorResult(StreamInput in) throws IOException { this.processorTag = in.readString(); if (in.readBoolean()) { this.ingestDocument = new WriteableIngestDocument(in); } else { this.ingestDocument = null; } this.failure = in.readException(); }