org.apache.lens.ml
Class TableTestingSpec.TableTestingSpecBuilder

java.lang.Object
  extended by org.apache.lens.ml.TableTestingSpec.TableTestingSpecBuilder
Enclosing class:
TableTestingSpec

public static class TableTestingSpec.TableTestingSpecBuilder
extends Object

The Class TableTestingSpecBuilder.


Constructor Summary
TableTestingSpec.TableTestingSpecBuilder()
          Instantiates a new table testing spec builder.
 
Method Summary
 TableTestingSpec.TableTestingSpecBuilder algorithm(String algorithm)
          Algorithm.
 TableTestingSpec build()
          Builds the.
 TableTestingSpec.TableTestingSpecBuilder database(String database)
          Database.
 TableTestingSpec.TableTestingSpecBuilder featureColumns(List<String> featureColumns)
          Feature columns.
 TableTestingSpec.TableTestingSpecBuilder hiveConf(org.apache.hadoop.hive.conf.HiveConf conf)
          Hive conf.
 TableTestingSpec.TableTestingSpecBuilder inputTable(String table)
          Set the input table
 TableTestingSpec.TableTestingSpecBuilder lableColumn(String labelColumn)
          Labe column.
 TableTestingSpec.TableTestingSpecBuilder modelID(String modelID)
          Model id.
 TableTestingSpec.TableTestingSpecBuilder outputColumn(String outputColumn)
          Output column.
 TableTestingSpec.TableTestingSpecBuilder outputTable(String table)
          Output table.
 TableTestingSpec.TableTestingSpecBuilder partitionFilter(String partFilter)
          Partition filter for input table
 TableTestingSpec.TableTestingSpecBuilder testID(String testID)
          Set the unique test id
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableTestingSpec.TableTestingSpecBuilder

public TableTestingSpec.TableTestingSpecBuilder()
Instantiates a new table testing spec builder.

Method Detail

database

public TableTestingSpec.TableTestingSpecBuilder database(String database)
Database.

Parameters:
database - the database
Returns:
the table testing spec builder

inputTable

public TableTestingSpec.TableTestingSpecBuilder inputTable(String table)
Set the input table

Parameters:
table - the table
Returns:
the table testing spec builder

partitionFilter

public TableTestingSpec.TableTestingSpecBuilder partitionFilter(String partFilter)
Partition filter for input table

Parameters:
partFilter - the part filter
Returns:
the table testing spec builder

featureColumns

public TableTestingSpec.TableTestingSpecBuilder featureColumns(List<String> featureColumns)
Feature columns.

Parameters:
featureColumns - the feature columns
Returns:
the table testing spec builder

lableColumn

public TableTestingSpec.TableTestingSpecBuilder lableColumn(String labelColumn)
Labe column.

Parameters:
labelColumn - the label column
Returns:
the table testing spec builder

outputColumn

public TableTestingSpec.TableTestingSpecBuilder outputColumn(String outputColumn)
Output column.

Parameters:
outputColumn - the output column
Returns:
the table testing spec builder

outputTable

public TableTestingSpec.TableTestingSpecBuilder outputTable(String table)
Output table.

Parameters:
table - the table
Returns:
the table testing spec builder

hiveConf

public TableTestingSpec.TableTestingSpecBuilder hiveConf(org.apache.hadoop.hive.conf.HiveConf conf)
Hive conf.

Parameters:
conf - the conf
Returns:
the table testing spec builder

algorithm

public TableTestingSpec.TableTestingSpecBuilder algorithm(String algorithm)
Algorithm.

Parameters:
algorithm - the algorithm
Returns:
the table testing spec builder

modelID

public TableTestingSpec.TableTestingSpecBuilder modelID(String modelID)
Model id.

Parameters:
modelID - the model id
Returns:
the table testing spec builder

build

public TableTestingSpec build()
Builds the.

Returns:
the table testing spec

testID

public TableTestingSpec.TableTestingSpecBuilder testID(String testID)
Set the unique test id

Parameters:
testID -
Returns:


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