public class CompliantTextBatchReader extends Object implements ManagedReader<ColumnsSchemaNegotiator>
Constructor and Description |
---|
CompliantTextBatchReader(TextParsingSettings settings,
int maxRecords) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleanup state once we are finished processing all the records.
|
boolean |
next()
Generates the next record batch
|
boolean |
open(ColumnsSchemaNegotiator schemaNegotiator)
Performs the initial setup required for the record reader.
|
public CompliantTextBatchReader(TextParsingSettings settings, int maxRecords)
public boolean open(ColumnsSchemaNegotiator schemaNegotiator)
open
in interface ManagedReader<ColumnsSchemaNegotiator>
schemaNegotiator
- Used to create the schema in the output record batchpublic boolean next()
next
in interface ManagedReader<ColumnsSchemaNegotiator>
public void close()
close
in interface ManagedReader<ColumnsSchemaNegotiator>
Copyright © 1970 The Apache Software Foundation. All rights reserved.