public abstract class Parser extends Iced
Modifier and Type | Field and Description |
---|---|
protected Key<Job> |
_jobKey |
boolean[] |
_keepColumns |
protected ParseSetup |
_setup |
protected byte |
CHAR_DECIMAL_SEP |
protected byte |
CHAR_SEPARATOR |
protected static byte |
COND_QUOTE |
protected static byte |
COND_QUOTED_NUMBER_END |
protected static byte |
COND_QUOTED_TOKEN |
protected static byte |
EOL |
protected static byte |
EXPECT_COND_LF |
protected static byte |
HASHTAG |
protected static long |
LARGEST_DIGIT_NUMBER |
protected static byte |
NUMBER |
protected static byte |
NUMBER_END |
protected static byte |
NUMBER_EXP |
protected static byte |
NUMBER_EXP_START |
protected static byte |
NUMBER_FRACTION |
protected static byte |
NUMBER_SKIP |
protected static byte |
NUMBER_SKIP_NO_DOT |
protected static byte |
POSSIBLE_CURRENCY |
protected static byte |
POSSIBLE_EMPTY_LINE |
protected static byte |
POSSIBLE_ESCAPED_QUOTE |
protected static byte |
SEPARATOR_OR_EOL |
protected static byte |
SKIP_LINE |
protected static byte |
STRING |
protected static byte |
STRING_END |
protected static byte |
TOKEN |
protected static byte |
WHITESPACE_BEFORE_TOKEN |
Modifier | Constructor and Description |
---|---|
protected |
Parser(ParseSetup setup,
Key<Job> jobKey) |
Modifier and Type | Method and Description |
---|---|
protected int |
fileHasHeader(byte[] bits,
ParseSetup ps) |
protected static boolean |
isEOL(byte c) |
protected abstract ParseWriter |
parseChunk(int cidx,
ParseReader din,
ParseWriter dout) |
protected StreamParseWriter |
sequentialParse(Vec vec,
StreamParseWriter dout) |
protected ParseWriter |
streamParse(java.io.InputStream is,
StreamParseWriter dout) |
protected ParseWriter |
streamParseZip(java.io.InputStream is,
StreamParseWriter dout,
java.io.InputStream bvs) |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
protected static final byte SKIP_LINE
protected static final byte EXPECT_COND_LF
protected static final byte EOL
protected static final byte TOKEN
protected static final byte COND_QUOTED_TOKEN
protected static final byte NUMBER
protected static final byte NUMBER_SKIP
protected static final byte NUMBER_SKIP_NO_DOT
protected static final byte NUMBER_FRACTION
protected static final byte NUMBER_EXP
protected static final byte NUMBER_EXP_START
protected static final byte NUMBER_END
protected static final byte STRING
protected static final byte COND_QUOTE
protected static final byte SEPARATOR_OR_EOL
protected static final byte WHITESPACE_BEFORE_TOKEN
protected static final byte STRING_END
protected static final byte COND_QUOTED_NUMBER_END
protected static final byte POSSIBLE_EMPTY_LINE
protected static final byte POSSIBLE_CURRENCY
protected static final byte HASHTAG
protected static final byte POSSIBLE_ESCAPED_QUOTE
protected final byte CHAR_DECIMAL_SEP
protected final byte CHAR_SEPARATOR
protected static final long LARGEST_DIGIT_NUMBER
public boolean[] _keepColumns
protected final ParseSetup _setup
protected Parser(ParseSetup setup, Key<Job> jobKey)
protected static boolean isEOL(byte c)
protected int fileHasHeader(byte[] bits, ParseSetup ps)
protected abstract ParseWriter parseChunk(int cidx, ParseReader din, ParseWriter dout)
protected StreamParseWriter sequentialParse(Vec vec, StreamParseWriter dout)
protected ParseWriter streamParse(java.io.InputStream is, StreamParseWriter dout) throws java.io.IOException
java.io.IOException
protected ParseWriter streamParseZip(java.io.InputStream is, StreamParseWriter dout, java.io.InputStream bvs) throws java.io.IOException
java.io.IOException