io.virtdata.BasicDataMappers Maven / Gradle / Ivy
package io.virtdata;
import com.google.auto.service.AutoService;
import io.virtdata.api.DataMapperLibrary;
import io.virtdata.core.FunctionalDataMappingLibrary;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.List;
/**
* This is a basic data mapping library that contains a variety of functions to build from.
*
* This library simply relies on {@link FunctionalDataMappingLibrary}.
*/
@AutoService(DataMapperLibrary.class)
public class BasicDataMappers extends FunctionalDataMappingLibrary {
private static final Logger logger = LoggerFactory.getLogger(BasicDataMappers.class);
public final static String dataDir = "data";
@Override
public String getLibraryName() {
return "basics";
}
@Override
public List getSearchPackages() {
return new ArrayList() {
{
add(io.virtdata.strings.Suffix.class.getPackage());
add(io.virtdata.long_long.Add.class.getPackage());
add(io.virtdata.long_int.Add.class.getPackage());
add(io.virtdata.int_int.Add.class.getPackage());
add(io.virtdata.functional.DivideToLong.class.getPackage());
}
};
}
}