use of org.apache.drill.common.expression.ExpressionStringBuilder in project drill by apache.
the class MapRDBStatistics method convertLExToStr.
/*
* Returns the String representation for the given Logical Expression
*/
private String convertLExToStr(LogicalExpression lex) {
StringBuilder sb = new StringBuilder();
ExpressionStringBuilder esb = new ExpressionStringBuilder();
lex.accept(esb, sb);
return sb.toString();
}
use of org.apache.drill.common.expression.ExpressionStringBuilder in project drill by apache.
the class TreeTest method serializeExpression.
private String serializeExpression(LogicalExpression expr) {
ExpressionStringBuilder b = new ExpressionStringBuilder();
StringBuilder sb = new StringBuilder();
expr.accept(b, sb);
return sb.toString();
}
use of org.apache.drill.common.expression.ExpressionStringBuilder in project drill by axbaretto.
the class TreeTest method serializeExpression.
private String serializeExpression(LogicalExpression expr) {
ExpressionStringBuilder b = new ExpressionStringBuilder();
StringBuilder sb = new StringBuilder();
expr.accept(b, sb);
return sb.toString();
}
Aggregations