T - Type of the object to emit@Beta public interface Emitter<T>
| Modifier and Type | Method and Description |
|---|---|
void |
emit(T value)
Emit an object.
|
void |
emitError(InvalidEntry<T> invalidEntry)
Emit an Error object.
|
void emit(T value)
value - the object to emitvoid emitError(InvalidEntry<T> invalidEntry)
invalidEntry - InvalidEntry<T> representing the error.Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.