Class ExecutionId

java.lang.Object
graphql.execution.ExecutionId

@PublicApi public class ExecutionId extends Object
This opaque identifier is used to identify a unique query execution
  • Method Details

    • generate

      public static ExecutionId generate()
      Create an unique identifier from the given string
      Returns:
      a query execution identifier
    • from

      public static ExecutionId from(String id)
      Create an identifier from the given string
      Parameters:
      id - the string to wrap
      Returns:
      a query identifier
    • toString

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object