Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
qir
Commits
94c48874
Commit
94c48874
authored
5 years ago
by
Julien Lopez
Browse files
Options
Downloads
Patches
Plain Diff
Better toString
parent
0aff6686
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/qir/ast/operator/QIRFilter.java
+3
-3
3 additions, 3 deletions
src/qir/ast/operator/QIRFilter.java
src/qir/ast/operator/QIRJoin.java
+1
-1
1 addition, 1 deletion
src/qir/ast/operator/QIRJoin.java
src/qir/ast/operator/QIRProject.java
+1
-1
1 addition, 1 deletion
src/qir/ast/operator/QIRProject.java
with
5 additions
and
5 deletions
src/qir/ast/operator/QIRFilter.java
+
3
−
3
View file @
94c48874
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/qir/ast/operator/QIRJoin.java
+
1
−
1
View file @
94c48874
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/qir/ast/operator/QIRProject.java
+
1
−
1
View file @
94c48874
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment