1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-12 22:29:58 +00:00

Scaffolding for in-extension filtering

Supports IS NULL and IS NOT NULL checks
This commit is contained in:
Colin Dellow
2018-03-11 13:58:10 -04:00
parent d28ae86d15
commit 830053c1fc
6 changed files with 244 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
#ifndef PARQUET_CURSOR_H
#define PARQUET_CURSOR_H
#include "parquet_filter.h"
#include "parquet_table.h"
#include "parquet/api/reader.h"
@@ -29,12 +30,15 @@ class ParquetCursor {
bool nextRowGroup();
std::vector<Constraint> constraints;
public:
ParquetCursor(ParquetTable* table);
int getRowId();
bool currentRowSatisfiesFilter();
void next();
void close();
void reset();
void reset(std::vector<Constraint> constraints);
bool eof();
void ensureColumn(int col);