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

com.github.dennisit.vplus.data.dsource.shard.strategy.ShardStrategy Maven / Gradle / Ivy

There is a newer version: 2.0.8
Show newest version
package com.github.dennisit.vplus.data.dsource.shard.strategy;

public interface ShardStrategy {

    String getShardType();

    ShardStrategy.DataTableName handle(String var1, String var2, int var3, int var4, Object var5);

    public static class DataTableName {
        private String tableName;
        private String dataSourceKey;

        public DataTableName() {
        }

        public DataTableName(String dataSourceKey) {
            this.dataSourceKey = dataSourceKey;
        }

        public DataTableName(String tableName, String dataSourceKey) {
            this.tableName = tableName;
            this.dataSourceKey = dataSourceKey;
        }

        public String getTableName() {
            return this.tableName;
        }

        public void setTableName(String tableName) {
            this.tableName = tableName;
        }

        public String getDataSourceKey() {
            return this.dataSourceKey;
        }

        public void setDataSourceKey(String dataSourceKey) {
            this.dataSourceKey = dataSourceKey;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy