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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user