func (query InwQueryBuilder) Distance() InwQueryBuilder {
	query.searchOpts.Distance = true
	return query
}
Distance allows to return between objects.
Only for NEARBY command.
package t38c
type InwQueryBuilder struct {
	client       tile38Client
	cmd          string
	key          string
	area         cmd
	outputFormat *OutputFormat
	searchOpts   searchOpts
}
func newInwQueryBuilder(client tile38Client, cmd, key string, area cmd) InwQueryBuilder {
	return InwQueryBuilder{
		client: client,
		cmd:    cmd,
		key:    key,
		area:   area,
	}
}
func (query InwQueryBuilder) toCmd() cmd {
	args := []string{query.key}
	args = append(args, query.searchOpts.Args()...)
	if query.outputFormat != nil {
		args = append(args, query.outputFormat.Name)
		args = append(args, query.outputFormat.Args...)
	}
	args = append(args, query.area.Name)
	args = append(args, query.area.Args...)
	return newCmd(query.cmd, args...)
}
func (query InwQueryBuilder) Do() (*SearchResponse, error) {
	cmd := query.toCmd()
	resp := new(SearchResponse)
	err := query.client.jExecute(resp, cmd.Name, cmd.Args...)
	return resp, err
}
func (query InwQueryBuilder) Cursor(cursor int) InwQueryBuilder {
	query.searchOpts.Cursor = &cursor
	return query
}
func (query InwQueryBuilder) Limit(limit int) InwQueryBuilder {
	query.searchOpts.Limit = &limit
	return query
}
func (query InwQueryBuilder) Sparse(sparse int) InwQueryBuilder {
	query.searchOpts.Sparse = &sparse
	return query
}
func (query InwQueryBuilder) Match(pattern string) InwQueryBuilder {
	query.searchOpts.Match = append(query.searchOpts.Match, pattern)
	return query
}