org.apache.hadoop.mapred.join
Class Parser.Node
java.lang.Object
org.apache.hadoop.mapred.join.Parser.Node
- All Implemented Interfaces:
- InputFormat, ComposableInputFormat
- Enclosing class:
- Parser
public abstract static class Parser.Node
- extends java.lang.Object
- implements ComposableInputFormat
Constructor Summary |
protected |
Parser.Node(java.lang.String ident)
|
Method Summary |
protected static void |
addIdentifier(java.lang.String ident,
java.lang.Class<?>[] mcstrSig,
java.lang.Class<? extends Parser.Node> nodetype,
java.lang.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(java.lang.Class<? extends WritableComparator> cmpcl)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rrCstrMap
protected static final java.util.Map<java.lang.String,java.lang.reflect.Constructor<? extends ComposableRecordReader>> rrCstrMap
id
protected int id
ident
protected java.lang.String ident
cmpcl
protected java.lang.Class<? extends WritableComparator> cmpcl
Parser.Node
protected Parser.Node(java.lang.String ident)
addIdentifier
protected static void addIdentifier(java.lang.String ident,
java.lang.Class<?>[] mcstrSig,
java.lang.Class<? extends Parser.Node> nodetype,
java.lang.Class<? extends ComposableRecordReader> cl)
throws java.lang.NoSuchMethodException
- 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.
The nodetype and constructor signature should be filled in from the
child node.
- Throws:
java.lang.NoSuchMethodException
setID
protected void setID(int id)
setKeyComparator
protected void setKeyComparator(java.lang.Class<? extends WritableComparator> cmpcl)
Copyright © 2009 The Apache Software Foundation