Query definition.
query_type :: :query | :write
t :: %Instream.Query{query: String.t, type: query_type}