Support range sortKey feature by javeme · Pull Request #296 · apache/hugegraph

@javeme

implement #271

Change-Id: Ib618c45bc6169a0fb7632dbbf0fb29b7ee0a08e3

Linary

Linary

zhoney

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this.inclusiveEnd ? cmp2 <= 0 : cmp2 < 0);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validValue

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete

Linary


public IdPrefixQuery(Query originQuery,
Id start, boolean inclusiveStart, Id prefix) {
this(originQuery.resultType(), originQuery, start, true, prefix);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true -> inclusiveStart

Linary

assert condition instanceof Condition.Relation;
Condition.Relation r = (Condition.Relation) condition;
Condition.Relation sys = new Condition.SyspropRelation(
HugeKeys.SORT_VALUES,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjust the alignment

@javeme

implement #271

Change-Id: Ib618c45bc6169a0fb7632dbbf0fb29b7ee0a08e3

Linary

zhoney