All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.onetwo.common.db.filequery.SimpleNamedQueryInfo Maven / Gradle / Ivy

package org.onetwo.common.db.filequery;

import org.onetwo.common.db.spi.FileSqlParserType;
import org.onetwo.common.db.spi.NamedQueryInfo;
import org.onetwo.common.db.spi.QueryConfigData;

import lombok.Data;

/**
 * @author weishao zeng
 * 
*/ @Data public class SimpleNamedQueryInfo implements NamedQueryInfo { private String name; private QueryConfigData queryConfig = new QueryConfigData(); @Override public String getFullName() { return name; } @Override public String getName() { return name; } @Override public String getCountName() { return name; } @Override public FileSqlParserType getParserType() { return FileSqlParserType.TEMPLATE; } @Override public boolean isAutoGeneratedCountSql() { return true; } @Override public QueryConfigData getQueryConfig() { return queryConfig; } @Override public String getNamespace() { return ""; } @Override public String getFragmentTemplateName(String attr) { throw new UnsupportedOperationException(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy