Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Add FoxgloveTestListener to TestExecutionListeners - Search tag in package guru.mikelue.foxglove.springframework
- Section
- Applies DataSetting - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- asMap() - Method in interface guru.mikelue.foxglove.TupleAccessor
-
Gets all columns as a map.
- AUTO_INCREMENT - Enum constant in enum class guru.mikelue.foxglove.ColumnMeta.Property
-
Indicates whether the column is auto-increment.
- Auto-constructing default DataGenerator - Search tag in class guru.mikelue.foxglove.springframework.FoxgloveTestListener
- Section
- autoGenerateFor(ColumnMeta.Property...) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Sets whether or not to generate value automatically by the given properties of a column.
- Auto-generating by properties - Search tag in class guru.mikelue.foxglove.setting.DataSetting
- Section
B
- Basic example - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- beforeAll(ExtensionContext) - Method in class guru.mikelue.foxglove.junit.FoxgloveJUnitExtension
- beforeEach(ExtensionContext) - Method in class guru.mikelue.foxglove.junit.FoxgloveJUnitExtension
- beforeTestClass(TestContext) - Method in class guru.mikelue.foxglove.springframework.FoxgloveTestListener
- beforeTestMethod(TestContext) - Method in class guru.mikelue.foxglove.springframework.FoxgloveTestListener
- build() - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Builds the
JdbcTableFacet. - builder(String) - Static method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet
-
Starts to build a
JdbcTableFacetwith table name. - buildObjectFactory(Object, GenData, DataGenContext<TableFacet>, String) - Method in class guru.mikelue.foxglove.annotation.GenDataProcessor
-
Builds the instance of
GenDataObjectFactory. - ByteArraySpec - Class in guru.mikelue.foxglove.instancio
-
Provides a
ValueSpecfor byte array(byte[]). - ByteArraySpec() - Constructor for class guru.mikelue.foxglove.instancio.ByteArraySpec
-
Constructs the byte array spec.
C
- cardinality(int) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ReferenceSettingStep.CardinalityStep
-
Sets the number of rows in child table per one row in parent table.
- cardinality(int, int) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ReferenceSettingStep.CardinalityStep
-
Makes the number of rows is generated randomly in child table per one row in parent table.
- cartesianProduct(String) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Starts to configure cartesian product for a column.
- Cartesian product - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- Change row values before insertion - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- column(String) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Starts to configure value generator by column name.
- ColumnConfig<T,
R> - Interface in guru.mikelue.foxglove.setting -
General interface used to configure value generator for a matched column.
- columnMatcher(ColumnMatcher) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Starts to configure
Supplierfor columns matched by givenColumnMatcher. - ColumnMatcher - Interface in guru.mikelue.foxglove.functional
-
Defines the matcher for column metadata.
- ColumnMeta - Record Class in guru.mikelue.foxglove
-
Metadata of a column.
- ColumnMeta(String, EnumSet<ColumnMeta.Property>, String, JDBCType, int, int) - Constructor for record class guru.mikelue.foxglove.ColumnMeta
-
Creates an instance of a
ColumnMetarecord class. - ColumnMeta.Property - Enum Class in guru.mikelue.foxglove
-
The properties used for auto-generating of a column.
- ColumnSettingSteps - Interface in guru.mikelue.foxglove.jdbc
-
Aggregation of steps for column setting steps.
- ColumnSettingSteps.CartesianProductSettingStep<T> - Interface in guru.mikelue.foxglove.jdbc
-
The step to configure Cartesian product for a column.
- ColumnSettingSteps.ColumnFromStep<T> - Interface in guru.mikelue.foxglove.jdbc
-
The step to configure column from another table.
- ColumnSettingSteps.ColumnSimpleStep<T> - Interface in guru.mikelue.foxglove.jdbc
-
The step to configure column.
- ColumnSettingSteps.KeyOfIntSettingStep - Interface in guru.mikelue.foxglove.jdbc
-
The step used to limit the number of rows by bounding integral value for a column,
- ColumnSettingSteps.ReferenceSettingStep<T> - Interface in guru.mikelue.foxglove.jdbc
-
The step to configure reference column.
- ColumnSettingSteps.ReferenceSettingStep.CardinalityStep - Interface in guru.mikelue.foxglove.jdbc
-
The step to configure cardinality of reference.
- Column spec - Search tag in class guru.mikelue.foxglove.setting.DataSetting
- Section
- Core Concepts - Search tag in package guru.mikelue.foxglove
- Section
D
- DataGenContext<T> - Interface in guru.mikelue.foxglove.annotation
-
Reflection information for named
TableFacetsSourceandDataGeneratorSourceobjects. - DataGenerator<T> - Interface in guru.mikelue.foxglove
-
Defines the common operators for data generating.
- DataGeneratorProvider<T> - Interface in guru.mikelue.foxglove.functional
-
Provides
DataGeneratorinstances, this interface is usually used by JUnit extension or TestExecutionListener of SpringFramework. - DataGeneratorSource - Annotation Interface in guru.mikelue.foxglove.annotation
-
Marks a method or a field as instant/provider of
DataGenerator. - DataSetting - Class in guru.mikelue.foxglove.setting
-
Defines the data generation setting.
- DataSetting() - Constructor for class guru.mikelue.foxglove.setting.DataSetting
-
Constructs an empty data setting.
- DataSettingInfo - Interface in guru.mikelue.foxglove.setting
-
This interface defines the methods used by engine of data generating.
- decideSupplier(SupplierDecider<? extends T>) - Method in interface guru.mikelue.foxglove.setting.ColumnConfig
-
Decides a
Supplierfor matched column. - decimalDigits() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Returns the value of the
decimalDigitsrecord component. - DEFAULT_BATCH_SIZE - Static variable in class guru.mikelue.foxglove.jdbc.JdbcDataGenerator
-
The default batch size for insertion of rows.
- DEFAULT_VALUE - Enum constant in enum class guru.mikelue.foxglove.ColumnMeta.Property
-
Indicates whether the column has default value.
- Default methods - Search tag in interface guru.mikelue.foxglove.annotation.DataGenContext
- Section
- defaults() - Static method in class guru.mikelue.foxglove.setting.DataSetting
-
Gives the data setting can be changed for applying any
SettingAwareglobally. - domain(long[]) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the set of number of values to be used for key column.
- domain(List<? extends T>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.CartesianProductSettingStep
-
Sets the domain of values for Cartesian product.
- domain(List<Long>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the domain of numbers to be used for key column.
- domain(LongStream) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the set of number of values to be used for key column.
- domain(Stream<? extends T>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.CartesianProductSettingStep
-
Sets the domain of values for Cartesian product.
- domain(Stream<Long>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the domain of numbers to be used for key column.
- domain(T...) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.CartesianProductSettingStep
-
Sets the domain of values for Cartesian product.
E
- EnableFoxglove - Annotation Interface in guru.mikelue.foxglove.springframework
-
Composite annotation to enable Foxglove test features.
- equals(Object) - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Only use name and
JDBCTypeof column for equality check. - Example - Search tag in package guru.mikelue.foxglove.junit
- Section
- Example for deciding number of rows - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- Examples - Search tag in package guru.mikelue.foxglove
- Section
- Examples - Search tag in package guru.mikelue.foxglove.jdbc
- Section
- Examples - Search tag in package guru.mikelue.foxglove.setting
- Section
- excludeColumns(String...) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Excludes the columns by their name.
- excludeWhen(ColumnMatcher) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Excludes columns matched by given
ColumnMatcherfrom auto-generating.
F
- facets() - Element in annotation interface guru.mikelue.foxglove.annotation.GenData
-
Defines the a builder(as a
Supplier) ofTableFacetfor generating rules of tables. - facetsNames() - Element in annotation interface guru.mikelue.foxglove.annotation.GenData
-
Defines the name of
TableFacetfor generating rules of tables. - Featured Suppliers - Search tag in package guru.mikelue.foxglove.functional
- Section
- Features - Search tag in class guru.mikelue.foxglove.setting.DataSetting
- Section
- Features - Search tag in package guru.mikelue.foxglove.junit
- Section
- fixed(T) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnSimpleStep
-
Uses a fixed value for the column.
- forRow(RowIndexToValue<? extends T>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnSimpleStep
-
Uses a function that converts row index to value.
- FoxgloveJUnitExtension - Class in guru.mikelue.foxglove.junit
-
JUnit extension for Foxglove.
- FoxgloveJUnitExtension() - Constructor for class guru.mikelue.foxglove.junit.FoxgloveJUnitExtension
-
Default constructor should get called by JUnit engine.
- FoxgloveTestListener - Class in guru.mikelue.foxglove.springframework
-
This listener resolving
TableFacetsSourceandDataGeneratorSourcein Spring's Context framework of test first. - FoxgloveTestListener() - Constructor for class guru.mikelue.foxglove.springframework.FoxgloveTestListener
-
Default constructor.
- from(JdbcTableFacet, String) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnSimpleStep
-
Configures the column to get values from another table's column.
- From DatabaseMetaData#getColumns(String, String, String, String) - Search tag in record class guru.mikelue.foxglove.ColumnMeta
- Section
- From Spring's context - Search tag in class guru.mikelue.foxglove.springframework.FoxgloveTestListener
- Section
G
- genData() - Method in interface guru.mikelue.foxglove.annotation.GenDataInspector
-
Returns the annotation instance of
GenData. - GenData - Annotation Interface in guru.mikelue.foxglove.annotation
-
Annotation to define data generation configuration for a test method.
- GenData.FallbackDataGeneratorProvider - Class in guru.mikelue.foxglove.annotation
-
Fallback provider of data generator, this provider will throw
UnsupportedOperationExceptionwhile being invoked. - GenDataInspector - Interface in guru.mikelue.foxglove.annotation
-
A convenient interface to process objects defined by
GenData. - GenDataObjectFactory - Interface in guru.mikelue.foxglove.annotation
-
A factory interface to create data generator and table facets defined by
GenData. - GenDataProcessor - Class in guru.mikelue.foxglove.annotation
-
Worker class for test framework integration.
- GenDataProcessor(Object, AnnotatedElement, Supplier<DataGenContext<TableFacet>>, String) - Constructor for class guru.mikelue.foxglove.annotation.GenDataProcessor
-
Creates an instance of
GenDataProcessoron a tested method. - generate(List<JdbcTableFacet>) - Method in class guru.mikelue.foxglove.jdbc.JdbcDataGenerator
- generate(List<T>) - Method in interface guru.mikelue.foxglove.DataGenerator
-
Performs the data generating for the given table facets.
- generate(T...) - Method in interface guru.mikelue.foxglove.DataGenerator
-
Performs the data generating for the given table facets.
- GENERATED - Enum constant in enum class guru.mikelue.foxglove.ColumnMeta.Property
-
Indicates whether the column is generated by database.
- generateNull(boolean) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Sets to generate possible
nullfor nullable columns. - generateNull(int) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Enables null value generating and sets the dice sides to generate possible
nullfor nullable columns, by ratio of1/diceSides. - generator() - Element in annotation interface guru.mikelue.foxglove.annotation.GenData
-
Defines the data generator(as a
Supplier). - generatorName() - Element in annotation interface guru.mikelue.foxglove.annotation.GenData
-
Defines the name of data generator(as a
Supplier). - get() - Method in class guru.mikelue.foxglove.annotation.GenData.FallbackDataGeneratorProvider
- get() - Method in class guru.mikelue.foxglove.functional.RoundRobinValueSupplier
- get() - Method in class guru.mikelue.foxglove.functional.RowIndexToValueSupplier
-
Gets the value at current row index, then advances the row index by one.
- get() - Method in interface guru.mikelue.foxglove.functional.SequenceSupplier
-
Gets the next value in sequence.
- get() - Method in interface guru.mikelue.foxglove.functional.StreamOfTableFacetsProvider
-
Converts the stream of table facets to a list.
- get() - Method in interface guru.mikelue.foxglove.functional.TableFacetProvider
-
Provides a list of with only one
TableFacetinstance. - get() - Method in class guru.mikelue.foxglove.instancio.ByteArraySpec
- getAsInt() - Method in class guru.mikelue.foxglove.functional.Int4SequenceSupplier
-
Gets the next value in sequence.
- getAsLong() - Method in class guru.mikelue.foxglove.functional.Int8SequenceSupplier
-
Gets the next value in sequence.
- getCurrentIndex() - Method in class guru.mikelue.foxglove.functional.RowIndexToValueSupplier
-
Gets the the row index to be used for next time calling of
RowIndexToValueSupplier.get(). - getDataGenerator() - Method in interface guru.mikelue.foxglove.annotation.GenDataObjectFactory
-
Creates a data generator defined by
GenData. - getDataGenerator() - Method in class guru.mikelue.foxglove.annotation.ReflectGenDataObjectFactory
- getDefaultDataGenerator(Object) - Method in interface guru.mikelue.foxglove.annotation.DataGenContext
-
Gets default data generator from given test instance.
- getDefaultDataGenerator(Object) - Method in class guru.mikelue.foxglove.annotation.LayeredDataGenContext
-
Gets default data generator from given test instance.
- getDefaultNumberOfRows() - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Gets the default number of rows for generated data.
- getDefaultNumberOfRows() - Method in interface guru.mikelue.foxglove.setting.DataSettingInfo
-
Gets the default number of rows for generated data.
- getDefaultNumberOfRows() - Method in class guru.mikelue.foxglove.setting.LayeredDataSetting
-
Uses the highest priority setting to get the default number of rows.
- getDefaultTableFacets(Object) - Method in interface guru.mikelue.foxglove.annotation.DataGenContext
-
Gets default table facets from given test instance.
- getDefaultTableFacets(Object) - Method in class guru.mikelue.foxglove.annotation.LayeredDataGenContext
-
Gets default table facets from given test instance.
- getMetaOfColumns() - Method in interface guru.mikelue.foxglove.TupleAccessor
-
Gets metadata of all columns of the generated row.
- getNamedDataGenerator(String, Object) - Method in interface guru.mikelue.foxglove.annotation.DataGenContext
-
Gets named data generator from given test instance.
- getNamedDataGenerator(String, Object) - Method in class guru.mikelue.foxglove.annotation.LayeredDataGenContext
-
Gets named data generator from given test instance.
- getNamedTableFacets(String, Object) - Method in interface guru.mikelue.foxglove.annotation.DataGenContext
-
Gets named table facets from given test instance.
- getNamedTableFacets(String, Object) - Method in class guru.mikelue.foxglove.annotation.LayeredDataGenContext
-
Gets named table facets from given test instance.
- getNumberOfRows() - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet
-
Returns the number of rows to be generated for the table.
- getNumberOfRows() - Method in interface guru.mikelue.foxglove.TableFacet
-
Returns the number of rows to be generated for the table.
- getOne() - Method in interface guru.mikelue.foxglove.functional.TableFacetProvider
-
Provides a
TableFacetinstance. - getOrder() - Method in class guru.mikelue.foxglove.springframework.FoxgloveTestListener
-
The order of this listener is just after
SqlScriptsTestExecutionListener. - getSetting() - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet
-
Retrieves the data setting applied, if set by
SettingAware.withSetting(guru.mikelue.foxglove.setting.DataSettingInfo). - getSetting() - Method in interface guru.mikelue.foxglove.setting.SettingProvider
-
Retrieves the data setting applied, if set by
SettingAware.withSetting(guru.mikelue.foxglove.setting.DataSettingInfo). - getTableFacets() - Method in interface guru.mikelue.foxglove.annotation.GenDataObjectFactory
-
Creates table facets defined by
GenData. - getTableFacets() - Method in class guru.mikelue.foxglove.annotation.ReflectGenDataObjectFactory
- getTypedDataGenerator(Class<? extends DataGeneratorProvider<T>>, Object) - Method in interface guru.mikelue.foxglove.annotation.DataGenContext
-
Gets
DataGenerators by provider class. - getTypedDataGenerator(Class<? extends DataGeneratorProvider<T>>, Object) - Method in class guru.mikelue.foxglove.annotation.LayeredDataGenContext
- getTypedTableFacets(Class<? extends TableFacetsProvider<T>>, Object) - Method in interface guru.mikelue.foxglove.annotation.DataGenContext
-
Gets
TableFacets by provider class. - getTypedTableFacets(Class<? extends TableFacetsProvider<T>>, Object) - Method in class guru.mikelue.foxglove.annotation.LayeredDataGenContext
- getValue(String) - Method in interface guru.mikelue.foxglove.TupleAccessor
-
Gets the value of a column with auto-casting.
- givenType(String) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Starts to configure
Supplierfor columns matched by given type name. - givenType(JDBCType) - Method in class guru.mikelue.foxglove.setting.DataSetting
- Global setting - Search tag in class guru.mikelue.foxglove.setting.DataSetting
- Section
- guru.mikelue.foxglove - package guru.mikelue.foxglove
-
Foxglove is a lightweight Java library for easing the generating data for testing database-related code.
- guru.mikelue.foxglove.annotation - package guru.mikelue.foxglove.annotation
-
This package contains annotations for Foxglove library.
- guru.mikelue.foxglove.functional - package guru.mikelue.foxglove.functional
-
Provides utilities for
functional interfaces. - guru.mikelue.foxglove.instancio - package guru.mikelue.foxglove.instancio
- guru.mikelue.foxglove.jdbc - package guru.mikelue.foxglove.jdbc
-
This package provides the JDBC implementation of
DataGenerator,TableFacet. - guru.mikelue.foxglove.junit - package guru.mikelue.foxglove.junit
-
JUnit extensions for Foxglove testing.
- guru.mikelue.foxglove.setting - package guru.mikelue.foxglove.setting
-
This package provides classes to handle settings for data generating.
- guru.mikelue.foxglove.springframework - package guru.mikelue.foxglove.springframework
-
Spring Framework integration for Foxglove.
H
- hasColumn(String) - Method in interface guru.mikelue.foxglove.TupleAccessor
-
Checks whether or not the generated row has the given column.
- hasDataGenerating() - Method in class guru.mikelue.foxglove.annotation.GenDataProcessor
-
Indicates whether
GenDatais present on tested method of current. - hashCode() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Only use name of column for hash code.
- How should a processing engine resolve names - Search tag in annotation interface guru.mikelue.foxglove.annotation.GenData
- Section
I
- includeColumns(String...) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
These columns would be generated automatically in spite of their properties.
- index() - Method in interface guru.mikelue.foxglove.TupleAccessor
-
Gets the index(starts with
0) for theTableFacet. - Int4SequenceSupplier - Class in guru.mikelue.foxglove.functional
-
Provides consequent number with customizable start and steps.
- Int4SequenceSupplier() - Constructor for class guru.mikelue.foxglove.functional.Int4SequenceSupplier
-
Constructs the supplier with start value as 1 and step as 1.
- Int4SequenceSupplier(int) - Constructor for class guru.mikelue.foxglove.functional.Int4SequenceSupplier
-
Constructs the supplier with start value as 0 and step as 1.
- Int4SequenceSupplier(int, int) - Constructor for class guru.mikelue.foxglove.functional.Int4SequenceSupplier
-
Constructs the supplier with customizable start value and step.
- Int8SequenceSupplier - Class in guru.mikelue.foxglove.functional
-
Provides consequent number with customizable start and steps.
- Int8SequenceSupplier() - Constructor for class guru.mikelue.foxglove.functional.Int8SequenceSupplier
-
Constructs the supplier with start value as 1 and step as 1.
- Int8SequenceSupplier(long) - Constructor for class guru.mikelue.foxglove.functional.Int8SequenceSupplier
-
Constructs the supplier with start value as 0 and step as 1.
- Int8SequenceSupplier(long, int) - Constructor for class guru.mikelue.foxglove.functional.Int8SequenceSupplier
-
Constructs the supplier with customizable start value and step.
- Interfaces - Search tag in package guru.mikelue.foxglove.setting
- Section
- Interfaces for DataSetting - Search tag in package guru.mikelue.foxglove.functional
- Section
- isAutoGenerating(ColumnMeta) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Gets whether or not to generate value automatically by the given properties of a column.
- isAutoGenerating(ColumnMeta) - Method in interface guru.mikelue.foxglove.setting.DataSettingInfo
-
Gets whether or not to generate value automatically by the given properties of a column.
- isAutoGenerating(ColumnMeta) - Method in class guru.mikelue.foxglove.setting.LayeredDataSetting
-
Gets whether or not to generate value automatically by the given properties of a column.
J
- JDBC - Search tag in package guru.mikelue.foxglove
- Section
- JdbcDataGenerator - Class in guru.mikelue.foxglove.jdbc
-
JDBC implementation of
DataGenerator. - JdbcDataGenerator(Connection) - Constructor for class guru.mikelue.foxglove.jdbc.JdbcDataGenerator
-
Uses the database and joins the transaction of the given connection.
- JdbcDataGenerator(DataSource) - Constructor for class guru.mikelue.foxglove.jdbc.JdbcDataGenerator
-
Uses the given data source as the target database for generated data.
- JdbcTableFacet - Class in guru.mikelue.foxglove.jdbc
-
JDBC implementation of
TableFacet. - JdbcTableFacet.Builder - Class in guru.mikelue.foxglove.jdbc
-
Builds a
JdbcTableFacetwith table name. - jdbcType() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Returns the value of the
jdbcTyperecord component.
K
- Key column - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- keyOfInt(String) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Starts to configure key column as integral value, which would limit for number of generated rows for this table.
L
- largeTextLength(int) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Sets the length for types of
CLOB,LONGVARCHAR, etc. - largeTextLength(int, int) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Sets the length range for types of
CLOB,LONGVARCHAR, etc. - lastValue() - Method in class guru.mikelue.foxglove.functional.Int4SequenceSupplier
-
Gets the next value in sequence(without stepping).
- lastValue() - Method in class guru.mikelue.foxglove.functional.Int8SequenceSupplier
-
Gets the next value in sequence(without stepping).
- lastValue() - Method in interface guru.mikelue.foxglove.functional.SequenceSupplier
-
Gets the next value in sequence(without stepping).
- LayeredDataGenContext<T> - Class in guru.mikelue.foxglove.annotation
-
Context class for layered data generations.
- LayeredDataGenContext(List<Object>, List<DataGenContext<T>>) - Constructor for class guru.mikelue.foxglove.annotation.LayeredDataGenContext
-
Creates an instance with multiple
DataGenContexts. - LayeredDataSetting - Class in guru.mikelue.foxglove.setting
-
A proxy of
DataSettingInfofor multi-layer settings. - LayeredDataSetting(DataSettingInfo...) - Constructor for class guru.mikelue.foxglove.setting.LayeredDataSetting
-
Constructs the layered data setting with multiple settings.
- lazySupplier(Supplier<? extends Supplier<? extends T>>) - Static method in interface guru.mikelue.foxglove.functional.Suppliers
- length(int) - Method in class guru.mikelue.foxglove.instancio.ByteArraySpec
-
Sets the length of the array.
- limit(int) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the limit number of values can be generated for key column(starts with 1, steps with 1).
- limit(long, int) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the limit number of values can be generated for key column(steps with 1).
- limit(long, int, int) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the limit number of values can be generated for key column.
- loadFrom(Class<?>) - Static method in interface guru.mikelue.foxglove.annotation.DataGenContext
-
Loads data generation context from given test class.
M
- maxLength(int) - Method in class guru.mikelue.foxglove.instancio.ByteArraySpec
-
Sets the maximum length of the array (inclusive).
- minLength(int) - Method in class guru.mikelue.foxglove.instancio.ByteArraySpec
-
Sets the minimum length of the array (inclusive).
- Miscellaneous - Search tag in class guru.mikelue.foxglove.setting.DataSetting
- Section
N
- name() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Returns the value of the
namerecord component. - Nested test classes - Search tag in class guru.mikelue.foxglove.springframework.FoxgloveTestListener
- Section
- nextValue() - Method in class guru.mikelue.foxglove.functional.Int4SequenceSupplier
-
Gets the next value in sequence.
- nextValue() - Method in class guru.mikelue.foxglove.functional.Int8SequenceSupplier
-
Gets the next value in sequence.
- nextValue() - Method in interface guru.mikelue.foxglove.functional.SequenceSupplier
-
Gets the next value in sequence.
- notAutoGenerateFor(ColumnMeta.Property...) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Sets to not to generate value automatically by the given properties of a column.
- nullable() - Method in class guru.mikelue.foxglove.instancio.ByteArraySpec
- NULLABLE - Enum constant in enum class guru.mikelue.foxglove.ColumnMeta.Property
-
Indicates whether the column allows null value.
- numberOfRows(int) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Sets the number of rows to be generated for the table.
- Number of rows - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- numberOfTableFacets() - Method in interface guru.mikelue.foxglove.annotation.GenDataInspector
-
Returns the number of table facets defined in
GenData.
O
- of(GenData) - Static method in interface guru.mikelue.foxglove.annotation.GenDataInspector
-
Creates an instance of
GenDataInspector. - of(RowIndexToValue<T>) - Static method in class guru.mikelue.foxglove.functional.RowIndexToValueSupplier
-
Creates the supplier with given function to get value at specified row index.
- of(List<? extends T>) - Static method in class guru.mikelue.foxglove.functional.RoundRobinValueSupplier
-
Constructs the supplier with at least two values from the given list.
- of(Stream<? extends T>) - Static method in class guru.mikelue.foxglove.functional.RoundRobinValueSupplier
-
Constructs the supplier with at least two values from the given stream.
- of(T...) - Static method in class guru.mikelue.foxglove.functional.RoundRobinValueSupplier
-
Constructs the supplier with at least two values.
- onTupleGenerated(Consumer<TupleAccessor>) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Sets the consumer to handle generated tuple.
- ORDER - Static variable in class guru.mikelue.foxglove.springframework.FoxgloveTestListener
-
The default order of this listener is just after
SqlScriptsTestExecutionListener. - Other features - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- Overview - Search tag in class guru.mikelue.foxglove.setting.DataSetting
- Section
P
- parent(JdbcTableFacet, String) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ReferenceSettingStep
-
Assigns the key column explicitly.
- performGenerating() - Method in class guru.mikelue.foxglove.annotation.GenDataProcessor
-
Performs data generating action.
- properties() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Returns the value of the
propertiesrecord component.
R
- random() - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnFromStep
-
Uses random choosing over values from referenced column of another table.
- range(long) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the range of values for key column(starts with 1, step 1).
- range(long, long) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the range of values for key column(with step 1).
- range(long, long, int) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.KeyOfIntSettingStep
-
Sets the range of values for key column.
- referencing(JdbcTableFacet, String) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.CartesianProductSettingStep
-
References values from column of another table's for Cartesian product.
- referencing(String) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
Starts to configure table reference for a column.
- Referencing - Search tag in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
- Section
- ReflectGenDataObjectFactory - Class in guru.mikelue.foxglove.annotation
-
Uses reflection to create data generation objects defined by
GenData. - ReflectGenDataObjectFactory(Object, GenData, DataGenContext<TableFacet>, String) - Constructor for class guru.mikelue.foxglove.annotation.ReflectGenDataObjectFactory
-
Creates an instance of
ReflectGenDataObjectFactoryon a testing instance. - resolveSupplier(ColumnMeta) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Resolves the
Supplierfor the given column metadata. - resolveSupplier(ColumnMeta) - Method in interface guru.mikelue.foxglove.setting.DataSettingInfo
-
Resolves the
Supplierfor the given column metadata. - resolveSupplier(ColumnMeta) - Method in class guru.mikelue.foxglove.setting.LayeredDataSetting
-
Retrieves the found
Supplierby priority of settings. - rollingSupplier(Supplier<? extends T>) - Static method in interface guru.mikelue.foxglove.functional.Suppliers
-
Builds a
Supplierwhich returnsnullbased on dice rolling. - rollingSupplier(Supplier<? extends T>, int) - Static method in interface guru.mikelue.foxglove.functional.Suppliers
-
Builds a
Supplierwhich returnsnullbased on dice rolling. - rollingSupplier(Supplier<? extends T>, int, T) - Static method in interface guru.mikelue.foxglove.functional.Suppliers
-
Builds a
Supplierwhich returns the default value based on dice rolling. - roundRobin() - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnFromStep
-
Uses round-robin strategy to assign values from referenced column of another table.
- roundRobin(List<? extends T>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnSimpleStep
-
Generates data by round-robin of values.
- roundRobin(Stream<? extends T>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnSimpleStep
-
Generates data by round-robin of values.
- roundRobin(T...) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnSimpleStep
-
Generates data by round-robin of values.
- RoundRobinValueSupplier<T> - Class in guru.mikelue.foxglove.functional
-
Supplies values in round-robin manner from the given list.
- RowIndexToValue<T> - Interface in guru.mikelue.foxglove.functional
-
This interface defines the action to convert a row index to a value.
- RowIndexToValueSupplier<T> - Class in guru.mikelue.foxglove.functional
-
This is a stateful
Supplier, which need client code to implementsFunction.apply(T)method. - RuntimeJdbcException - Exception Class in guru.mikelue.foxglove.jdbc
-
Converts
SQLExceptionto unchecked exception. - RuntimeJdbcException(Exception) - Constructor for exception class guru.mikelue.foxglove.jdbc.RuntimeJdbcException
-
Wraps
Exceptionto unchecked exception. - RuntimeJdbcException(String) - Constructor for exception class guru.mikelue.foxglove.jdbc.RuntimeJdbcException
-
Message-only exception.
S
- SequenceSupplier<T> - Interface in guru.mikelue.foxglove.functional
-
Supplies consequent number with customizable start and steps.
- setBatchSize(int) - Method in class guru.mikelue.foxglove.jdbc.JdbcDataGenerator
-
Sets the batch size for insertion of rows.
- setDefaultNumberOfRows(int) - Method in class guru.mikelue.foxglove.setting.DataSetting
-
Sets the default number of rows for generated data.
- SettingAware<T> - Interface in guru.mikelue.foxglove.setting
-
Interface for classes which support customized
DataSetting. - SettingProvider - Interface in guru.mikelue.foxglove.setting
-
A type implements this interface is meant to provide
DataSettingInfopossibly. - Settings - Search tag in package guru.mikelue.foxglove
- Section
- setValue(String, T) - Method in interface guru.mikelue.foxglove.TupleAccessor
-
Sets the value of a column.
- size() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Returns the value of the
sizerecord component. - StatefulSupplier<T> - Interface in guru.mikelue.foxglove.functional
- streamOf() - Method in interface guru.mikelue.foxglove.functional.StreamOfTableFacetsProvider
-
Provides a stream of
TableFacetinstances. - StreamOfTableFacetsProvider<T> - Interface in guru.mikelue.foxglove.functional
-
Streamalternative ofTableFacetsProvider, - SupplierDecider<T> - Interface in guru.mikelue.foxglove.functional
-
Form a given context, decides the corresponding
Supplier. - Suppliers - Interface in guru.mikelue.foxglove.functional
-
Provides utility methods for
Supplier. - Supplier wrapper - Search tag in package guru.mikelue.foxglove.functional
- Section
T
- TableFacet - Interface in guru.mikelue.foxglove
-
Defines the rules to generate rows of a table.
- TableFacetProvider<T> - Interface in guru.mikelue.foxglove.functional
-
Convenient interface to provide a single
TableFacet. - TableFacetsProvider<T> - Interface in guru.mikelue.foxglove.functional
-
Provides a list of
TableFacets, this interface is usually used by JUnit extension or TestExecutionListener of SpringFramework. - TableFacetsSource - Annotation Interface in guru.mikelue.foxglove.annotation
-
Marks a method or a filed as instant/provider of
TableFacet. - tableName() - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet
-
Returns the name of table to generate data.
- tableName() - Method in interface guru.mikelue.foxglove.TableFacet
-
Returns the name of table to generate data.
- The identifying of DataGenerator - Search tag in package guru.mikelue.foxglove.annotation
- Section
- The identifying of TableFacet - Search tag in package guru.mikelue.foxglove.annotation
- Section
- threadSafe(StatefulSupplier<T>) - Static method in interface guru.mikelue.foxglove.functional.StatefulSupplier
-
Turns a thread-safe version of the given stateful supplier.
- toString() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Builds complete properties and descriptive information of column metadata.
- transformDomain(Function<? super Stream<T>, ? extends Stream<V>>) - Method in interface guru.mikelue.foxglove.jdbc.ColumnSettingSteps.ColumnFromStep
-
Transforms the domain of referenced column to another domain values.
- TupleAccessor - Interface in guru.mikelue.foxglove
-
Easy to be used for auto-casting on values of a tuple.
- typeName() - Method in record class guru.mikelue.foxglove.ColumnMeta
-
Returns the value of the
typeNamerecord component.
U
- useDefaultDataGenerator() - Method in interface guru.mikelue.foxglove.annotation.GenDataInspector
-
Indicates whether the default data generator is used.
- useDefaultTableFacets() - Method in interface guru.mikelue.foxglove.annotation.GenDataInspector
-
Indicates whether the default table facets are used.
- Use EnableFoxglove - Search tag in package guru.mikelue.foxglove.springframework
- Section
- Use setting locally - Search tag in class guru.mikelue.foxglove.setting.DataSetting
- Section
- useSpec(Supplier<ValueSpec<? extends T>>) - Method in interface guru.mikelue.foxglove.setting.ColumnConfig
- useSupplier(Supplier<? extends T>) - Method in interface guru.mikelue.foxglove.setting.ColumnConfig
-
Uses a
Supplierfor matched column.
V
- value() - Element in annotation interface guru.mikelue.foxglove.annotation.DataGeneratorSource
-
Defines the name of data generator.
- value() - Element in annotation interface guru.mikelue.foxglove.annotation.GenData
-
Defines the a builder(as a
Supplier) ofTableFacetfor generating rules of tables. - value() - Element in annotation interface guru.mikelue.foxglove.annotation.TableFacetsSource
-
Defines the name of table facet.
- valueOf(String) - Static method in enum class guru.mikelue.foxglove.ColumnMeta.Property
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class guru.mikelue.foxglove.ColumnMeta.Property
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withSetting(DataSettingInfo) - Method in class guru.mikelue.foxglove.jdbc.JdbcDataGenerator
-
This object has lower priority than table facet's own setting, yet has higher priority than
DataSetting.defaults(). - withSetting(DataSettingInfo) - Method in class guru.mikelue.foxglove.jdbc.JdbcTableFacet.Builder
-
This object has highest priority than
JdbcDataGenerator.withSetting(DataSettingInfo)andDataSetting.defaults(). - withSetting(DataSettingInfo) - Method in interface guru.mikelue.foxglove.setting.SettingAware
-
Applies the given data setting and the supporting class itself.
Z
- zeroElements() - Method in class guru.mikelue.foxglove.instancio.ByteArraySpec
-
Sets whether zero elements (0x00) should be generated.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form