Class OMatchStatement

All Implemented Interfaces:
Node

public class OMatchStatement extends OStatement
  • Field Details

  • Constructor Details

    • OMatchStatement

      public OMatchStatement()
    • OMatchStatement

      public OMatchStatement(int id)
    • OMatchStatement

      public OMatchStatement(OrientSql p, int id)
  • Method Details

    • getReturnNestedProjections

      public List<ONestedProjection> getReturnNestedProjections()
    • setReturnNestedProjections

      public void setReturnNestedProjections(List<ONestedProjection> returnNestedProjections)
    • addMatchExpression

      public void addMatchExpression(OMatchExpression exp)
    • addNotMatchExpression

      public void addNotMatchExpression(OMatchExpression exp)
    • addReturnNestedProjection

      public void addReturnNestedProjection(ONestedProjection projection)
    • addReturnItem

      public void addReturnItem(OExpression item)
    • addReturnAlias

      public void addReturnAlias(OIdentifier alias)
    • createExecutionPlan

      public OInternalExecutionPlan createExecutionPlan(OCommandContext ctx)
      Description copied from class: OStatement
      creates an execution plan for current statement, with profiling disabled
      Overrides:
      createExecutionPlan in class OStatement
      Parameters:
      ctx - the context that will be used to execute the statement
      Returns:
      an execution plan
    • buildPatterns

      protected void buildPatterns()
    • returnsPathElements

      public boolean returnsPathElements()
    • returnsElements

      public boolean returnsElements()
    • returnsPatterns

      public boolean returnsPatterns()
    • returnsPaths

      public boolean returnsPaths()
    • isIdempotent

      public boolean isIdempotent()
      Overrides:
      isIdempotent in class OStatement
    • toString

      public void toString(Map<Object,Object> params, StringBuilder builder)
      Overrides:
      toString in class OStatement
    • toGenericStatement

      public void toGenericStatement(StringBuilder builder)
      Overrides:
      toGenericStatement in class OStatement
    • copy

      public OMatchStatement copy()
      Overrides:
      copy in class OStatement
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getLimit

      public OLimit getLimit()
    • setLimit

      public void setLimit(OLimit limit)
    • getReturnAliases

      public List<OIdentifier> getReturnAliases()
    • setReturnAliases

      public void setReturnAliases(List<OIdentifier> returnAliases)
    • getReturnItems

      public List<OExpression> getReturnItems()
    • setReturnItems

      public void setReturnItems(List<OExpression> returnItems)
    • getMatchExpressions

      public List<OMatchExpression> getMatchExpressions()
    • setMatchExpressions

      public void setMatchExpressions(List<OMatchExpression> matchExpressions)
    • getNotMatchExpressions

      public List<OMatchExpression> getNotMatchExpressions()
    • setNotMatchExpressions

      public void setNotMatchExpressions(List<OMatchExpression> notMatchExpressions)
    • isReturnDistinct

      public boolean isReturnDistinct()
    • setReturnDistinct

      public void setReturnDistinct(boolean returnDistinct)
    • getOrderBy

      public OOrderBy getOrderBy()
    • setOrderBy

      public void setOrderBy(OOrderBy orderBy)
    • getGroupBy

      public OGroupBy getGroupBy()
    • setGroupBy

      public void setGroupBy(OGroupBy groupBy)
    • getUnwind

      public OUnwind getUnwind()
    • setUnwind

      public void setUnwind(OUnwind unwind)
    • getSkip

      public OSkip getSkip()
    • setSkip

      public void setSkip(OSkip skip)
    • refersToParent

      public boolean refersToParent()
      Overrides:
      refersToParent in class OStatement