@Override public boolean nextKeyValue() throws IOException, InterruptedException { return delegate.nextKeyValue(); }
@Override public boolean nextKeyValue() throws IOException, InterruptedException { return innerReader.nextKeyValue(); }
/** {@inheritDoc} */ @Override public boolean nextKeyValue() throws IOException, InterruptedException { boolean hasNext = false; try { hasNext = super.nextKeyValue(); } catch (AvroRuntimeException are) { // Survive an "Invalid sync!" exception logger().error("Trapping " + are.getMessage()); } return hasNext; }