public final class SasFileParser extends Object
SasFileReaderImpl which is a wrapper for SasFileParser. Despite this, SasFileParser
is publicly available, it can be instanced via SasFileParser.Builder and used directly.
Public access to the SasFileParser class was added in scope of this issue:| Modifier and Type | Class and Description |
|---|---|
static class |
SasFileParser.Builder
SasFileParser builder class made using builder pattern.
|
| Modifier and Type | Method and Description |
|---|---|
SasFileProperties |
getSasFileProperties()
The function to get sasFileParser.
|
Object[] |
readNext()
The function to read and process all columns of next row from current sas7bdat file.
|
Object[] |
readNext(List<String> columnNames)
The function to read and process specified columns of next row from current sas7bdat file.
|
public Object[] readNext() throws IOException
IOException - if reading from the sasFileStream stream is impossible.public Object[] readNext(List<String> columnNames) throws IOException
columnNames - list of column names which should be processed, if null then all columns are processed.IOException - if reading from the sasFileStream stream is impossible.public SasFileProperties getSasFileProperties()
SasFileProperties class that stores file metadata.Copyright © 2021. All rights reserved.