Class ODSLAggregation
- All Implemented Interfaces:
com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<com.google.gson.JsonElement>
- Direct Known Subclasses:
ODSLBulkUpdate
public class ODSLAggregation extends ODSLQuery
-
Constructor Summary
Constructors Constructor Description ODSLAggregation(OpenDSLVarVisitor variables)
-
Method Summary
Modifier and Type Method Description com.google.gson.JsonArray
createPipeline(List<com.walkfares.odsl.grammar.OpenDSLParser.PipelineItemContext> pipelineItems)
static com.google.gson.JsonObject
parseBucket(String field, String text)
static com.google.gson.JsonElement
parsePipeline(String text)
static com.google.gson.JsonElement
parsePipeline(String text, OpenDSLContext context)
com.google.gson.JsonElement
visitPipelineAddFields(com.walkfares.odsl.grammar.OpenDSLParser.PipelineAddFieldsContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineAddFields()
.com.google.gson.JsonElement
visitPipelineBucket(com.walkfares.odsl.grammar.OpenDSLParser.PipelineBucketContext b)
Visit a parse tree produced byOpenDSLParser.pipelineBucket()
.com.google.gson.JsonElement
visitPipelineBucketauto(com.walkfares.odsl.grammar.OpenDSLParser.PipelineBucketautoContext b)
Visit a parse tree produced byOpenDSLParser.pipelineBucketauto()
.com.google.gson.JsonElement
visitPipelineCount(com.walkfares.odsl.grammar.OpenDSLParser.PipelineCountContext c)
Visit a parse tree produced byOpenDSLParser.pipelineCount()
.com.google.gson.JsonElement
visitPipelineDocuments(com.walkfares.odsl.grammar.OpenDSLParser.PipelineDocumentsContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineDocuments()
.com.google.gson.JsonElement
visitPipelineFacet(com.walkfares.odsl.grammar.OpenDSLParser.PipelineFacetContext f)
Visit a parse tree produced byOpenDSLParser.pipelineFacet()
.com.google.gson.JsonElement
visitPipelineGeoNear(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGeoNearContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineGeoNear()
.com.google.gson.JsonElement
visitPipelineGraphLookup(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGraphLookupContext p)
Visit a parse tree produced byOpenDSLParser.pipelineGraphLookup()
.com.google.gson.JsonElement
visitPipelineGroup(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGroupContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineGroup()
.com.google.gson.JsonElement
visitPipelineLimit(com.walkfares.odsl.grammar.OpenDSLParser.PipelineLimitContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineLimit()
.com.google.gson.JsonElement
visitPipelineLookup(com.walkfares.odsl.grammar.OpenDSLParser.PipelineLookupContext l)
Visit a parse tree produced byOpenDSLParser.pipelineLookup()
.com.google.gson.JsonElement
visitPipelineMatch(com.walkfares.odsl.grammar.OpenDSLParser.PipelineMatchContext p)
Visit a parse tree produced byOpenDSLParser.pipelineMatch()
.com.google.gson.JsonElement
visitPipelineMerge(com.walkfares.odsl.grammar.OpenDSLParser.PipelineMergeContext m)
Visit a parse tree produced byOpenDSLParser.pipelineMerge()
.com.google.gson.JsonElement
visitPipelineOut(com.walkfares.odsl.grammar.OpenDSLParser.PipelineOutContext out)
Visit a parse tree produced byOpenDSLParser.pipelineOut()
.com.google.gson.JsonElement
visitPipelineProject(com.walkfares.odsl.grammar.OpenDSLParser.PipelineProjectContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineProject()
.com.google.gson.JsonElement
visitPipelineRedact(com.walkfares.odsl.grammar.OpenDSLParser.PipelineRedactContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineRedact()
.com.google.gson.JsonElement
visitPipelineReplaceRoot(com.walkfares.odsl.grammar.OpenDSLParser.PipelineReplaceRootContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineReplaceRoot()
.com.google.gson.JsonElement
visitPipelineReplaceWith(com.walkfares.odsl.grammar.OpenDSLParser.PipelineReplaceWithContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineReplaceWith()
.com.google.gson.JsonElement
visitPipelineSample(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSampleContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineSample()
.com.google.gson.JsonElement
visitPipelineSkip(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSkipContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineSkip()
.com.google.gson.JsonElement
visitPipelineSort(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSortContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineSort()
.com.google.gson.JsonElement
visitPipelineSortByCount(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSortByCountContext ctx)
Visit a parse tree produced byOpenDSLParser.pipelineSortByCount()
.com.google.gson.JsonElement
visitPipelineUnwind(com.walkfares.odsl.grammar.OpenDSLParser.PipelineUnwindContext u)
Visit a parse tree produced byOpenDSLParser.pipelineUnwind()
.Methods inherited from class com.walkfares.odsl.ODSLQuery
createFilter, createObjectFilter, parse, visitAddingExpression, visitArrayexpression, visitArrayindex, visitCondition, visitFunctioncall, visitId, visitInteger, visitJsonObject, visitMethod, visitMultiplyExpression, visitNumber, visitRowexpression, visitSingularExpression, visitString, visitTf, visitUnevaluatedExpression, visitVariable, visitVarname
Methods inherited from class com.walkfares.odsl.grammar.OpenDSLBaseVisitor
visitAbort, visitAction, visitActionExit, visitActionInput, visitActionOutput, visitActivevar, visitAddField, visitAggregate, visitAggregationOptions, visitAggregationPipeline, visitArray, visitArraycondition, visitArrayinitialiser, visitAssign, visitAssignee, visitAvservice, visitBucketOutput, visitComment, visitConditionalExpression, visitControl, visitCreateIndex, visitDate, visitDateexpression, visitDeclaredType, visitDelete, visitDeleteBulk, visitDynamicname, visitErrors, visitErrorText, visitExponentExpression, visitExpression, visitExpressionOrCondition, visitExtract, visitExtractCheck, visitExtractClick, visitExtractFill, visitExtractor, visitExtractParam, visitExtractSelect, visitFacetItem, visitFail, visitFind, visitFoldingrange, visitForeach, visitForstmt, visitFunction, visitFunctionbody, visitFunctionparam, visitGranularity, visitGroupAssign, visitIfstmt, visitImportscript, visitIndexcollation, visitIndexcollationitem, visitIndexfield, visitIndexoptions, visitIndexpartial, visitIndexttl, visitJsonElement, visitLink, visitLinkType, visitLog, visitLogout, visitMethodbody, visitMlVarname, visitNl, visitObjectDeclaration, visitObjectDefinition, visitPhase, visitPipelineItem, visitPipelineOperator, visitPprojectField, visitPrint, visitProject, visitProjectField, visitProperty, visitPublicvar, visitPublish, visitQualityCheck, visitQualityCheckProfile, visitQualityCheckProfileParams, visitQualityCheckWithChecks, visitRelationalExpression, visitRename, visitReschedule, visitReturnstmt, visitRun, visitSave, visitScalarvar, visitSend, visitSendmail, visitSet, visitSingleLineIfExpression, visitSingleLineIfStatement, visitSortItem, visitStart, visitStatement, visitTagstmt, visitThrowerror, visitTransform, visitTransformClear, visitTransformCreate, visitTransformer, visitTransformFor, visitTransformIf, visitTransformIgnore, visitTransformOptions, visitTransformUnique, visitTrigger, visitTypeBucket, visitTypeConstraint, visitTypeDeclaration, visitTypeDefinition, visitTypeEditor, visitTypeExpression, visitTypeMethod, visitTypeMethodParams, visitTypeProperty, visitTypeSmartData, visitUpdateBulk, visitUpdateOperator, visitUpdateOperatorParam, visitUse, visitVersion, visitWaitcmd, visitWhilestmt, visitWorkflow, visitWorkflowAction, visitWorkflowBody, visitWorkflowEvent, visitWorkflowGateway, visitWorkflowStart, visitWorkflowTransition, visitWorkflowWorkflow
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
Method Details
-
parsePipeline
-
parsePipeline
-
parseBucket
-
createPipeline
public com.google.gson.JsonArray createPipeline(List<com.walkfares.odsl.grammar.OpenDSLParser.PipelineItemContext> pipelineItems) -
visitPipelineAddFields
public com.google.gson.JsonElement visitPipelineAddFields(com.walkfares.odsl.grammar.OpenDSLParser.PipelineAddFieldsContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineAddFields()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineAddFields
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineAddFields
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineBucket
public com.google.gson.JsonElement visitPipelineBucket(com.walkfares.odsl.grammar.OpenDSLParser.PipelineBucketContext b)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineBucket()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineBucket
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineBucket
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
b
- the parse tree- Returns:
- the visitor result
-
visitPipelineBucketauto
public com.google.gson.JsonElement visitPipelineBucketauto(com.walkfares.odsl.grammar.OpenDSLParser.PipelineBucketautoContext b)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineBucketauto()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineBucketauto
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineBucketauto
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
b
- the parse tree- Returns:
- the visitor result
-
visitPipelineCount
public com.google.gson.JsonElement visitPipelineCount(com.walkfares.odsl.grammar.OpenDSLParser.PipelineCountContext c)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineCount()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineCount
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineCount
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
c
- the parse tree- Returns:
- the visitor result
-
visitPipelineDocuments
public com.google.gson.JsonElement visitPipelineDocuments(com.walkfares.odsl.grammar.OpenDSLParser.PipelineDocumentsContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineDocuments()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineDocuments
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineDocuments
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineFacet
public com.google.gson.JsonElement visitPipelineFacet(com.walkfares.odsl.grammar.OpenDSLParser.PipelineFacetContext f)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineFacet()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineFacet
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineFacet
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
f
- the parse tree- Returns:
- the visitor result
-
visitPipelineGraphLookup
public com.google.gson.JsonElement visitPipelineGraphLookup(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGraphLookupContext p)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineGraphLookup()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineGraphLookup
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineGraphLookup
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
p
- the parse tree- Returns:
- the visitor result
-
visitPipelineGeoNear
public com.google.gson.JsonElement visitPipelineGeoNear(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGeoNearContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineGeoNear()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineGeoNear
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineGeoNear
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineGroup
public com.google.gson.JsonElement visitPipelineGroup(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGroupContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineGroup()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineGroup
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineGroup
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineLimit
public com.google.gson.JsonElement visitPipelineLimit(com.walkfares.odsl.grammar.OpenDSLParser.PipelineLimitContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineLimit()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineLimit
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineLimit
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineLookup
public com.google.gson.JsonElement visitPipelineLookup(com.walkfares.odsl.grammar.OpenDSLParser.PipelineLookupContext l)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineLookup()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineLookup
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineLookup
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
l
- the parse tree- Returns:
- the visitor result
-
visitPipelineMatch
public com.google.gson.JsonElement visitPipelineMatch(com.walkfares.odsl.grammar.OpenDSLParser.PipelineMatchContext p)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineMatch()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineMatch
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineMatch
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
p
- the parse tree- Returns:
- the visitor result
-
visitPipelineMerge
public com.google.gson.JsonElement visitPipelineMerge(com.walkfares.odsl.grammar.OpenDSLParser.PipelineMergeContext m)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineMerge()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineMerge
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineMerge
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
m
- the parse tree- Returns:
- the visitor result
-
visitPipelineOut
public com.google.gson.JsonElement visitPipelineOut(com.walkfares.odsl.grammar.OpenDSLParser.PipelineOutContext out)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineOut()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineOut
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineOut
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
out
- the parse tree- Returns:
- the visitor result
-
visitPipelineProject
public com.google.gson.JsonElement visitPipelineProject(com.walkfares.odsl.grammar.OpenDSLParser.PipelineProjectContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineProject()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineProject
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineProject
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineRedact
public com.google.gson.JsonElement visitPipelineRedact(com.walkfares.odsl.grammar.OpenDSLParser.PipelineRedactContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineRedact()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineRedact
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineRedact
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineReplaceRoot
public com.google.gson.JsonElement visitPipelineReplaceRoot(com.walkfares.odsl.grammar.OpenDSLParser.PipelineReplaceRootContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineReplaceRoot()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineReplaceRoot
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineReplaceRoot
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineReplaceWith
public com.google.gson.JsonElement visitPipelineReplaceWith(com.walkfares.odsl.grammar.OpenDSLParser.PipelineReplaceWithContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineReplaceWith()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineReplaceWith
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineReplaceWith
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineSample
public com.google.gson.JsonElement visitPipelineSample(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSampleContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineSample()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineSample
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineSample
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineSkip
public com.google.gson.JsonElement visitPipelineSkip(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSkipContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineSkip()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineSkip
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineSkip
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineSort
public com.google.gson.JsonElement visitPipelineSort(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSortContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineSort()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineSort
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineSort
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineSortByCount
public com.google.gson.JsonElement visitPipelineSortByCount(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSortByCountContext ctx)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineSortByCount()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineSortByCount
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineSortByCount
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPipelineUnwind
public com.google.gson.JsonElement visitPipelineUnwind(com.walkfares.odsl.grammar.OpenDSLParser.PipelineUnwindContext u)Description copied from class:com.walkfares.odsl.grammar.OpenDSLBaseVisitor
Visit a parse tree produced byOpenDSLParser.pipelineUnwind()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPipelineUnwind
in interfacecom.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
- Overrides:
visitPipelineUnwind
in classcom.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
- Parameters:
u
- the parse tree- Returns:
- the visitor result
-