Constructor and Description |
---|
DataSetBuilder() |
DataSetBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
DataSet |
build() |
Map<String,Object> |
getAttributes() |
String |
getName() |
DataSetBuilder |
setAttribute(String name,
Object value) |
DataSetBuilder |
setIsolationGroup(UUID group)
Set the group ID for this data set.
|
DataSetBuilder |
setName(String n)
Set the data set’s name.
|
DataSetBuilder |
setQuery(StaticDataSource query) |
DataSetBuilder |
setTest(StaticDataSource ds) |
DataSetBuilder |
setTrain(StaticDataSource ds) |
public DataSetBuilder()
public DataSetBuilder(String name)
public DataSetBuilder setName(String n)
Set the data set’s name.
n
- The data set’s name.public DataSetBuilder setTrain(StaticDataSource ds)
public DataSetBuilder setQuery(StaticDataSource query)
public DataSetBuilder setTest(StaticDataSource ds)
public DataSetBuilder setIsolationGroup(@Nullable UUID group)
Set the group ID for this data set. The default is the all-0 UUID.
group
- The group ID, or null
to reset to the default group.public String getName()
public DataSetBuilder setAttribute(String name, Object value)