Class SampleExec

All Implemented Interfaces:
NamedWriteable, Writeable

public class SampleExec extends UnaryExec
  • Field Details

  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Throws:
      IOException
    • replaceChild

      public UnaryExec replaceChild(PhysicalPlan newChild)
      Specified by:
      replaceChild in class UnaryExec
    • info

      protected NodeInfo<? extends PhysicalPlan> info()
      Description copied from class: Node
      Normally, you want to use one of the static create methods to implement this.

      For QueryPlans, it is very important that the properties contain all of the expressions and references relevant to this node, and that all the properties are used in the provided constructor; otherwise query plan transformations like QueryPlan#transformExpressionsOnly(Function) will not have an effect.

      Specified by:
      info in class Node<PhysicalPlan>
    • getWriteableName

      public String getWriteableName()
      Returns the name of the writeable object
    • probability

      public Expression probability()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class UnaryExec
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class UnaryExec