// String returns a readable description of the execution plan.
501122
func (p *constructPlan) String(ctx context.Context) string {
	b := bytes.NewBufferString("DECONSTRUCT plan:\n\n")
	if p.construct {
		b = bytes.NewBufferString("CONSTRUCT plan:\n\n")
	}
	b.WriteString("Input graphs:\n")
	for _, gn := range p.stm.InputGraphNames() {
		b.WriteString(fmt.Sprintf("\t%v\n", gn))
	}
	b.WriteString("Output graphs:\n")
	for _, gn := range p.stm.OutputGraphNames() {
		b.WriteString(fmt.Sprintf("\t%v\n", gn))
	}
	b.WriteString("Construct clauses:\n")
	for _, cc := range p.stm.ConstructClauses() {
		b.WriteString(fmt.Sprintf("\t%v\n", cc))
	}
	b.WriteString(fmt.Sprintf("\n%v", p.queryPlan.String(ctx)))
	return b.String()
}
1240294
func (e *Endpoint) String() string {
	e.UnconditionalRLock()
	defer e.RUnlock()
	b, err := json.MarshalIndent(e, "", "  ")
	if err != nil {
		return err.Error()
	}
	return string(b)
}
258701
func (v CompatibilityAction) String() string {
	actions := map[CompatibilityAction]string{
		compatRebuild: "rebuild",
		compatUpgrade: "upgrade",
		compatReindex: "reindex",
		compatOK:      "ok",
	}
	if actionStr, ok := actions[v]; ok {
		return actionStr
	}
	return "unknown"
}
888546
func (m *ProposalPOLMessage) String() string {
	return fmt.Sprintf("[ProposalPOL H:%v POLR:%v POL:%v]", m.Height, m.ProposalPOLRound, m.ProposalPOL)
}
656035
func (b *Builder) String() string {
	if b == nil {
		// Special case, useful in debugging.
		return "<nil>"
	}
	return string(b.buf[b.off:])
}
1194789
func (t *Tracker) String() string {
	buffer := bytes.NewBufferString("\n")
	t.toString("", buffer)
	return buffer.String()
}
462887
func (s *Summary) String() string {
	return fmt.Sprintf(
		"\n{Connections: %d, RequestRate: %d, RequestTotal: %d, SuccessTotal: %d, ErrorTotal: %d, TimeElapsed: %s, Throughput: %.2f/s}",
		s.Connections, s.RequestRate, (s.SuccessTotal + s.ErrorTotal), s.SuccessTotal, s.ErrorTotal, s.TimeElapsed, s.Throughput)
}
414746
func (p *parserMixin) String() (target *string) {
	target = new(string)
	p.StringVar(target)
	return
}
282761
func (c *ControlString) String() string {
	return fmt.Sprintf("Control Type: %s (%q)  Criticality: %t  Control Value: %s", ControlTypeMap[c.ControlType], c.ControlType, c.Criticality, c.ControlValue)
}
115970
func (t *TablePropApplyActions) String() string {
	const text = "TablePropApplyActions{Miss: %v, Actions: [%v]}"
	return fmt.Sprintf(text, t.Miss, t.Actions)
}
1260754
func (c *ControlBeheraPasswordPolicy) String() string {
	return fmt.Sprintf(
		"Control Type: %s (%q)  Criticality: %t  Expire: %d  Grace: %d  Error: %d, ErrorString: %s",
		ControlTypeMap[ControlTypeBeheraPasswordPolicy],
		ControlTypeBeheraPasswordPolicy,
		false,
		c.Expire,
		c.Grace,
		c.Error,
		c.ErrorString)
}
429092
func (r Results) String() string {
	b, err := json.Marshal(r)
	if err != nil {
		return ""
	}
	return string(b)
}
947313
func (i *Intention) String() string {
	return fmt.Sprintf("%s => %s (%s)",
		i.SourceString(),
		i.DestinationString(),
		i.Action)
}
769873
func (r *Linear) String() string {
	return fmt.Sprintf("Linear(attempt=%v, duration=%v)", r.attempt, r.Duration())
}
147665
func (r *Application) String() string {
	s, err := json.MarshalIndent(r, "", "  ")
	if err != nil {
		return fmt.Sprintf(`{"error": "error decoding type into json: %s"}`, err)
	}

	return string(s)
}
726368
func (p Path) String() string {
	var parts []string
	for _, cmd := range p {
		parts = append(parts, cmd.Name)
	}
	return strings.Join(parts, " ")
}
1034057
func (l *LabeledExpr) String() string {
	return fmt.Sprintf("%s: %T{Label: %v, Expr: %v}", l.p, l, l.Label, l.Expr)
}