提交 8ee35d1b authored 作者: noelgrandin's avatar noelgrandin

improve javadoc around IndexCondition masks

上级 6d4308dc
...@@ -77,7 +77,8 @@ public interface Index extends SchemaObject { ...@@ -77,7 +77,8 @@ public interface Index extends SchemaObject {
* For possible search masks, see IndexCondition. * For possible search masks, see IndexCondition.
* *
* @param session the session * @param session the session
* @param masks the search mask * @param masks per-column comparison bit masks, null means 'always false',
* see constants in IndexCondition
* @return the estimated cost * @return the estimated cost
*/ */
double getCost(Session session, int[] masks); double getCost(Session session, int[] masks);
......
...@@ -623,7 +623,8 @@ public abstract class Table extends SchemaObjectBase { ...@@ -623,7 +623,8 @@ public abstract class Table extends SchemaObjectBase {
* Get the best plan for the given search mask. * Get the best plan for the given search mask.
* *
* @param session the session * @param session the session
* @param masks null means 'always false' * @param masks per-column comparison bit masks, null means 'always false',
* see constants in IndexCondition
* @return the plan item * @return the plan item
*/ */
public PlanItem getBestPlanItem(Session session, int[] masks) { public PlanItem getBestPlanItem(Session session, int[] masks) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论