本文整理汇总了Java中org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat类的典型用法代码示例。如果您正苦于以下问题:Java CombineFileInputFormat类的具体用法?Java CombineFileInputFormat怎么用?Java CombineFileInputFormat使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CombineFileInputFormat类属于org.apache.hadoop.mapreduce.lib.input包,在下文中一共展示了CombineFileInputFormat类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCombineFileInputFormatClass
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
@SuppressWarnings("rawtypes")
@Override
protected Class<? extends CombineFileInputFormat> getCombineFileInputFormatClass() {
//TODO
return null;//CombineJsonInputFormat.class;
}
示例2: getCombineFileInputFormatClass
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
@SuppressWarnings("rawtypes")
protected Class<? extends CombineFileInputFormat> getCombineFileInputFormatClass() {
return null;
}
示例3: addInputPath
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for
* {@link CombineFileInputFormat#addInputPath(org.apache.hadoop.mapreduce.Job, org.apache.hadoop.fs.Path)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*/
@JSStaticFunction
public static void addInputPath(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
FileInputFormatHelper.addInputPath(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例4: addInputPaths
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for
* {@link CombineFileInputFormat#addInputPaths(org.apache.hadoop.mapreduce.Job, String)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*/
@JSStaticFunction
public static void addInputPaths(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
FileInputFormatHelper.addInputPaths(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例5: getInputPathFilter
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for {@link CombineFileInputFormat#getInputPathFilter(org.apache.hadoop.mapreduce.JobContext)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*
* @return class name for the input path filter or undefined
*/
@JSStaticFunction
public static Object getInputPathFilter(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
return FileInputFormatHelper.getInputPathFilter(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例6: getInputPaths
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for {@link CombineFileInputFormat#getInputPaths(org.apache.hadoop.mapreduce.JobContext)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*
* @return array of input paths
*/
@JSStaticFunction
public static Object getInputPaths(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
return FileInputFormatHelper.getInputPaths(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例7: getMaxSplitSize
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for {@link CombineFileInputFormat#getMaxSplitSize(org.apache.hadoop.mapreduce.JobContext)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*
* @return the max split size
*/
@JSStaticFunction
public static Object getMaxSplitSize(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
return FileInputFormatHelper.getMaxSplitSize(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例8: getMinSplitSize
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for {@link CombineFileInputFormat#getMinSplitSize(org.apache.hadoop.mapreduce.JobContext)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*
* @return the max split size
*/
@JSStaticFunction
public static Object getMinSplitSize(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
return FileInputFormatHelper.getMinSplitSize(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例9: setInputPathFilter
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Wraps {@link CombineFileInputFormat#setInputPathFilter(org.apache.hadoop.mapreduce.Job, Class)}.
*
* @param ctx the JavaScript context (unused)
* @param thisObj the 'this' object of the caller
* @param args the arguments for the call
* @param func the function called (unused)
*/
@JSStaticFunction
public static void setInputPathFilter(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
FileInputFormatHelper.setInputPathFilter(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例10: setInputPaths
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for
* {@link CombineFileInputFormat#setInputPaths(org.apache.hadoop.mapreduce.Job, org.apache.hadoop.fs.Path...)} and
* {@link CombineFileInputFormat#setInputPaths(org.apache.hadoop.mapreduce.Job, String)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*/
@JSStaticFunction
public static void setInputPaths(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
FileInputFormatHelper.setInputPaths(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例11: setMaxInputSplitSize
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for {@link CombineFileInputFormat#setMaxInputSplitSize(org.apache.hadoop.mapreduce.Job, long)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*/
@JSStaticFunction
public static void setMaxInputSplitSize(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
FileInputFormatHelper.setMaxInputSplitSize(CombineFileInputFormat.class, ctx, thisObj, args);
}
示例12: setMinInputSplitSize
import org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat; //导入依赖的package包/类
/**
* Java wrapper for {@link CombineFileInputFormat#setMinInputSplitSize(org.apache.hadoop.mapreduce.Job, long)}.
*
* @param ctx the JavaScript context
* @param thisObj the 'this' object
* @param args the function arguments
* @param func the function being called
*/
@JSStaticFunction
public static void setMinInputSplitSize(final Context ctx, final Scriptable thisObj, final Object[] args,
final Function func) {
FileInputFormatHelper.setMinInputSplitSize(CombineFileInputFormat.class, ctx, thisObj, args);
}