org.apache.lens.ml
Class ExampleUtils
java.lang.Object
org.apache.lens.ml.ExampleUtils
public final class ExampleUtils
- extends Object
The Class ExampleUtils.
createTable
public static void createTable(org.apache.hadoop.hive.conf.HiveConf conf,
String database,
String tableName,
String sampleDataFile,
String labelColumn,
Map<String,String> tableParams,
String... features)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Creates the example table.
- Parameters:
conf
- the confdatabase
- the databasetableName
- the table namesampleDataFile
- the sample data filelabelColumn
- the label columnfeatures
- the features
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
- the hive exception
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.