aboutsummaryrefslogtreecommitdiff
path: root/streaming
diff options
context:
space:
mode:
authorStephan Kessler <stephan.kessler@sap.com>2015-12-28 12:46:20 -0800
committerMichael Armbrust <michael@databricks.com>2015-12-28 12:46:20 -0800
commita6a4812434c6f43cd4742437f957fecd86220255 (patch)
treeed55eb2c93a3055ec8da1a0726630d9c91c9de4c /streaming
parent07165ca06fe0866677525f85fec25e4dbd336674 (diff)
downloadspark-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 'streaming')
0 files changed, 0 insertions, 0 deletions