public class RewriteRemovePersistentReadWrite extends HopRewriteRule
Constructor and Description |
---|
RewriteRemovePersistentReadWrite(String[] in,
String[] out) |
RewriteRemovePersistentReadWrite(String[] in,
String[] out,
LocalVariableMap vars) |
Modifier and Type | Method and Description |
---|---|
Hop |
rewriteHopDAG(Hop root,
ProgramRewriteStatus state)
Handle a predicate hop DAG with exactly one root.
|
ArrayList<Hop> |
rewriteHopDAGs(ArrayList<Hop> roots,
ProgramRewriteStatus state)
Handle a generic (last-level) hop DAG with multiple roots.
|
public RewriteRemovePersistentReadWrite(String[] in, String[] out, LocalVariableMap vars)
public ArrayList<Hop> rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)
HopRewriteRule
rewriteHopDAGs
in class HopRewriteRule
roots
- high-level operator rootsstate
- program rewrite statuspublic Hop rewriteHopDAG(Hop root, ProgramRewriteStatus state)
HopRewriteRule
rewriteHopDAG
in class HopRewriteRule
root
- high-level operator rootstate
- program rewrite statusCopyright © 2020 The Apache Software Foundation. All rights reserved.