| Package | Description |
|---|---|
| org.apache.nifi.processors.hive | |
| org.apache.nifi.util.hive |
| Modifier and Type | Method and Description |
|---|---|
private void |
PutHiveStreaming.abortAllWriters(Map<org.apache.hive.hcatalog.streaming.HiveEndPoint,HiveWriter> writers)
Abort current Txn on all writers
|
private void |
PutHiveStreaming.flushAllWriters(Map<org.apache.hive.hcatalog.streaming.HiveEndPoint,HiveWriter> writers,
boolean rollToNext) |
| Modifier and Type | Method and Description |
|---|---|
void |
HiveWriter.abort()
Aborts the current Txn and switches to next Txn.
|
void |
HiveWriter.flush(boolean rollToNext)
Commits the current Txn if totalRecordsPerTransaction > 0 .
|
void |
HiveWriter.flushAndClose()
Flush and Close current transactionBatch.
|
protected void |
HiveWriter.nextTxn(boolean rollToNext)
if there are remainingTransactions in current txnBatch, begins nextTransactions
otherwise creates new txnBatch.
|
protected org.apache.hive.hcatalog.streaming.TransactionBatch |
HiveWriter.nextTxnBatch(org.apache.hive.hcatalog.streaming.RecordWriter recordWriter) |
Copyright © 2023 Apache NiFi Project. All rights reserved.