public abstract class HoodieBootstrapRecordIterator<T> extends Object implements ClosableIterator<HoodieRecord<T>>
| Modifier and Type | Field and Description |
|---|---|
protected ClosableIterator<HoodieRecord<T>> |
dataFileIterator |
protected org.apache.avro.Schema |
schema |
protected ClosableIterator<HoodieRecord<T>> |
skeletonIterator |
| Constructor and Description |
|---|
HoodieBootstrapRecordIterator(ClosableIterator<HoodieRecord<T>> skeletonIterator,
ClosableIterator<HoodieRecord<T>> dataFileIterator,
org.apache.avro.Schema schema,
Option<String[]> partitionFields,
Object[] partitionValues) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
HoodieRecord<T> |
next() |
protected abstract void |
setPartitionPathField(int position,
Object fieldValue,
T row) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrapforEachRemaining, removeprotected ClosableIterator<HoodieRecord<T>> skeletonIterator
protected ClosableIterator<HoodieRecord<T>> dataFileIterator
protected org.apache.avro.Schema schema
public HoodieBootstrapRecordIterator(ClosableIterator<HoodieRecord<T>> skeletonIterator, ClosableIterator<HoodieRecord<T>> dataFileIterator, org.apache.avro.Schema schema, Option<String[]> partitionFields, Object[] partitionValues)
public void close()
close in interface AutoCloseableclose in interface ClosableIterator<HoodieRecord<T>>public boolean hasNext()
hasNext in interface Iterator<HoodieRecord<T>>public HoodieRecord<T> next()
next in interface Iterator<HoodieRecord<T>>Copyright © 2024 The Apache Software Foundation. All rights reserved.