Generate a match_spec based on the passed query
spec() :: :ets.match_spec | :ets.compiled_match_spec
compile(:ets.match_spec) :: {:ok, :ets.compiled_match_spec} | {:error, term}
compile!(:ets.match_spec) :: :ets.compiled_match_spec | no_return
run(spec, tuple | [tuple]) :: {:ok, term} | {:error, term}
run!(spec, tuple | [tuple]) :: term | no_return
Generate a match_spec based on the passed query.