func (n *ShowIndexes) String() string {
	return fmt.Sprintf("ShowIndexes(%s)", n.Child)
}
String implements the fmt.Stringer interface.
package plan
import (
	"fmt"
	"io"
	"github.com/dolthub/go-mysql-server/sql"
)
type ShowIndexes struct {
	UnaryNode
	IndexesToShow []sql.Index
}
func NewShowIndexes(table sql.Node) sql.Node {
	return &ShowIndexes{
		UnaryNode: UnaryNode{table},
	}
}
var _ sql.Node = (*ShowIndexes)(nil)
func (n *ShowIndexes) WithChildren(children ...sql.Node) (sql.Node, error) {
	if len(children) != 1 {
		return nil, sql.ErrInvalidChildrenNumber.New(n, len(children), 1)
	}
	return &ShowIndexes{
		UnaryNode:     UnaryNode{children[0]},
		IndexesToShow: n.IndexesToShow,
	}, nil
}