public class RewriterFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RewriterFactory.RewriterType
Enum class of allowed rewriter types.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ALGEBRAIC
Planner factory field for algebraic rewriter.
|
static String |
DEFAULT
Planner factory field for default rewriter.
|
| Constructor and Description |
|---|
RewriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Rewriter |
getDefaultRewriter() |
static Rewriter |
getRewriter(RewriterFactory.RewriterType type)
Factory function for retrieving the desired rewriter instance.
|
static RewriterFactory.RewriterType |
getRewriterType(String name)
Factory function for retrieving an rewriter name from the set of allowed
types.
|
public static final String DEFAULT
public static final String ALGEBRAIC
public static Rewriter getDefaultRewriter()
public static RewriterFactory.RewriterType getRewriterType(String name)
name, - The name/type of the rewriter.public static Rewriter getRewriter(RewriterFactory.RewriterType type)
type, - type of the RewriterCopyright © 2018. All rights reserved.