Constructor and Description |
---|
DataSetBuilder() |
DataSetBuilder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
DataSet |
build() |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes() |
java.lang.String |
getName() |
DataSetBuilder |
setAttribute(java.lang.String name,
java.lang.Object value) |
DataSetBuilder |
setEntityTypes(java.util.List<EntityType> typeList) |
DataSetBuilder |
setIsolationGroup(java.util.UUID group)
Set the group ID for this data set.
|
DataSetBuilder |
setName(java.lang.String n)
Set the data set’s name.
|
DataSetBuilder |
setRuntime(StaticDataSource ds) |
DataSetBuilder |
setTest(StaticDataSource ds) |
DataSetBuilder |
setTrain(StaticDataSource ds) |
public DataSetBuilder()
public DataSetBuilder(java.lang.String name)
public DataSetBuilder setName(java.lang.String n)
Set the data set’s name.
n
- The data set’s name.public DataSetBuilder setTrain(StaticDataSource ds)
public DataSetBuilder setRuntime(StaticDataSource ds)
public DataSetBuilder setTest(StaticDataSource ds)
public DataSetBuilder setEntityTypes(java.util.List<EntityType> typeList)
public DataSetBuilder setIsolationGroup(@Nullable java.util.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 java.lang.String getName()
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
public DataSetBuilder setAttribute(java.lang.String name, java.lang.Object value)