io.nosqlbench.virtdata.library.basics.shared.stateful.LoadFloatAutoDocsInfo 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.LoadFloat"
)
public class LoadFloatAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "LoadFloat";
}
public String getPackageName() {
return "io.nosqlbench.virtdata.library.basics.shared.stateful";
}
public String getClassJavadoc() {
return "Load a value from a named thread-local variable, where the variable\n"
+ "name is fixed or a generated variable name from a provided function.\n"
+ "If the named variable is not defined, then the default value is returned.\n";
}
public String getInType() {
return "java.lang.Object";
}
public String getOutType() {
return "java.lang.Float";
}
public Category[] getCategories() {
return new Category[] { Category.state };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("LoadFloat", "",
new LinkedHashMap() {{
put("name","java.lang.String");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("LoadFloat('foo')");
add("for the current thread, load a float value from the named variable.");
}});
}}
));
add(new DocForFuncCtor("LoadFloat", "",
new LinkedHashMap() {{
put("name","java.lang.String");
put("defaultValue","float");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("LoadFloat('foo',23F)");
add("for the current thread, load a float value from the named variable,or the default value if the named variable is not defined.");
}});
}}
));
add(new DocForFuncCtor("LoadFloat", "",
new LinkedHashMap() {{
put("nameFunc","java.util.function.Function");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("LoadFloat(NumberNameToString())");
add("for the current thread, load a float value from the named variable,where the variable name is provided by a function.");
}});
}}
));
add(new DocForFuncCtor("LoadFloat", "",
new LinkedHashMap() {{
put("nameFunc","java.util.function.Function");
put("defaultValue","float");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("LoadFloat(NumberNameToString(),23F)");
add("for the current thread, load a float value from the named variable,where the variable name is provided by a function, or the default value if the namedvariable is not defined.");
}});
}}
));
}};
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy