public class OrcParserProvider
extends water.parser.ParserProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
OrcParserProvider.OrcParserInfo |
| Modifier and Type | Field and Description |
|---|---|
static byte[][] |
supported_type_conversions |
| Constructor and Description |
|---|
OrcParserProvider() |
| Modifier and Type | Method and Description |
|---|---|
water.parser.Parser |
createParser(water.parser.ParseSetup setup,
water.Key<water.Job> jobKey) |
water.parser.ParseSetup |
createParserSetup(water.Key[] inputs,
water.parser.ParseSetup requiredSetup)
Use only the first file to setup everything.
|
water.parser.ParseSetup |
guessSetup(water.fvec.ByteVec bv,
byte[] bits,
byte sep,
int ncols,
boolean singleQuotes,
int checkHeader,
java.lang.String[] columnNames,
byte[] columnTypes,
java.lang.String[][] domains,
java.lang.String[][] naStrings) |
water.parser.ParserInfo |
info() |
water.parser.ParseSetup |
readSetup(water.fvec.FileVec f,
java.lang.String[] columnNames,
byte[] columnTypes)
This method will create the readers and others info needed to parse an orc file.
|
water.parser.ParseSetup |
setupLocal(water.fvec.Vec v,
water.parser.ParseSetup setup) |
public water.parser.ParserInfo info()
info in class water.parser.ParserProviderpublic water.parser.Parser createParser(water.parser.ParseSetup setup,
water.Key<water.Job> jobKey)
createParser in class water.parser.ParserProviderpublic water.parser.ParseSetup guessSetup(water.fvec.ByteVec bv,
byte[] bits,
byte sep,
int ncols,
boolean singleQuotes,
int checkHeader,
java.lang.String[] columnNames,
byte[] columnTypes,
java.lang.String[][] domains,
java.lang.String[][] naStrings)
guessSetup in class water.parser.ParserProviderpublic water.parser.ParseSetup createParserSetup(water.Key[] inputs,
water.parser.ParseSetup requiredSetup)
createParserSetup in class water.parser.ParserProviderinputs - input keysrequiredSetup - user given parser setuppublic water.parser.ParseSetup readSetup(water.fvec.FileVec f,
java.lang.String[] columnNames,
byte[] columnTypes)
f - columnNames - columnTypes - public water.parser.ParseSetup setupLocal(water.fvec.Vec v,
water.parser.ParseSetup setup)
setupLocal in class water.parser.ParserProvider