public class GenericTTDataBuilder extends Object implements org.apache.commons.lang3.builder.Builder<GenericTTDataSet>
GenericTTDataSet
Constructor and Description |
---|
GenericTTDataBuilder() |
GenericTTDataBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
GenericTTDataSet |
build() |
Map<String,Object> |
getAttributes() |
String |
getName() |
GenericTTDataBuilder |
setAttribute(String name,
Object value) |
GenericTTDataBuilder |
setIsolationGroup(UUID group)
Set the group ID for this data set.
|
GenericTTDataBuilder |
setName(String n)
Set the data set's name.
|
GenericTTDataBuilder |
setQuery(DataSource query) |
GenericTTDataBuilder |
setTest(DataSource ds) |
GenericTTDataBuilder |
setTrain(DataSource ds) |
public GenericTTDataBuilder()
public GenericTTDataBuilder(String name)
public GenericTTDataBuilder setName(String n)
n
- The data set's name.public GenericTTDataBuilder setTrain(DataSource ds)
public GenericTTDataBuilder setQuery(DataSource query)
public GenericTTDataBuilder setTest(DataSource ds)
public GenericTTDataBuilder setIsolationGroup(@Nonnull UUID group)
group
- The group ID.public String getName()
public GenericTTDataBuilder setAttribute(String name, Object value)
public GenericTTDataSet build()
build
in interface org.apache.commons.lang3.builder.Builder<GenericTTDataSet>