public static class TableTestingSpec.TableTestingSpecBuilder extends Object
Constructor and Description |
---|
TableTestingSpec.TableTestingSpecBuilder()
Instantiates a new table testing spec builder.
|
public TableTestingSpec.TableTestingSpecBuilder()
public TableTestingSpec.TableTestingSpecBuilder database(String database)
database
- the databasepublic TableTestingSpec.TableTestingSpecBuilder inputTable(String table)
table
- the tablepublic TableTestingSpec.TableTestingSpecBuilder partitionFilter(String partFilter)
partFilter
- the part filterpublic TableTestingSpec.TableTestingSpecBuilder featureColumns(List<String> featureColumns)
featureColumns
- the feature columnspublic TableTestingSpec.TableTestingSpecBuilder lableColumn(String labelColumn)
labelColumn
- the label columnpublic TableTestingSpec.TableTestingSpecBuilder outputColumn(String outputColumn)
outputColumn
- the output columnpublic TableTestingSpec.TableTestingSpecBuilder outputTable(String table)
table
- the tablepublic TableTestingSpec.TableTestingSpecBuilder hiveConf(org.apache.hadoop.hive.conf.HiveConf conf)
conf
- the confpublic TableTestingSpec.TableTestingSpecBuilder algorithm(String algorithm)
algorithm
- the algorithmpublic TableTestingSpec.TableTestingSpecBuilder modelID(String modelID)
modelID
- the model idpublic TableTestingSpec build()
public TableTestingSpec.TableTestingSpecBuilder testID(String testID)
testID
- Copyright © 2014–2016 Apache Software Foundation. All rights reserved.