Modifier and Type | Method and Description |
---|---|
DataSetBuilder |
DataSetBuilder.allColumnsNull()
Set the NULL value filler for all columns.
|
DataSetBuilder |
DataSet.build()
Create a builder for this data set.
|
static DataSetBuilder |
JDBDT.builder(DataSource dataSource)
Create a builder for a fresh data set.
|
DataSetBuilder |
DataSetBuilder.generate(int count)
Associate a number of rows to the data set, according to
the current column fillers' configuration.
|
DataSetBuilder |
DataSetBuilder.nullValue(String column)
Set the NULL value filler for a column.
|
DataSetBuilder |
DataSetBuilder.random(String column,
Date min,
Date max)
Set random filler using
Date values. |
DataSetBuilder |
DataSetBuilder.random(String column,
double min,
double max)
Set random filler using
double values. |
DataSetBuilder |
DataSetBuilder.random(String column,
float min,
float max)
Set random filler using
float values. |
DataSetBuilder |
DataSetBuilder.random(String column,
Function<Random,?> gen)
Set customized random filler.
|
DataSetBuilder |
DataSetBuilder.random(String column,
int min,
int max)
Set random filler using
int values. |
DataSetBuilder |
DataSetBuilder.random(String column,
List<?> values)
Set random filler for column using a list of values.
|
DataSetBuilder |
DataSetBuilder.random(String column,
long min,
long max)
Set random filler using
long values. |
<T> DataSetBuilder |
DataSetBuilder.random(String column,
T... values)
Set random filler for column using an array of values.
|
DataSetBuilder |
DataSetBuilder.random(String column,
Timestamp min,
Timestamp max)
Set random filler using
Timestamp values. |
DataSetBuilder |
DataSetBuilder.random(String column,
Time min,
Time max)
Set random filler using
Time values. |
DataSetBuilder |
DataSetBuilder.remainingColumnsNull()
Set the NULL value filler for all remaining columns.
|
DataSetBuilder |
DataSetBuilder.sequence(String column,
BigInteger initial)
Set
BigInteger sequence filler for column. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
BigInteger initial,
BigInteger step)
Set
BigInteger sequence filler for column
with a specified step. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
Date initial,
int step)
Set
Date sequence filler for column
with a specified step in days. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
double initial,
double step)
Set
double sequence filler for column
with a specified step. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
float initial,
float step)
Set
float sequence filler for column
with a specified step. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
int initial)
Set
int value sequence filler for column. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
IntFunction<?> step)
Set sequence filler using a index-based step-function.
|
DataSetBuilder |
DataSetBuilder.sequence(String column,
IntFunction<?> step,
int initial)
Set sequence filler using a index-based step-function.
|
DataSetBuilder |
DataSetBuilder.sequence(String column,
int initial,
int step)
Set
int sequence filler for column
with a specified step. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
List<?> values)
Set sequence filler using a list of values.
|
DataSetBuilder |
DataSetBuilder.sequence(String column,
long initial)
Set
long value sequence filler for column. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
long initial,
long step)
Set
long sequence filler for column
with a specified step. |
<T> DataSetBuilder |
DataSetBuilder.sequence(String column,
T... values)
Set sequence filler using array values.
|
DataSetBuilder |
DataSetBuilder.sequence(String column,
Time initial,
int step)
Set
Time sequence filler for column
with a specified step in seconds. |
DataSetBuilder |
DataSetBuilder.sequence(String column,
Timestamp initial,
long step)
Set
Timestamp sequence filler for column
with a specified step in milliseconds. |
<T> DataSetBuilder |
DataSetBuilder.sequence(String column,
T initial,
UnaryOperator<T> step)
Set a sequence filler using a step-function.
|
DataSetBuilder |
DataSetBuilder.set(String column,
ColumnFiller<?> filler)
Set filler for column.
|
<E extends Enum<?>> |
DataSetBuilder.value(String column,
E enumConstant)
Set a constant enum value for a column, converting the enumeration constant to a string.
|
<T> DataSetBuilder |
DataSetBuilder.value(String column,
T constant)
Set a constant value filler for a column.
|
Copyright © 2016–2021 JDBDT. All rights reserved.