Changed method visibility from package private to protected to allow indexes…

Changed method visibility from package private to protected to allow indexes from external table engines use it.
上级 fef7a00e
...@@ -125,7 +125,7 @@ public abstract class BaseIndex extends SchemaObjectBase implements Index { ...@@ -125,7 +125,7 @@ public abstract class BaseIndex extends SchemaObjectBase implements Index {
* @param rowCount the number of rows in the index * @param rowCount the number of rows in the index
* @return the estimated cost * @return the estimated cost
*/ */
long getCostRangeIndex(int[] masks, long rowCount) { protected long getCostRangeIndex(int[] masks, long rowCount) {
rowCount += Constants.COST_ROW_OFFSET; rowCount += Constants.COST_ROW_OFFSET;
long cost = rowCount; long cost = rowCount;
long rows = rowCount; long rows = rowCount;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论