public class RecordPathCompiler extends Object
| Constructor and Description |
|---|
RecordPathCompiler() |
| Modifier and Type | Method and Description |
|---|---|
static RecordPathSegment |
buildPath(org.antlr.runtime.tree.Tree tree,
RecordPathSegment parent,
boolean absolute) |
static RecordPathSegment |
compile(org.antlr.runtime.tree.Tree pathTree,
RecordPathSegment root,
boolean absolute) |
private static RecordPathFilter |
createBinaryOperationFilter(org.antlr.runtime.tree.Tree operatorTree,
RecordPathSegment parent,
BiFunction<RecordPathSegment,RecordPathSegment,RecordPathFilter> function,
boolean absolute) |
private static RecordPathFilter |
createFilter(org.antlr.runtime.tree.Tree operatorTree,
RecordPathSegment parent,
boolean absolute) |
private static RecordPathFilter |
createFunctionFilter(org.antlr.runtime.tree.Tree functionTree,
boolean absolute) |
private static RecordPathSegment[] |
getArgPaths(org.antlr.runtime.tree.Tree argumentListTree,
int minCount,
int maxCount,
String functionName,
boolean absolute) |
private static RecordPathSegment[] |
getArgPaths(org.antlr.runtime.tree.Tree argumentListTree,
int expectedCount,
String functionName,
boolean absolute) |
private static RecordPathSegment[] |
getArgumentsForStringFunction(boolean absolute,
org.antlr.runtime.tree.Tree argumentListTree) |
public static RecordPathSegment compile(org.antlr.runtime.tree.Tree pathTree, RecordPathSegment root, boolean absolute)
public static RecordPathSegment buildPath(org.antlr.runtime.tree.Tree tree, RecordPathSegment parent, boolean absolute)
private static RecordPathSegment[] getArgumentsForStringFunction(boolean absolute, org.antlr.runtime.tree.Tree argumentListTree)
private static RecordPathFilter createFilter(org.antlr.runtime.tree.Tree operatorTree, RecordPathSegment parent, boolean absolute)
private static RecordPathFilter createBinaryOperationFilter(org.antlr.runtime.tree.Tree operatorTree, RecordPathSegment parent, BiFunction<RecordPathSegment,RecordPathSegment,RecordPathFilter> function, boolean absolute)
private static RecordPathFilter createFunctionFilter(org.antlr.runtime.tree.Tree functionTree, boolean absolute)
private static RecordPathSegment[] getArgPaths(org.antlr.runtime.tree.Tree argumentListTree, int expectedCount, String functionName, boolean absolute)
private static RecordPathSegment[] getArgPaths(org.antlr.runtime.tree.Tree argumentListTree, int minCount, int maxCount, String functionName, boolean absolute)
Copyright © 2023 Apache NiFi Project. All rights reserved.