提交 49c646b1 authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

MVSpatialIndex - remove redundant dataMap field

上级 3b7bfb4f
...@@ -49,7 +49,6 @@ public class MVSpatialIndex extends BaseIndex implements SpatialIndex, MVIndex { ...@@ -49,7 +49,6 @@ public class MVSpatialIndex extends BaseIndex implements SpatialIndex, MVIndex {
*/ */
final MVTable mvTable; final MVTable mvTable;
private final String mapName;
private final TransactionMap<SpatialKey, Value> dataMap; private final TransactionMap<SpatialKey, Value> dataMap;
private final MVRTreeMap<VersionedValue> spatialMap; private final MVRTreeMap<VersionedValue> spatialMap;
...@@ -93,7 +92,7 @@ public class MVSpatialIndex extends BaseIndex implements SpatialIndex, MVIndex { ...@@ -93,7 +92,7 @@ public class MVSpatialIndex extends BaseIndex implements SpatialIndex, MVIndex {
if (!database.isStarting()) { if (!database.isStarting()) {
checkIndexColumnTypes(columns); checkIndexColumnTypes(columns);
} }
mapName = "index." + getId(); String mapName = "index." + getId();
ValueDataType vt = new ValueDataType(null, null, null); ValueDataType vt = new ValueDataType(null, null, null);
VersionedValue.Type valueType = new VersionedValue.Type(vt); VersionedValue.Type valueType = new VersionedValue.Type(vt);
MVRTreeMap.Builder<VersionedValue> mapBuilder = MVRTreeMap.Builder<VersionedValue> mapBuilder =
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论