io.nosqlbench.virtdata.library.basics.shared.unary_string.SaveAutoDocsInfo Maven / Gradle / Ivy
// This file is auto-generated.
package io.nosqlbench.virtdata.library.basics.shared.unary_string;
import io.nosqlbench.nb.annotations.Service;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.processors.DocCtorData;
import io.nosqlbench.virtdata.api.processors.DocForFuncCtor;
import io.nosqlbench.virtdata.api.processors.DocFuncData;
import java.lang.String;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
@Service(
value = DocFuncData.class,
selector = "io.nosqlbench.virtdata.library.basics.shared.unary_string.Save"
)
public class SaveAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "Save";
}
public String getPackageName() {
return "io.nosqlbench.virtdata.library.basics.shared.unary_string";
}
public String getClassJavadoc() {
return "";
}
public String getInType() {
return "java.lang.String";
}
public String getOutType() {
return "java.lang.String";
}
public Category[] getCategories() {
return new Category[] { Category.state };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("Save", "",
new LinkedHashMap() {{
put("name","java.lang.String");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Save('foo')");
add("save the current String value to the name 'foo' in this thread");
}});
}}
));
add(new DocForFuncCtor("Save", "",
new LinkedHashMap() {{
put("nameFunc","java.util.function.Function");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Save(NumberNameToString())");
add("save the current String value to a named variable in this thread, where the variable name is provided by a function");
}});
}}
));
}};
}
}