Class SleepExpression

java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.indexinglanguage.expressions.Expression
com.yahoo.vespa.indexinglanguage.expressions.SleepExpression

public final class SleepExpression extends Expression
Utility expression that will sleep the amount of time given in the numeric field. Non-numeric fields will be ignored.
Author:
baldersheim
  • Constructor Details

    • SleepExpression

      public SleepExpression()
  • Method Details

    • isMutating

      public boolean isMutating()
      Description copied from class: Expression
      Returns whether this expression outputs a different value than what it gets as input. Annotating a string value does not count as modifying it.
      Overrides:
      isMutating in class Expression
    • doExecute

      protected void doExecute(ExecutionContext context)
      Specified by:
      doExecute in class Expression
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object