This project has retired. For details please refer to its Attic page.
ExampleUtils (Lens 2.0.1-beta-incubating API)

org.apache.lens.ml
Class ExampleUtils

java.lang.Object
  extended by org.apache.lens.ml.ExampleUtils

public final class ExampleUtils
extends Object

The Class ExampleUtils.


Method Summary
static void createTable(org.apache.hadoop.hive.conf.HiveConf conf, String database, String tableName, String sampleDataFile, String labelColumn, Map<String,String> tableParams, String... features)
          Creates the example table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 conf
database - the database
tableName - the table name
sampleDataFile - the sample data file
labelColumn - the label column
features - the features
Throws:
org.apache.hadoop.hive.ql.metadata.HiveException - the hive exception


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.