public class HadoopContext
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
| Constructor and Description |
|---|
HadoopContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
static void |
collect(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static HadoopContext |
createObject(org.mozilla.javascript.Scriptable scope,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> collector,
Iterator<org.apache.hadoop.io.Text> values) |
static void |
done(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
String |
getClassName() |
static void |
initialize(org.mozilla.javascript.Scriptable scope) |
Object |
nextValue() |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASS_NAME
public static void initialize(org.mozilla.javascript.Scriptable scope)
throws Exception
Exceptionpublic static HadoopContext createObject(org.mozilla.javascript.Scriptable scope, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> collector, Iterator<org.apache.hadoop.io.Text> values)
public void await()
throws InterruptedException
InterruptedExceptionpublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObject@JSFunction
public static void collect(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction public Object nextValue()
@JSFunction
public static void done(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
Copyright © 2014 Apigee Corporation. All Rights Reserved.