public abstract class CustomParser extends Iced
Modifier and Type | Class and Description |
---|---|
protected static class |
CustomParser.CustomInspectDataOut |
static interface |
CustomParser.DataIn |
static interface |
CustomParser.DataOut |
static class |
CustomParser.ParserSetup |
static class |
CustomParser.ParserType |
static class |
CustomParser.PSetupGuess |
static class |
CustomParser.StreamData |
static interface |
CustomParser.StreamDataOut |
Modifier and Type | Field and Description |
---|---|
CustomParser.ParserSetup |
_setup |
static byte |
CHAR_COMMA |
static byte |
CHAR_CR |
static byte |
CHAR_DOUBLE_QUOTE |
static byte |
CHAR_FF |
static byte |
CHAR_LF |
static byte |
CHAR_NULL |
static byte |
CHAR_SINGLE_QUOTE |
static byte |
CHAR_SPACE |
static byte |
CHAR_TAB |
static byte |
CHAR_VT |
static int |
MAX_PREVIEW_COLS |
static int |
MAX_PREVIEW_LINES |
Constructor and Description |
---|
CustomParser(CustomParser.ParserSetup setup) |
Modifier and Type | Method and Description |
---|---|
abstract CustomParser |
clone() |
java.lang.String[] |
headers() |
boolean |
isCompatible(CustomParser p) |
protected static boolean |
isEOL(byte c) |
protected static boolean |
isWhitespace(byte c) |
CustomParser.DataOut |
parallelParse(int cidx,
CustomParser.DataIn din,
CustomParser.DataOut dout) |
boolean |
parallelParseSupported() |
CustomParser.DataOut |
streamParse(java.io.InputStream is,
CustomParser.DataOut dout) |
CustomParser.DataOut |
streamParse(java.io.InputStream is,
CustomParser.StreamDataOut dout,
ParseDataset2.ParseProgressMonitor pmon) |
frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public static final byte CHAR_TAB
public static final byte CHAR_LF
public static final byte CHAR_SPACE
public static final byte CHAR_CR
public static final byte CHAR_VT
public static final byte CHAR_FF
public static final byte CHAR_DOUBLE_QUOTE
public static final byte CHAR_SINGLE_QUOTE
public static final byte CHAR_NULL
public static final byte CHAR_COMMA
public static final int MAX_PREVIEW_COLS
public static final int MAX_PREVIEW_LINES
public final CustomParser.ParserSetup _setup
public CustomParser(CustomParser.ParserSetup setup)
public boolean isCompatible(CustomParser p)
public CustomParser.DataOut parallelParse(int cidx, CustomParser.DataIn din, CustomParser.DataOut dout)
public boolean parallelParseSupported()
public CustomParser.DataOut streamParse(java.io.InputStream is, CustomParser.DataOut dout) throws java.lang.Exception
java.lang.Exception
public CustomParser.DataOut streamParse(java.io.InputStream is, CustomParser.StreamDataOut dout, ParseDataset2.ParseProgressMonitor pmon) throws java.io.IOException
java.io.IOException
protected static final boolean isWhitespace(byte c)
protected static final boolean isEOL(byte c)
public abstract CustomParser clone()
public java.lang.String[] headers()