com.github.javaclub.cdl.client.matrix.router.SQLRouteResult Maven / Gradle / Ivy
package com.github.javaclub.cdl.client.matrix.router;
import java.util.Collection;
import java.util.HashSet;
import com.github.javaclub.cdl.client.matrix.parser.result.merger.MergeContext;
public class SQLRouteResult {
private final MergeContext mergeContext;
private final Collection executionUnits = new HashSet();
private boolean isNotShardTable = false;
public SQLRouteResult(MergeContext mergeContext) {
super();
this.mergeContext = mergeContext;
}
public MergeContext getMergeContext() {
return mergeContext;
}
public Collection getExecutionUnits() {
return executionUnits;
}
public boolean isNotShardTable() {
return isNotShardTable;
}
public void setNotShardTable(boolean isNotShardTable) {
this.isNotShardTable = isNotShardTable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy