|
|
@ -18,7 +18,6 @@ import com.fr.plugin.db.redis.core.order.impl.NumberOrderValue; |
|
|
|
import com.fr.plugin.db.redis.util.RedisUtils; |
|
|
|
import com.fr.plugin.db.redis.util.RedisUtils; |
|
|
|
import com.fr.record.analyzer.EnableMetrics; |
|
|
|
import com.fr.record.analyzer.EnableMetrics; |
|
|
|
import com.fr.script.Calculator; |
|
|
|
import com.fr.script.Calculator; |
|
|
|
import com.fr.stable.NameReference; |
|
|
|
|
|
|
|
import com.fr.stable.ParameterProvider; |
|
|
|
import com.fr.stable.ParameterProvider; |
|
|
|
import com.fr.stable.xml.XMLPrintWriter; |
|
|
|
import com.fr.stable.xml.XMLPrintWriter; |
|
|
|
import com.fr.stable.xml.XMLableReader; |
|
|
|
import com.fr.stable.xml.XMLableReader; |
|
|
@ -80,8 +79,8 @@ public class RedisTableData extends BaseTableData { |
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
ParameterProvider[] ps = getParameters(calculator); |
|
|
|
ParameterProvider[] ps = getParameters(calculator); |
|
|
|
Connection connection = database.get(); |
|
|
|
Connection connection = database.get(); |
|
|
|
if (connection instanceof NameReference) { |
|
|
|
String name = RedisUtils.getName(connection); |
|
|
|
String name = ((NameReference) connection).getName(); |
|
|
|
if (StringKit.isNotEmpty(name)) { |
|
|
|
RedisDatabaseConnection rc = ConnectionKit.getConnection(name, RedisDatabaseConnection.class); |
|
|
|
RedisDatabaseConnection rc = ConnectionKit.getConnection(name, RedisDatabaseConnection.class); |
|
|
|
if (rc != null) { |
|
|
|
if (rc != null) { |
|
|
|
OrderValue orderValue = dbIndex.get(); |
|
|
|
OrderValue orderValue = dbIndex.get(); |
|
|
@ -98,7 +97,6 @@ public class RedisTableData extends BaseTableData { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void readXML(XMLableReader reader) { |
|
|
|
public void readXML(XMLableReader reader) { |
|
|
|
super.readXML(reader); |
|
|
|
super.readXML(reader); |
|
|
|
|
|
|
|
|
|
|
|