public class PcapngBatchReader extends Object implements ManagedReader<FileScanFramework.FileSchemaNegotiator>
Constructor and Description |
---|
PcapngBatchReader(PcapFormatConfig config,
EasySubScan scan) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Release resources.
|
boolean |
next()
The default of the `stat` parameter is false,
which means that the packet data is parsed and returned,
but if true, will return the statistics data about the each pcapng file only
(consist of the information about collect devices and the summary of the packet data above).
|
boolean |
open(FileScanFramework.FileSchemaNegotiator negotiator)
Setup the record reader.
|
public PcapngBatchReader(PcapFormatConfig config, EasySubScan scan)
public boolean open(FileScanFramework.FileSchemaNegotiator negotiator)
ManagedReader
open
in interface ManagedReader<FileScanFramework.FileSchemaNegotiator>
negotiator
- mechanism to negotiate select and table
schemas, then create the row set reader used to load data into
value vectorspublic boolean next()
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SHB | IDB | EPB | EPB | ... | EPB | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+https://pcapng.github.io/pcapng/draft-tuexen-opsawg-pcapng.html#name-physical-file-layout
next
in interface ManagedReader<FileScanFramework.FileSchemaNegotiator>
public void close()
ManagedReader
close
in interface ManagedReader<FileScanFramework.FileSchemaNegotiator>
Copyright © 1970 The Apache Software Foundation. All rights reserved.