final protected void addPrimitiveBINARY(String field, int index, Binary value) { startField(field, index); if (DEBUG) LOG.debug("addBinary("+value+")"); recordConsumer.addBinary(value); endField(field, index); }
@Override public T read() { readOneRecord(); return recordMaterializer.getCurrentRecord(); }
final protected void startGroup(String field, int index) { startField(field, index); if (DEBUG) LOG.debug("startGroup()"); recordConsumer.startGroup(); }
final protected void endGroup(String field, int index) { if (endField != null) { // close the previous field recordConsumer.endField(endField, endIndex); endField = null; } if (DEBUG) LOG.debug("endGroup()"); recordConsumer.endGroup(); endField(field, index); }
final protected void startGroup(String field, int index) { startField(field, index); if (DEBUG) LOG.debug("startGroup()"); recordConsumer.startGroup(); }
final protected void endGroup(String field, int index) { if (endField != null) { // close the previous field recordConsumer.endField(endField, endIndex); endField = null; } if (DEBUG) LOG.debug("endGroup()"); recordConsumer.endGroup(); endField(field, index); }
final protected void addPrimitiveINT64(String field, int index, long value) { startField(field, index); if (DEBUG) LOG.debug("addLong("+value+")"); recordConsumer.addLong(value); endField(field, index); }
@Override public T read() { readOneRecord(); return recordMaterializer.getCurrentRecord(); }
final protected void addPrimitiveINT64(String field, int index, long value) { startField(field, index); if (DEBUG) LOG.debug("addLong("+value+")"); recordConsumer.addLong(value); endField(field, index); }
final protected void addPrimitiveINT32(String field, int index, int value) { startField(field, index); if (DEBUG) LOG.debug("addInteger("+value+")"); recordConsumer.addInteger(value); endField(field, index); }
final protected void addPrimitiveBINARY(String field, int index, Binary value) { startField(field, index); if (DEBUG) LOG.debug("addBinary("+value+")"); recordConsumer.addBinary(value); endField(field, index); }
final protected void addPrimitiveINT32(String field, int index, int value) { startField(field, index); if (DEBUG) LOG.debug("addInteger("+value+")"); recordConsumer.addInteger(value); endField(field, index); }