func (sq *SearchQuery) Marshal(dst []byte) []byte {
	dst = encoding.MarshalVarInt64(dst, sq.MinTimestamp)
	dst = encoding.MarshalVarInt64(dst, sq.MaxTimestamp)
	dst = encoding.MarshalVarUint64(dst, uint64(len(sq.TagFilterss)))
	for _, tagFilters := range sq.TagFilterss {
		dst = encoding.MarshalVarUint64(dst, uint64(len(tagFilters)))
		for i := range tagFilters {
			dst = tagFilters[i].Marshal(dst)
		}
	}
	return dst
}
// Marshal appends marshaled sq to dst and returns the result.
Marshal appends marshaled sq to dst and returns the result.
// Marshal appends marshaled sq to dst and returns the result .
func (sq *SearchQuery) Marshal(dst []byte) []byte {
	dst = encoding.MarshalVarInt64(dst, sq.MinTimestamp)
	dst = encoding.MarshalVarInt64(dst, sq.MaxTimestamp)
	dst = encoding.MarshalVarUint64(dst, uint64(len(sq.TagFilterss)))
	for _, tagFilters := range sq.TagFilterss {
		dst = encoding.MarshalVarUint64(dst, uint64(len(tagFilters)))
		for i := range tagFilters {
			dst = tagFilters[i].Marshal(dst)
		}
	}
	return dst
}
func ( sq * SearchQuery ) Marshal ( dst [ ] byte ) [ ] byte { dst = encoding . MarshalVarInt64 ( dst , sq . MinTimestamp ) dst = encoding . MarshalVarInt64 ( dst , sq . MaxTimestamp ) dst = encoding . MarshalVarUint64 ( dst , uint64 ( len ( sq . TagFilterss ) ) ) for _ , tagFilters := range sq . TagFilterss { dst = encoding . MarshalVarUint64 ( dst , uint64 ( len ( tagFilters ) ) ) for i := range tagFilters { dst = tagFilters [ i ] . Marshal ( dst ) } } return dst }
Marshal appends marshaled sq to dst and returns the result.
Marshal appends marshaled sq to dst and returns the result .