assert condition instanceof Condition.Relation; Condition.Relation r = (Condition.Relation) condition; Condition.Relation sys = new Condition.SyspropRelation( HugeKeys.FIELD_VALUES, r.relation(),
public static Condition containsKey(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.CONTAINS_KEY, value); }
public static Condition nin(HugeKeys key, List<?> value) { return new SyspropRelation(key, RelationType.NOT_IN, value); }
public static Relation lt(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.LT, value); }
public static Relation gte(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.GTE, value); }
public static Relation gt(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.GT, value); }
public static Relation eq(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.EQ, value); }
public static Condition scan(String start, String end) { Shard value = new Shard(start, end, 0); return new SyspropRelation(HugeKeys.ID, RelationType.SCAN, value); }
public static Condition prefix(HugeKeys key, Id value) { return new SyspropRelation(key, RelationType.PREFIX, value); }
public static Condition in(HugeKeys key, List<?> value) { return new SyspropRelation(key, RelationType.IN, value); }
public static Relation lte(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.LTE, value); }
public static Condition contains(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.CONTAINS, value); }
public static Relation neq(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.NEQ, value); }
@Override public Condition copy() { return new SyspropRelation(this.key, this.relation(), this.value); } }
assert condition instanceof Condition.Relation; Condition.Relation r = (Condition.Relation) condition; Condition.Relation sys = new Condition.SyspropRelation( HugeKeys.SORT_VALUES, r.relation(),
Condition.Relation r = (Condition.Relation) condition; Number value = NumericUtil.convertToNumber(r.value()); Condition.Relation sys = new Condition.SyspropRelation( HugeKeys.FIELD_VALUES, r.relation(), value);
public static Condition prefix(HugeKeys key, Id value) { return new SyspropRelation(key, RelationType.PREFIX, value); }
public static Relation eq(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.EQ, value); }
public static Condition containsKey(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.CONTAINS_KEY, value); }
public static Condition contains(HugeKeys key, Object value) { return new SyspropRelation(key, RelationType.CONTAINS, value); }