Revision 44663
Added by Katerina Iatropoulou over 7 years ago
CQLQueryGeneration.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
} |
32 | 32 |
|
33 |
public static void appendKeywords(StringBuilder stringBuilder, String keywords) { |
|
34 |
if (keywords != null && !keywords.trim().isEmpty()) { |
|
35 |
stringBuilder.append(" ").append(Operator.AND).append(" (").append(keywords).append(")"); |
|
36 |
} |
|
37 |
} |
|
38 |
|
|
33 | 39 |
public static void appendSimpleTerm(StringBuilder stringBuilder, Operator queryOperator, String termValue) { |
34 | 40 |
stringBuilder.append(' ').append(queryOperator).append(" (").append(termValue).append(')'); |
35 | 41 |
} |
Also available in: Unified diff
more code cleaning