MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getInputFormat

Method getInputFormat

src/Interpreters/Context.cpp:6932–6957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6930}
6931
6932InputFormatPtr Context::getInputFormat(
6933 const String & name,
6934 ReadBuffer & buf,
6935 const Block & sample,
6936 UInt64 max_block_size,
6937 const std::optional<FormatSettings> & format_settings,
6938 const std::optional<UInt64> & max_block_size_bytes,
6939 const std::optional<UInt64> & min_block_size_rows,
6940 const std::optional<UInt64> & min_block_size_bytes) const
6941{
6942 return FormatFactory::instance().getInput(
6943 name,
6944 buf,
6945 sample,
6946 shared_from_this(),
6947 max_block_size,
6948 format_settings,
6949 nullptr,
6950 nullptr,
6951 false,
6952 CompressionMethod::None,
6953 false,
6954 max_block_size_bytes,
6955 min_block_size_rows,
6956 min_block_size_bytes);
6957}
6958
6959OutputFormatPtr Context::getOutputFormat(const String & name, WriteBuffer & buf, const Block & sample, const std::optional<FormatSettings> & format_settings) const
6960{

Callers 13

ShellCommandSourceMethod · 0.45
generateMethod · 0.45
loadAllMethod · 0.45
loadFromQueryMethod · 0.45
createWrappedBufferMethod · 0.45
parseDataMethod · 0.45
getDataMethod · 0.45
LLVMFuzzerTestOneInputFunction · 0.45
sendQueryMethod · 0.45
sendDataFromMethod · 0.45

Calls 1

getInputMethod · 0.80

Tested by

no test coverage detected