io.nosqlbench.virtdata.library.basics.shared.stateful.SaveAutoDocsInfo Maven / Gradle / Ivy
The newest version!
// This file is auto-generated.
package io.nosqlbench.virtdata.library.basics.shared.stateful;
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.stateful.Save"
)
public class SaveAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "Save";
}
public String getPackageName() {
return "io.nosqlbench.virtdata.library.basics.shared.stateful";
}
public String getClassJavadoc() {
return "Save the current input value at this point in the function chain to a thread-local variable name.\n"
+ "The input value is unchanged, and available for the next function in the chain to use as-is.\n";
}
public String getInType() {
return "java.lang.Object";
}
public String getOutType() {
return "java.lang.Object";
}
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("for the current thread, save the input object value to the named variable");
}});
}}
));
add(new DocForFuncCtor("Save", "",
new LinkedHashMap() {{
put("nameFunc","java.util.function.Function");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Save(NumberNameToString())");
add("for the current thread, save the current input object value to the named variable,where the variable name is provided by a function.");
}});
}}
));
}};
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy