@InterfaceAudience.Public @InterfaceStability.Evolving public abstract static class Parser.Node extends Object implements ComposableInputFormat
Modifier and Type | Field and Description |
---|---|
protected Class<? extends WritableComparator> |
cmpcl |
protected int |
id |
protected String |
ident |
protected static Map<String,Constructor<? extends ComposableRecordReader>> |
rrCstrMap |
Modifier | Constructor and Description |
---|---|
protected |
Parser.Node(String ident) |
Modifier and Type | Method and Description |
---|---|
protected static void |
addIdentifier(String ident,
Class<?>[] mcstrSig,
Class<? extends Parser.Node> nodetype,
Class<? extends ComposableRecordReader> cl)
For a given identifier, add a mapping to the nodetype for the parse
tree and to the ComposableRecordReader to be created, including the
formals required to invoke the constructor.
|
protected void |
setID(int id) |
protected void |
setKeyComparator(Class<? extends WritableComparator> cmpcl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRecordReader
getSplits
protected static final Map<String,Constructor<? extends ComposableRecordReader>> rrCstrMap
protected int id
protected Class<? extends WritableComparator> cmpcl
protected Parser.Node(String ident)
protected static void addIdentifier(String ident, Class<?>[] mcstrSig, Class<? extends Parser.Node> nodetype, Class<? extends ComposableRecordReader> cl) throws NoSuchMethodException
NoSuchMethodException
protected void setID(int id)
protected void setKeyComparator(Class<? extends WritableComparator> cmpcl)
Copyright © 2018 Apache Software Foundation. All rights reserved.