Class GoogleSheetsBatchInsertWriter
java.lang.Object
org.apache.drill.exec.store.AbstractRecordWriter
org.apache.drill.exec.store.googlesheets.GoogleSheetsBatchWriter
org.apache.drill.exec.store.googlesheets.GoogleSheetsBatchInsertWriter
- All Implemented Interfaces:
RecordWriter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.store.googlesheets.GoogleSheetsBatchWriter
GoogleSheetsBatchWriter.BigIntGSConverter, GoogleSheetsBatchWriter.BitGSConverter, GoogleSheetsBatchWriter.DateGSConverter, GoogleSheetsBatchWriter.Float4GSConverter, GoogleSheetsBatchWriter.Float8GSConverter, GoogleSheetsBatchWriter.IntGSConverter, GoogleSheetsBatchWriter.NullableBigIntGSConverter, GoogleSheetsBatchWriter.NullableBitGSConverter, GoogleSheetsBatchWriter.NullableDateGSConverter, GoogleSheetsBatchWriter.NullableFloat4GSConverter, GoogleSheetsBatchWriter.NullableFloat8GSConverter, GoogleSheetsBatchWriter.NullableIntGSConverter, GoogleSheetsBatchWriter.NullableSmallIntGSConverter, GoogleSheetsBatchWriter.NullableTimeGSConverter, GoogleSheetsBatchWriter.NullableTimeStampGSConverter, GoogleSheetsBatchWriter.NullableTinyIntGSConverter, GoogleSheetsBatchWriter.NullableVarCharGSConverter, GoogleSheetsBatchWriter.NullableVardecimalGSConverter, GoogleSheetsBatchWriter.SmallIntGSConverter, GoogleSheetsBatchWriter.TimeGSConverter, GoogleSheetsBatchWriter.TimeStampGSConverter, GoogleSheetsBatchWriter.TinyIntGSConverter, GoogleSheetsBatchWriter.VarCharGSConverter, GoogleSheetsBatchWriter.VardecimalGSConverter
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.googlesheets.GoogleSheetsBatchWriter
service, sheetName, spreadsheetID, tabName, values
-
Constructor Summary
ConstructorDescriptionGoogleSheetsBatchInsertWriter
(OperatorContext context, String name, GoogleSheetsWriter config) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
void
updateSchema
(VectorAccessible batch) Update the schema in RecordWriter.Methods inherited from class org.apache.drill.exec.store.googlesheets.GoogleSheetsBatchWriter
abort, endRecord, getNewBigIntConverter, getNewBitConverter, getNewDateConverter, getNewFloat4Converter, getNewFloat8Converter, getNewIntConverter, getNewNullableBigIntConverter, getNewNullableBitConverter, getNewNullableDateConverter, getNewNullableFloat4Converter, getNewNullableFloat8Converter, getNewNullableIntConverter, getNewNullableSmallIntConverter, getNewNullableTimeConverter, getNewNullableTimeStampConverter, getNewNullableTinyIntConverter, getNewNullableVarCharConverter, getNewNullableVarDecimalConverter, getNewSmallIntConverter, getNewTimeConverter, getNewTimeStampConverter, getNewTinyIntConverter, getNewVarCharConverter, getNewVarDecimalConverter, init, startRecord
Methods inherited from class org.apache.drill.exec.store.AbstractRecordWriter
checkForNewPartition, getNewDecimal18Converter, getNewDecimal28DenseConverter, getNewDecimal28SparseConverter, getNewDecimal38DenseConverter, getNewDecimal38SparseConverter, getNewDecimal9Converter, getNewDictConverter, getNewIntervalConverter, getNewIntervalDayConverter, getNewIntervalYearConverter, getNewMapConverter, getNewNullableDecimal18Converter, getNewNullableDecimal28DenseConverter, getNewNullableDecimal28SparseConverter, getNewNullableDecimal38DenseConverter, getNewNullableDecimal38SparseConverter, getNewNullableDecimal9Converter, getNewNullableIntervalConverter, getNewNullableIntervalDayConverter, getNewNullableIntervalYearConverter, getNewNullableUInt1Converter, getNewNullableUInt2Converter, getNewNullableUInt4Converter, getNewNullableUInt8Converter, getNewNullableVar16CharConverter, getNewNullableVarBinaryConverter, getNewRepeatedBigIntConverter, getNewRepeatedBitConverter, getNewRepeatedDateConverter, getNewRepeatedDecimal18Converter, getNewRepeatedDecimal28DenseConverter, getNewRepeatedDecimal28SparseConverter, getNewRepeatedDecimal38DenseConverter, getNewRepeatedDecimal38SparseConverter, getNewRepeatedDecimal9Converter, getNewRepeatedDictConverter, getNewRepeatedFloat4Converter, getNewRepeatedFloat8Converter, getNewRepeatedIntConverter, getNewRepeatedIntervalConverter, getNewRepeatedIntervalDayConverter, getNewRepeatedIntervalYearConverter, getNewRepeatedListConverter, getNewRepeatedMapConverter, getNewRepeatedSmallIntConverter, getNewRepeatedTimeConverter, getNewRepeatedTimeStampConverter, getNewRepeatedTinyIntConverter, getNewRepeatedUInt1Converter, getNewRepeatedUInt2Converter, getNewRepeatedUInt4Converter, getNewRepeatedUInt8Converter, getNewRepeatedVar16CharConverter, getNewRepeatedVarBinaryConverter, getNewRepeatedVarCharConverter, getNewRepeatedVarDecimalConverter, getNewUInt1Converter, getNewUInt2Converter, getNewUInt4Converter, getNewUInt8Converter, getNewUnionConverter, getNewVar16CharConverter, getNewVarBinaryConverter, newPartition, postProcessing, setPartitionVector, supportsField
-
Constructor Details
-
GoogleSheetsBatchInsertWriter
public GoogleSheetsBatchInsertWriter(OperatorContext context, String name, GoogleSheetsWriter config)
-
-
Method Details
-
updateSchema
Description copied from interface:RecordWriter
Update the schema in RecordWriter. Called at least once before starting writing the records.- Specified by:
updateSchema
in interfaceRecordWriter
- Overrides:
updateSchema
in classGoogleSheetsBatchWriter
-
cleanup
public void cleanup()- Specified by:
cleanup
in interfaceRecordWriter
- Overrides:
cleanup
in classGoogleSheetsBatchWriter
-