提交 ee488ce2 authored 作者: noelgrandin's avatar noelgrandin

improve javadoc around usage of Comparison constants

上级 8ee35d1b
......@@ -58,12 +58,18 @@ public class IndexCondition {
public static final int ALWAYS_FALSE = 8;
private final Column column;
/**
* see constants in {@link Comparison}
*/
private final int compareType;
private final Expression expression;
private List<Expression> expressionList;
private Query expressionQuery;
/**
* @param compareType the comparison type, see constants in {@link Comparison}
*/
private IndexCondition(int compareType, ExpressionColumn column, Expression expression) {
this.compareType = compareType;
this.column = column == null ? null : column.getColumn();
......@@ -73,7 +79,7 @@ public class IndexCondition {
/**
* Create an index condition with the given parameters.
*
* @param compareType the comparison type
* @param compareType the comparison type, see constants in {@link Comparison}
* @param column the column
* @param expression the expression
* @return the index condition
......@@ -292,6 +298,9 @@ public class IndexCondition {
}
}
/**
* The comparison type, see constants in {@link Comparison}
*/
public int getCompareType() {
return compareType;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论