Package org.apache.drill.exec.store
Class AbstractRecordWriter
java.lang.Object
org.apache.drill.exec.store.AbstractRecordWriter
- All Implemented Interfaces:
RecordWriter
- Direct Known Subclasses:
GoogleSheetsBatchWriter
,JdbcRecordWriter
,JSONOutputRecordWriter
,KuduRecordWriter
,ParquetOutputRecordWriter
,SplunkBatchWriter
,StringOutputRecordWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkForNewPartition
(int index) Check if the writer should start a new partition, and if so, start a new partitiongetNewBigIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewBitConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDateConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDecimal18Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDecimal28DenseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDecimal28SparseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDecimal38DenseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDecimal38SparseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDecimal9Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewDictConverter
(int fieldId, String fieldName, FieldReader reader) getNewFloat4Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewFloat8Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewIntervalConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewIntervalDayConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewIntervalYearConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewMapConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableBigIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableBitConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableDateConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableDecimal18Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableDecimal28DenseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableDecimal28SparseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableDecimal38DenseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableDecimal38SparseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableDecimal9Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableFloat4Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableFloat8Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableIntervalConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableIntervalDayConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableIntervalYearConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableSmallIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableTimeConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableTimeStampConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableTinyIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableUInt1Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableUInt2Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableUInt4Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableUInt8Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableVar16CharConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableVarBinaryConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableVarCharConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewNullableVarDecimalConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedBigIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedBitConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDateConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDecimal18Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDecimal28DenseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDecimal28SparseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDecimal38DenseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDecimal38SparseConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDecimal9Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedDictConverter
(int fieldId, String fieldName, FieldReader reader) getNewRepeatedFloat4Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedFloat8Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedIntervalConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedIntervalDayConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedIntervalYearConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedListConverter
(int fieldId, String fieldName, FieldReader reader) getNewRepeatedMapConverter
(int fieldId, String fieldName, FieldReader reader) getNewRepeatedSmallIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedTimeConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedTimeStampConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedTinyIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedUInt1Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedUInt2Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedUInt4Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedUInt8Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedVar16CharConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedVarBinaryConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedVarCharConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewRepeatedVarDecimalConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewSmallIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewTimeConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewTimeStampConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewTinyIntConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewUInt1Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewUInt2Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewUInt4Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewUInt8Converter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewUnionConverter
(int fieldId, String fieldName, FieldReader reader) getNewVar16CharConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewVarBinaryConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewVarCharConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.getNewVarDecimalConverter
(int fieldId, String fieldName, FieldReader reader) Add the field value given invalueHolder
at the given column numberfieldId
.protected boolean
newPartition
(int index) void
Called after adding all the records to perform any post processing related tasksprotected void
setPartitionVector
(BitVector newPartitionVector) boolean
supportsField
(MaterializedField field) Checks whether this writer supports writing of the given field.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.store.RecordWriter
abort, cleanup, endRecord, init, startRecord, updateSchema
-
Constructor Details
-
AbstractRecordWriter
public AbstractRecordWriter()
-
-
Method Details
-
setPartitionVector
-
newPartition
protected boolean newPartition(int index) -
checkForNewPartition
public void checkForNewPartition(int index) Description copied from interface:RecordWriter
Check if the writer should start a new partition, and if so, start a new partition- Specified by:
checkForNewPartition
in interfaceRecordWriter
-
getNewMapConverter
public EventBasedRecordWriter.FieldConverter getNewMapConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewMapConverter
in interfaceRecordWriter
-
getNewUnionConverter
public EventBasedRecordWriter.FieldConverter getNewUnionConverter(int fieldId, String fieldName, FieldReader reader) - Specified by:
getNewUnionConverter
in interfaceRecordWriter
-
getNewRepeatedMapConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedMapConverter(int fieldId, String fieldName, FieldReader reader) - Specified by:
getNewRepeatedMapConverter
in interfaceRecordWriter
-
getNewRepeatedListConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedListConverter(int fieldId, String fieldName, FieldReader reader) - Specified by:
getNewRepeatedListConverter
in interfaceRecordWriter
-
getNewDictConverter
public EventBasedRecordWriter.FieldConverter getNewDictConverter(int fieldId, String fieldName, FieldReader reader) - Specified by:
getNewDictConverter
in interfaceRecordWriter
-
getNewRepeatedDictConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDictConverter(int fieldId, String fieldName, FieldReader reader) - Specified by:
getNewRepeatedDictConverter
in interfaceRecordWriter
-
getNewNullableTinyIntConverter
public EventBasedRecordWriter.FieldConverter getNewNullableTinyIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableTinyIntConverter
in interfaceRecordWriter
-
getNewTinyIntConverter
public EventBasedRecordWriter.FieldConverter getNewTinyIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewTinyIntConverter
in interfaceRecordWriter
-
getNewRepeatedTinyIntConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedTinyIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedTinyIntConverter
in interfaceRecordWriter
-
getNewNullableUInt1Converter
public EventBasedRecordWriter.FieldConverter getNewNullableUInt1Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableUInt1Converter
in interfaceRecordWriter
-
getNewUInt1Converter
public EventBasedRecordWriter.FieldConverter getNewUInt1Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewUInt1Converter
in interfaceRecordWriter
-
getNewRepeatedUInt1Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedUInt1Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedUInt1Converter
in interfaceRecordWriter
-
getNewNullableUInt2Converter
public EventBasedRecordWriter.FieldConverter getNewNullableUInt2Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableUInt2Converter
in interfaceRecordWriter
-
getNewUInt2Converter
public EventBasedRecordWriter.FieldConverter getNewUInt2Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewUInt2Converter
in interfaceRecordWriter
-
getNewRepeatedUInt2Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedUInt2Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedUInt2Converter
in interfaceRecordWriter
-
getNewNullableSmallIntConverter
public EventBasedRecordWriter.FieldConverter getNewNullableSmallIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableSmallIntConverter
in interfaceRecordWriter
-
getNewSmallIntConverter
public EventBasedRecordWriter.FieldConverter getNewSmallIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewSmallIntConverter
in interfaceRecordWriter
-
getNewRepeatedSmallIntConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedSmallIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedSmallIntConverter
in interfaceRecordWriter
-
getNewNullableIntConverter
public EventBasedRecordWriter.FieldConverter getNewNullableIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableIntConverter
in interfaceRecordWriter
-
getNewIntConverter
public EventBasedRecordWriter.FieldConverter getNewIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewIntConverter
in interfaceRecordWriter
-
getNewRepeatedIntConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedIntConverter
in interfaceRecordWriter
-
getNewNullableUInt4Converter
public EventBasedRecordWriter.FieldConverter getNewNullableUInt4Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableUInt4Converter
in interfaceRecordWriter
-
getNewUInt4Converter
public EventBasedRecordWriter.FieldConverter getNewUInt4Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewUInt4Converter
in interfaceRecordWriter
-
getNewRepeatedUInt4Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedUInt4Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedUInt4Converter
in interfaceRecordWriter
-
getNewNullableFloat4Converter
public EventBasedRecordWriter.FieldConverter getNewNullableFloat4Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableFloat4Converter
in interfaceRecordWriter
-
getNewFloat4Converter
public EventBasedRecordWriter.FieldConverter getNewFloat4Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewFloat4Converter
in interfaceRecordWriter
-
getNewRepeatedFloat4Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedFloat4Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedFloat4Converter
in interfaceRecordWriter
-
getNewNullableTimeConverter
public EventBasedRecordWriter.FieldConverter getNewNullableTimeConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableTimeConverter
in interfaceRecordWriter
-
getNewTimeConverter
public EventBasedRecordWriter.FieldConverter getNewTimeConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewTimeConverter
in interfaceRecordWriter
-
getNewRepeatedTimeConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedTimeConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedTimeConverter
in interfaceRecordWriter
-
getNewNullableIntervalYearConverter
public EventBasedRecordWriter.FieldConverter getNewNullableIntervalYearConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableIntervalYearConverter
in interfaceRecordWriter
-
getNewIntervalYearConverter
public EventBasedRecordWriter.FieldConverter getNewIntervalYearConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewIntervalYearConverter
in interfaceRecordWriter
-
getNewRepeatedIntervalYearConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedIntervalYearConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedIntervalYearConverter
in interfaceRecordWriter
-
getNewNullableDecimal9Converter
public EventBasedRecordWriter.FieldConverter getNewNullableDecimal9Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableDecimal9Converter
in interfaceRecordWriter
-
getNewDecimal9Converter
public EventBasedRecordWriter.FieldConverter getNewDecimal9Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewDecimal9Converter
in interfaceRecordWriter
-
getNewRepeatedDecimal9Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDecimal9Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedDecimal9Converter
in interfaceRecordWriter
-
getNewNullableBigIntConverter
public EventBasedRecordWriter.FieldConverter getNewNullableBigIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableBigIntConverter
in interfaceRecordWriter
-
getNewBigIntConverter
public EventBasedRecordWriter.FieldConverter getNewBigIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewBigIntConverter
in interfaceRecordWriter
-
getNewRepeatedBigIntConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedBigIntConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedBigIntConverter
in interfaceRecordWriter
-
getNewNullableUInt8Converter
public EventBasedRecordWriter.FieldConverter getNewNullableUInt8Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableUInt8Converter
in interfaceRecordWriter
-
getNewUInt8Converter
public EventBasedRecordWriter.FieldConverter getNewUInt8Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewUInt8Converter
in interfaceRecordWriter
-
getNewRepeatedUInt8Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedUInt8Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedUInt8Converter
in interfaceRecordWriter
-
getNewNullableFloat8Converter
public EventBasedRecordWriter.FieldConverter getNewNullableFloat8Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableFloat8Converter
in interfaceRecordWriter
-
getNewFloat8Converter
public EventBasedRecordWriter.FieldConverter getNewFloat8Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewFloat8Converter
in interfaceRecordWriter
-
getNewRepeatedFloat8Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedFloat8Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedFloat8Converter
in interfaceRecordWriter
-
getNewNullableDateConverter
public EventBasedRecordWriter.FieldConverter getNewNullableDateConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableDateConverter
in interfaceRecordWriter
-
getNewDateConverter
public EventBasedRecordWriter.FieldConverter getNewDateConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewDateConverter
in interfaceRecordWriter
-
getNewRepeatedDateConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDateConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedDateConverter
in interfaceRecordWriter
-
getNewNullableTimeStampConverter
public EventBasedRecordWriter.FieldConverter getNewNullableTimeStampConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableTimeStampConverter
in interfaceRecordWriter
-
getNewTimeStampConverter
public EventBasedRecordWriter.FieldConverter getNewTimeStampConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewTimeStampConverter
in interfaceRecordWriter
-
getNewRepeatedTimeStampConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedTimeStampConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedTimeStampConverter
in interfaceRecordWriter
-
getNewNullableDecimal18Converter
public EventBasedRecordWriter.FieldConverter getNewNullableDecimal18Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableDecimal18Converter
in interfaceRecordWriter
-
getNewDecimal18Converter
public EventBasedRecordWriter.FieldConverter getNewDecimal18Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewDecimal18Converter
in interfaceRecordWriter
-
getNewRepeatedDecimal18Converter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDecimal18Converter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedDecimal18Converter
in interfaceRecordWriter
-
getNewNullableIntervalDayConverter
public EventBasedRecordWriter.FieldConverter getNewNullableIntervalDayConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableIntervalDayConverter
in interfaceRecordWriter
-
getNewIntervalDayConverter
public EventBasedRecordWriter.FieldConverter getNewIntervalDayConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewIntervalDayConverter
in interfaceRecordWriter
-
getNewRepeatedIntervalDayConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedIntervalDayConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedIntervalDayConverter
in interfaceRecordWriter
-
getNewNullableIntervalConverter
public EventBasedRecordWriter.FieldConverter getNewNullableIntervalConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableIntervalConverter
in interfaceRecordWriter
-
getNewIntervalConverter
public EventBasedRecordWriter.FieldConverter getNewIntervalConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewIntervalConverter
in interfaceRecordWriter
-
getNewRepeatedIntervalConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedIntervalConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedIntervalConverter
in interfaceRecordWriter
-
getNewNullableDecimal28DenseConverter
public EventBasedRecordWriter.FieldConverter getNewNullableDecimal28DenseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableDecimal28DenseConverter
in interfaceRecordWriter
-
getNewDecimal28DenseConverter
public EventBasedRecordWriter.FieldConverter getNewDecimal28DenseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewDecimal28DenseConverter
in interfaceRecordWriter
-
getNewRepeatedDecimal28DenseConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDecimal28DenseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedDecimal28DenseConverter
in interfaceRecordWriter
-
getNewNullableDecimal38DenseConverter
public EventBasedRecordWriter.FieldConverter getNewNullableDecimal38DenseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableDecimal38DenseConverter
in interfaceRecordWriter
-
getNewDecimal38DenseConverter
public EventBasedRecordWriter.FieldConverter getNewDecimal38DenseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewDecimal38DenseConverter
in interfaceRecordWriter
-
getNewRepeatedDecimal38DenseConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDecimal38DenseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedDecimal38DenseConverter
in interfaceRecordWriter
-
getNewNullableDecimal38SparseConverter
public EventBasedRecordWriter.FieldConverter getNewNullableDecimal38SparseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableDecimal38SparseConverter
in interfaceRecordWriter
-
getNewDecimal38SparseConverter
public EventBasedRecordWriter.FieldConverter getNewDecimal38SparseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewDecimal38SparseConverter
in interfaceRecordWriter
-
getNewRepeatedDecimal38SparseConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDecimal38SparseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedDecimal38SparseConverter
in interfaceRecordWriter
-
getNewNullableDecimal28SparseConverter
public EventBasedRecordWriter.FieldConverter getNewNullableDecimal28SparseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableDecimal28SparseConverter
in interfaceRecordWriter
-
getNewDecimal28SparseConverter
public EventBasedRecordWriter.FieldConverter getNewDecimal28SparseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewDecimal28SparseConverter
in interfaceRecordWriter
-
getNewRepeatedDecimal28SparseConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedDecimal28SparseConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedDecimal28SparseConverter
in interfaceRecordWriter
-
getNewNullableVarBinaryConverter
public EventBasedRecordWriter.FieldConverter getNewNullableVarBinaryConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableVarBinaryConverter
in interfaceRecordWriter
-
getNewVarBinaryConverter
public EventBasedRecordWriter.FieldConverter getNewVarBinaryConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewVarBinaryConverter
in interfaceRecordWriter
-
getNewRepeatedVarBinaryConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedVarBinaryConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedVarBinaryConverter
in interfaceRecordWriter
-
getNewNullableVarCharConverter
public EventBasedRecordWriter.FieldConverter getNewNullableVarCharConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableVarCharConverter
in interfaceRecordWriter
-
getNewVarCharConverter
public EventBasedRecordWriter.FieldConverter getNewVarCharConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewVarCharConverter
in interfaceRecordWriter
-
getNewRepeatedVarCharConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedVarCharConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedVarCharConverter
in interfaceRecordWriter
-
getNewNullableVar16CharConverter
public EventBasedRecordWriter.FieldConverter getNewNullableVar16CharConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableVar16CharConverter
in interfaceRecordWriter
-
getNewVar16CharConverter
public EventBasedRecordWriter.FieldConverter getNewVar16CharConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewVar16CharConverter
in interfaceRecordWriter
-
getNewRepeatedVar16CharConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedVar16CharConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedVar16CharConverter
in interfaceRecordWriter
-
getNewNullableVarDecimalConverter
public EventBasedRecordWriter.FieldConverter getNewNullableVarDecimalConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableVarDecimalConverter
in interfaceRecordWriter
-
getNewVarDecimalConverter
public EventBasedRecordWriter.FieldConverter getNewVarDecimalConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewVarDecimalConverter
in interfaceRecordWriter
-
getNewRepeatedVarDecimalConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedVarDecimalConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedVarDecimalConverter
in interfaceRecordWriter
-
getNewNullableBitConverter
public EventBasedRecordWriter.FieldConverter getNewNullableBitConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewNullableBitConverter
in interfaceRecordWriter
-
getNewBitConverter
public EventBasedRecordWriter.FieldConverter getNewBitConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewBitConverter
in interfaceRecordWriter
-
getNewRepeatedBitConverter
public EventBasedRecordWriter.FieldConverter getNewRepeatedBitConverter(int fieldId, String fieldName, FieldReader reader) Description copied from interface:RecordWriter
Add the field value given invalueHolder
at the given column numberfieldId
.- Specified by:
getNewRepeatedBitConverter
in interfaceRecordWriter
-
postProcessing
Description copied from interface:RecordWriter
Called after adding all the records to perform any post processing related tasks- Specified by:
postProcessing
in interfaceRecordWriter
- Throws:
IOException
-
supportsField
Description copied from interface:RecordWriter
Checks whether this writer supports writing of the given field.- Specified by:
supportsField
in interfaceRecordWriter
-