diff options
author | Stephan Kessler <stephan.kessler@sap.com> | 2015-12-28 12:46:20 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-12-28 12:46:20 -0800 |
commit | a6a4812434c6f43cd4742437f957fecd86220255 (patch) | |
tree | ed55eb2c93a3055ec8da1a0726630d9c91c9de4c /sbin/stop-all.sh | |
parent | 07165ca06fe0866677525f85fec25e4dbd336674 (diff) | |
download | spark-a6a4812434c6f43cd4742437f957fecd86220255.tar.gz spark-a6a4812434c6f43cd4742437f957fecd86220255.tar.bz2 spark-a6a4812434c6f43cd4742437f957fecd86220255.zip |
[SPARK-7727][SQL] Avoid inner classes in RuleExecutor
Moved (case) classes Strategy, Once, FixedPoint and Batch to the companion object. This is necessary if we want to have the Optimizer easily extendable in the following sense: Usually a user wants to add additional rules, and just take the ones that are already there. However, inner classes made that impossible since the code did not compile
This allows easy extension of existing Optimizers see the DefaultOptimizerExtendableSuite for a corresponding test case.
Author: Stephan Kessler <stephan.kessler@sap.com>
Closes #10174 from stephankessler/SPARK-7727.
Diffstat (limited to 'sbin/stop-all.sh')
0 files changed, 0 insertions, 0 deletions