本文整理了Java中cascading.util.Util.asList()
方法的一些代码示例,展示了Util.asList()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.asList()
方法的具体详情如下:
包路径:cascading.util.Util
类名称:Util
方法名:asList
暂无
代码示例来源:origin: cwensel/cascading
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param name of String
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( String name, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), new Properties(), name );
initializeFrom( asList( jobConf, jobConfs ) );
}
代码示例来源:origin: cascading/cascading-hadoop2-mr1
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param name of String
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( String name, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), new Properties(), name );
initializeFrom( asList( jobConf, jobConfs ) );
}
代码示例来源:origin: cwensel/cascading
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param properties of Map
* @param name of String
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( Map<Object, Object> properties, String name, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), properties, name, null );
initializeFrom( asList( jobConf, jobConfs ) );
}
代码示例来源:origin: cascading/cascading-hadoop2-mr1
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param properties of Map
* @param name of String
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( Map<Object, Object> properties, String name, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), properties, name, null );
initializeFrom( asList( jobConf, jobConfs ) );
}
代码示例来源:origin: cwensel/cascading
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param properties of Map
* @param name of String
* @param flowDescriptor of Map
* @param stopJobsOnExit of boolean
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( Map<Object, Object> properties, String name, Map<String, String> flowDescriptor, boolean stopJobsOnExit, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), properties, name, flowDescriptor );
this.stopJobsOnExit = stopJobsOnExit;
initializeFrom( asList( jobConf, jobConfs ) );
}
代码示例来源:origin: cwensel/cascading
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param properties of Map
* @param name of String
* @param flowDescriptor of Map
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( Map<Object, Object> properties, String name, Map<String, String> flowDescriptor, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), properties, name, flowDescriptor );
initializeFrom( asList( jobConf, jobConfs ) );
}
代码示例来源:origin: cascading/cascading-hadoop2-mr1
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param properties of Map
* @param name of String
* @param flowDescriptor of Map
* @param stopJobsOnExit of boolean
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( Map<Object, Object> properties, String name, Map<String, String> flowDescriptor, boolean stopJobsOnExit, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), properties, name, flowDescriptor );
this.stopJobsOnExit = stopJobsOnExit;
initializeFrom( asList( jobConf, jobConfs ) );
}
代码示例来源:origin: cascading/cascading-hadoop2-mr1
/**
* Constructor MultiMapReduceFlow creates a new MultiMapReduceFlow instance.
*
* @param properties of Map
* @param name of String
* @param flowDescriptor of Map
* @param jobConf of JobConf
* @param jobConfs of JobConf...
*/
public MultiMapReduceFlow( Map<Object, Object> properties, String name, Map<String, String> flowDescriptor, JobConf jobConf, JobConf... jobConfs )
{
this( HadoopUtil.getPlatformInfo( JobConf.class, "org/apache/hadoop", "Hadoop MR" ), properties, name, flowDescriptor );
initializeFrom( asList( jobConf, jobConfs ) );
}
内容来源于网络,如有侵权,请联系作者删除!