Class ODSLAggregation

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
com.walkfares.odsl.ODSLQuery
com.walkfares.odsl.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 by OpenDSLParser.pipelineAddFields().
    com.google.gson.JsonElement visitPipelineBucket​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineBucketContext b)
    Visit a parse tree produced by OpenDSLParser.pipelineBucket().
    com.google.gson.JsonElement visitPipelineBucketauto​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineBucketautoContext b)
    Visit a parse tree produced by OpenDSLParser.pipelineBucketauto().
    com.google.gson.JsonElement visitPipelineCount​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineCountContext c)
    Visit a parse tree produced by OpenDSLParser.pipelineCount().
    com.google.gson.JsonElement visitPipelineDocuments​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineDocumentsContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineDocuments().
    com.google.gson.JsonElement visitPipelineFacet​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineFacetContext f)
    Visit a parse tree produced by OpenDSLParser.pipelineFacet().
    com.google.gson.JsonElement visitPipelineGeoNear​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGeoNearContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineGeoNear().
    com.google.gson.JsonElement visitPipelineGraphLookup​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGraphLookupContext p)
    Visit a parse tree produced by OpenDSLParser.pipelineGraphLookup().
    com.google.gson.JsonElement visitPipelineGroup​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineGroupContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineGroup().
    com.google.gson.JsonElement visitPipelineLimit​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineLimitContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineLimit().
    com.google.gson.JsonElement visitPipelineLookup​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineLookupContext l)
    Visit a parse tree produced by OpenDSLParser.pipelineLookup().
    com.google.gson.JsonElement visitPipelineMatch​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineMatchContext p)
    Visit a parse tree produced by OpenDSLParser.pipelineMatch().
    com.google.gson.JsonElement visitPipelineMerge​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineMergeContext m)
    Visit a parse tree produced by OpenDSLParser.pipelineMerge().
    com.google.gson.JsonElement visitPipelineOut​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineOutContext out)
    Visit a parse tree produced by OpenDSLParser.pipelineOut().
    com.google.gson.JsonElement visitPipelineProject​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineProjectContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineProject().
    com.google.gson.JsonElement visitPipelineRedact​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineRedactContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineRedact().
    com.google.gson.JsonElement visitPipelineReplaceRoot​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineReplaceRootContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineReplaceRoot().
    com.google.gson.JsonElement visitPipelineReplaceWith​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineReplaceWithContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineReplaceWith().
    com.google.gson.JsonElement visitPipelineSample​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSampleContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineSample().
    com.google.gson.JsonElement visitPipelineSkip​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSkipContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineSkip().
    com.google.gson.JsonElement visitPipelineSort​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSortContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineSort().
    com.google.gson.JsonElement visitPipelineSortByCount​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineSortByCountContext ctx)
    Visit a parse tree produced by OpenDSLParser.pipelineSortByCount().
    com.google.gson.JsonElement visitPipelineUnwind​(com.walkfares.odsl.grammar.OpenDSLParser.PipelineUnwindContext u)
    Visit a parse tree produced by OpenDSLParser.pipelineUnwind().

    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor

    visit, visitChildren, visitErrorNode, visitTerminal
  • Constructor Details

  • Method Details

    • parsePipeline

      public static com.google.gson.JsonElement parsePipeline​(String text)
    • parsePipeline

      public static com.google.gson.JsonElement parsePipeline​(String text, OpenDSLContext context)
    • parseBucket

      public static com.google.gson.JsonObject parseBucket​(String field, String text)
    • 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 by OpenDSLParser.pipelineAddFields().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineAddFields in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineAddFields in class com.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 by OpenDSLParser.pipelineBucket().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineBucket in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineBucket in class com.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 by OpenDSLParser.pipelineBucketauto().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineBucketauto in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineBucketauto in class com.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 by OpenDSLParser.pipelineCount().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineCount in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineCount in class com.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 by OpenDSLParser.pipelineDocuments().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineDocuments in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineDocuments in class com.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 by OpenDSLParser.pipelineFacet().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineFacet in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineFacet in class com.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 by OpenDSLParser.pipelineGraphLookup().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineGraphLookup in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineGraphLookup in class com.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 by OpenDSLParser.pipelineGeoNear().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineGeoNear in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineGeoNear in class com.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 by OpenDSLParser.pipelineGroup().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineGroup in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineGroup in class com.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 by OpenDSLParser.pipelineLimit().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineLimit in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineLimit in class com.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 by OpenDSLParser.pipelineLookup().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineLookup in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineLookup in class com.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 by OpenDSLParser.pipelineMatch().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineMatch in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineMatch in class com.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 by OpenDSLParser.pipelineMerge().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineMerge in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineMerge in class com.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 by OpenDSLParser.pipelineOut().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineOut in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineOut in class com.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 by OpenDSLParser.pipelineProject().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineProject in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineProject in class com.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 by OpenDSLParser.pipelineRedact().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineRedact in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineRedact in class com.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 by OpenDSLParser.pipelineReplaceRoot().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineReplaceRoot in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineReplaceRoot in class com.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 by OpenDSLParser.pipelineReplaceWith().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineReplaceWith in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineReplaceWith in class com.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 by OpenDSLParser.pipelineSample().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineSample in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineSample in class com.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 by OpenDSLParser.pipelineSkip().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineSkip in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineSkip in class com.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 by OpenDSLParser.pipelineSort().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineSort in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineSort in class com.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 by OpenDSLParser.pipelineSortByCount().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineSortByCount in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineSortByCount in class com.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 by OpenDSLParser.pipelineUnwind().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPipelineUnwind in interface com.walkfares.odsl.grammar.OpenDSLVisitor<com.google.gson.JsonElement>
      Overrides:
      visitPipelineUnwind in class com.walkfares.odsl.grammar.OpenDSLBaseVisitor<com.google.gson.JsonElement>
      Parameters:
      u - the parse tree
      Returns:
      the visitor result