Class InsertData

All Implemented Interfaces:
Serializable, Cloneable, GraphPatternGroupable, QueryModelNode, UpdateExpr, VariableScopeChange

public class InsertData extends AbstractQueryModelNode implements UpdateExpr
Author:
jeen
See Also:
  • Constructor Details

    • InsertData

      public InsertData(String dataBlock)
  • Method Details

    • visit

      public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X
      Description copied from interface: QueryModelNode
      Visits this node. The node reports itself to the visitor with the proper runtime type.
      Specified by:
      visit in interface QueryModelNode
      Throws:
      X extends Exception
    • getDataBlock

      public String getDataBlock()
    • equals

      public boolean equals(Object other)
      Description copied from interface: QueryModelNode
      Returns true if this query model node and its children are recursively equal to o and its children.
      Specified by:
      equals in interface QueryModelNode
      Overrides:
      equals in class Object
    • hashCode

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

      public InsertData clone()
      Description copied from interface: QueryModelNode
      Returns a (deep) clone of this query model node. This method recursively clones the entire node tree, starting from this nodes.
      Specified by:
      clone in interface QueryModelNode
      Specified by:
      clone in interface UpdateExpr
      Overrides:
      clone in class AbstractQueryModelNode
      Returns:
      A deep clone of this query model node.
    • isSilent

      public boolean isSilent()
      Specified by:
      isSilent in interface UpdateExpr
      Returns:
      Returns the silent.
    • getLineNumberOffset

      public int getLineNumberOffset()
      Returns:
      the lineNumberCorrection
    • setLineNumberOffset

      public void setLineNumberOffset(int lineNumberOffset)