Class CGRatioSuffixer
java.lang.Object
io.nosqlbench.cqlgen.transformers.CGRatioSuffixer
- All Implemented Interfaces:
CGModelTransformer,NBNamedElement,NBCanConfigure,NBConfigModelProvider,NBConfigurable,Function<CqlModel,CqlModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidImplementors should take care to ensure that this can be called after initial construction without unexpected interactions between construction parameters and configuration parameters.Implement this method by returning an instance ofConfigModel.getName()void
-
Constructor Details
-
CGRatioSuffixer
public CGRatioSuffixer()
-
-
Method Details
-
apply
-
setName
- Specified by:
setNamein interfaceCGModelTransformer
-
applyConfig
Description copied from interface:NBConfigurableImplementors should take care to ensure that this can be called after initial construction without unexpected interactions between construction parameters and configuration parameters.- Specified by:
applyConfigin interfaceNBCanConfigure- Specified by:
applyConfigin interfaceNBConfigurable- Parameters:
cfg- The configuration data to be applied to a new instance
-
getConfigModel
Description copied from interface:NBConfigurableImplement this method by returning an instance ofConfigModel. Any configuration which is provided to theNBConfigurable.applyConfig(NBConfiguration)method will be validated through this model. A configuration model is required in order to build a validated configuration from source data provided by a user.- Specified by:
getConfigModelin interfaceNBConfigModelProvider- Specified by:
getConfigModelin interfaceNBConfigurable- Returns:
- A valid configuration model for the implementing class
-
getName
- Specified by:
getNamein interfaceNBNamedElement
-