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.
......@@ -125,7 +125,7 @@ public abstract class BaseIndex extends SchemaObjectBase implements Index {
* @param rowCount the number of rows in the index
* @return the estimated cost
*/
long getCostRangeIndex(int[] masks, long rowCount) {
protected long getCostRangeIndex(int[] masks, long rowCount) {
rowCount += Constants.COST_ROW_OFFSET;
long cost = rowCount;
long rows = rowCount;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论