public static class TableTestingSpec.TableTestingSpecBuilder extends Object
Constructor and Description |
---|
TableTestingSpecBuilder()
Instantiates a new table testing spec builder.
|
public 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–2018 Apache Software Foundation. All rights reserved.