// String returns a readable description of the execution plan.
434940
func (p *queryPlan) String(ctx context.Context) string {
	b := bytes.NewBufferString("QUERY plan:\n\n")
	b.WriteString("using store(\"")
	b.WriteString(p.store.Name(nil))
	b.WriteString(fmt.Sprintf("\") graphs %v\nresolve\n", p.grfsNames))
	for _, c := range p.cls {
		b.WriteString("\t")
		b.WriteString(c.String())
		b.WriteString("\n")
	}
	b.WriteString("project results using\n")
	for _, p := range p.stm.Projection() {
		b.WriteString("\t")
		b.WriteString(p.String())
		b.WriteString("\n")
	}
	if gb := p.stm.GroupBy(); gb != nil {
		b.WriteString("group results using\n")
		for _, g := range gb {
			b.WriteString("\t")
			b.WriteString(g)
			b.WriteString("\n")
		}
	}
	if ob := p.stm.OrderBy(); ob != nil {
		b.WriteString("order results by ")
		b.WriteString(ob.String())
		b.WriteString("\n")
	}
	if hv := p.stm.HavingExpression(); hv != nil {
		b.WriteString("having projected values\n")
		for _, h := range hv {
			b.WriteString("\t")
			b.WriteString(h.Token().String())
			b.WriteString("\n")
		}
	}
	if p.stm.HasLimit() {
		b.WriteString("limit results to ")
		b.WriteString(fmt.Sprintf("%d", p.stm.Limit()))
		b.WriteString(" rows\n")
	}
	return b.String()
}
433497
func (r Spec) String() string {
	if r.Object == "" {
		return r.Locator
	}
	if r.Object[:1] == "@" {
		return fmt.Sprintf("%v%v", r.Locator, r.Object)
	}

	return fmt.Sprintf("%v:%v", r.Locator, r.Object)
}
207003
func (this Map) String() string {
	wr := bytes.NewBuffer(nil)
	fmt.Fprint(wr, "Map[")
	for k, v := range this {
		fmt.Fprintf(wr, "%v: %v", k, print(v))
	}
	fmt.Fprintf(wr, "]")
	return wr.String()
}
853653
func (c *Configure) String(name string, def string, description string) *string {
	s := new(string)
	c.StringVar(s, name, def, description)

	return s
}
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)
}
1224426
func String() string {
	return "v" + strconv.Itoa(Major) + "." + strconv.Itoa(Minor) + "." + strconv.Itoa(Build)
}
178382
func (info Info) String() string {
	version := info.GitVersion
	if version == "" {
		version = "unknown"
	}
	return version
}
797641
func (v Version) String() string {
	return fmt.Sprintf("%d.%d", v.Scalar, v.PID)
}
1312875
func (n *NotCodeExpr) String() string {
	return fmt.Sprintf("%s: %T{Code: %v}", n.p, n, n.Code)
}
9880
func (p *ProcessInfo) String() string {
	if p.rendered == "" {
		p.rendered = renderStatsString(p.Message, p)
	}

	return p.rendered
}
404302
func (pp *Publish) String() string {
	return fmt.Sprintf("<Publish ID=%d Message=%s Dup=%t>",
		pp.ID, pp.Message.String(), pp.Dup)
}
666821
func (c *ControlVChuPasswordWarning) String() string {
	return fmt.Sprintf(
		"Control Type: %s (%q)  Criticality: %t  Expire: %b",
		ControlTypeMap[ControlTypeVChuPasswordWarning],
		ControlTypeVChuPasswordWarning,
		false,
		c.Expire)
}
464167
func (p *PathSpec) String() string {
	return fmt.Sprintf("%s%s", p.Path, p.Hash)
}
970811
func (v *VersionInfo) String() string {
	buf := &bytes.Buffer{}
	fmt.Fprintf(buf, "SemVer: %s\n", v.SemVer)
	fmt.Fprintf(buf, "OsArch: %s\n", v.Arch)
	fmt.Fprintf(buf, "Branch: %s\n", v.Branch)
	fmt.Fprintf(buf, "Commit: %s\n", v.ShaLong)
	fmt.Fprintf(buf, "Formed: %s\n", v.BuildTimestamp.Format(time.RFC1123))
	return buf.String()
}
1117291
func (c *RuntimeCondition) String() string {
	return fmt.Sprintf("%s=%t reason:%s message:%s", c.Type, c.Status, c.Reason, c.Message)
}
40415
func (o Op) String() string {
	switch o {
	case Insert:
		return "insert"
	case Update:
		return "update"
	case Delete:
		return "delete"
	case Command:
		return "command"
	case Noop:
		return "noop"
	case Skip:
		return "skip"
	default:
		return "unknown"
	}
}
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)
}