Class CGWorkloadExporter
java.lang.Object
io.nosqlbench.cqlgen.core.CGWorkloadExporter
- All Implemented Interfaces:
BundledApp,ToIntFunction<String[]>
The unit of generation is simply everything that is provided to the exporter together.
Thus if you feed it one create statement at a time, it will yield a workload with just that,
and if you feed it an elaborate schema, it will generate a workload inclusive of all
provided elements.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintapplyAsInt(String[] args) voidconfigureTimeouts(Object spec) static voidvoidsetNamingTemplate(String namingTemplate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.nosqlbench.nb.api.apps.BundledApp
getBundledAppName, getBundledDocs
-
Field Details
-
APPNAME
- See Also:
-
-
Constructor Details
-
CGWorkloadExporter
public CGWorkloadExporter()
-
-
Method Details
-
main
-
applyAsInt
- Specified by:
applyAsIntin interfaceBundledApp- Specified by:
applyAsIntin interfaceToIntFunction<String[]>
-
generateBlocks
-
configureTimeouts
-
setNamingTemplate
-
getWorkloadAsYaml
-
getModelAsJson
-
getWorkoadAsJson
-