MCPcopy Create free account
hub / github.com/apache/arrow / ParquetInvalidOrCorruptedFileException

Class ParquetInvalidOrCorruptedFileException

cpp/src/parquet/exception.h:151–164  ·  view source on GitHub ↗

This class exists for the purpose of detecting an invalid or corrupted file.

Source from the content-addressed store, hash-verified

149
150// This class exists for the purpose of detecting an invalid or corrupted file.
151class ParquetInvalidOrCorruptedFileException : public ParquetStatusException {
152 public:
153 ParquetInvalidOrCorruptedFileException(const ParquetInvalidOrCorruptedFileException&) =
154 default;
155
156 template <typename Arg,
157 typename std::enable_if<
158 !std::is_base_of<ParquetInvalidOrCorruptedFileException, Arg>::value,
159 int>::type = 0,
160 typename... Args>
161 explicit ParquetInvalidOrCorruptedFileException(Arg arg, Args&&... args)
162 : ParquetStatusException(::arrow::Status::Invalid(std::forward<Arg>(arg),
163 std::forward<Args>(args)...)) {}
164};
165
166template <typename StatusReturnBlock>
167void ThrowNotOk(StatusReturnBlock&& b) {

Callers 4

VerifySignatureMethod · 0.85
GetFooterReadSizeMethod · 0.85
ParseFooterLengthMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected