Skip to content
Snippets Groups Projects
Commit 94c48874 authored by Julien Lopez's avatar Julien Lopez
Browse files

Better toString

parent 0aff6686
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@ import qir.util.QIRException;
*/
public final class QIRFilter extends QIROperator {
/**
* The filter function that takes a tuple and returns a value (typically a boolean) that describes
* whether or not the tuple should be kept in the result set.
* The filter function that takes a tuple and returns a value (typically a boolean) that
* describes whether or not the tuple should be kept in the result set.
*/
private final QIRNode filter;
/**
......@@ -41,7 +41,7 @@ public final class QIRFilter extends QIROperator {
@Override
public final String toString() {
return "Filter(" + filter + ", " + child + ")";
return "Filter(" + filter + ",\n " + child + ")";
}
@Override
......
......@@ -57,7 +57,7 @@ public final class QIRJoin extends QIROperator {
@Override
public final String toString() {
return "Join(" + filter + ", " + left + ", " + right + ")";
return "Join(" + filter + ",\n " + left + ",\n " + right + ")";
}
@Override
......
......@@ -41,7 +41,7 @@ public final class QIRProject extends QIROperator {
@Override
public final String toString() {
return "Project(" + formatter + ", " + child + ")";
return "Project(" + formatter + ",\n " + child + ")";
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment