ClickHouse/dbms/include/DB/Interpreters/Context.h
2011-08-09 19:19:25 +00:00

28 lines
438 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include <map>
#include <Poco/SharedPtr.h>
#include <DB/Core/NamesAndTypes.h>
#include <DB/Functions/IFunction.h>
namespace DB
{
using Poco::SharedPtr;
typedef std::map<String, SharedPtr<IFunction> > Functions;
/** Набор известных объектов, которые могут быть использованы в запросе.
*/
struct Context
{
Functions functions;
NamesAndTypes columns;
};
}