private String toStringFromTo() { if (isNullRestriction()) { return "is null"; } else if (isNotNullRestriction()) { return "is not null"; } String f = first == null ? "" : first.toString(); String l = last == null ? "" : last.toString(); if (f.equals(l)) { return f; } String fi = first == null ? "" : (firstIncluding ? "[" : "("); String li = last == null ? "" : (lastIncluding ? "]" : ")"); return fi + f + ".." + l + li; }
private String toStringFromTo() { if (isNullRestriction()) { return "is null"; } else if (isNotNullRestriction()) { return "is not null"; } String f = first == null ? "" : first.toString(); String l = last == null ? "" : last.toString(); if (f.equals(l)) { return f; } String fi = first == null ? "" : (firstIncluding ? "[" : "("); String li = last == null ? "" : (lastIncluding ? "]" : ")"); return fi + f + ".." + l + li; }
boolean addExplain = restriction != null && restriction.isNotNullRestriction();
boolean addExplain = restriction != null && restriction.isNotNullRestriction();
if (pr.isNotNullRestriction() && defn.notNullCheckEnabled) { return new TermQuery(new Term(FieldNames.NOT_NULL_PROPS, defn.name)); } else if (pr.isNotNullRestriction()) { } else if (pr.isNotNullRestriction()) { } else if (pr.isNotNullRestriction()) { } else if (pr.isNotNullRestriction()) { return new TermRangeQuery(propertyName, null, null, true, true);
if (pr.isNotNullRestriction() && defn.notNullCheckEnabled) { return new TermQuery(new Term(FieldNames.NOT_NULL_PROPS, defn.name)); } else if (pr.isNotNullRestriction()) { } else if (pr.isNotNullRestriction()) { } else if (pr.isNotNullRestriction()) { } else if (pr.isNotNullRestriction()) { return new TermRangeQuery(propertyName, null, null, true, true);
boolean addExcerpt = restriction != null && restriction.isNotNullRestriction();
boolean addExcerpt = restriction != null && restriction.isNotNullRestriction();