public class Transformer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Transformer.ApplyTransformVisitor |
Modifier and Type | Method and Description |
---|---|
static Transformer |
get()
Get the current transformer
|
static void |
set(Transformer value)
Set the current transformer - use with care
|
static Op |
transform(Transform transform,
ExprTransform exprTransform,
Op op)
Transform an algebra expression and the expressions
|
static Op |
transform(Transform transform,
ExprTransform exprTransform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transformation with specific Transform and ExprTransform applied
|
static Op |
transform(Transform transform,
Op op)
Transform an algebra expression
|
static Op |
transform(Transform transform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transformation with specific Transform and default ExprTransform (apply transform inside pattern expressions like NOT EXISTS)
|
static Op |
transformOne(Transform transform,
Op op)
Transform an Op - not recursively
|
static Op |
transformSkipService(Transform transform,
ExprTransform exprTransform,
Op op)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
static Op |
transformSkipService(Transform transform,
ExprTransform exprTransform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
static Op |
transformSkipService(Transform transform,
Op op)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
static Op |
transformSkipService(Transform transform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
public static Transformer get()
public static void set(Transformer value)
public static Op transform(Transform transform, ExprTransform exprTransform, Op op)
public static Op transform(Transform transform, Op op, OpVisitor beforeVisitor, OpVisitor afterVisitor)
public static Op transform(Transform transform, ExprTransform exprTransform, Op op, OpVisitor beforeVisitor, OpVisitor afterVisitor)
public static Op transformSkipService(Transform transform, Op op)
public static Op transformSkipService(Transform transform, ExprTransform exprTransform, Op op)
public static Op transformSkipService(Transform transform, Op op, OpVisitor beforeVisitor, OpVisitor afterVisitor)
public static Op transformSkipService(Transform transform, ExprTransform exprTransform, Op op, OpVisitor beforeVisitor, OpVisitor afterVisitor)
Licenced under the Apache License, Version 2.0