osquery-1/osquery/sql
Jonathan Keljo 1870fd86d8 Introduce TableRow interface
Summary:
Continuing to march toward low-overhead, type-safe table rows, this commit
changes `TableRow` to be an interface rather than simply an alias for `Row`.
Accordingly, `DynamicTableRow` becomes an implementation of that interface
backed by a `Row`. The few remaining pieces of code that treated `TableRow`s as
`Row`s now call methods on the `TableRow` interface. Subsequent commits will
add code generation for strongly-typed table-specific implementations of
`TableRow`.

(Adapted from https://github.com/facebook/osquery/pull/5198)

Reviewed By: guliashvili

Differential Revision: D13438015

fbshipit-source-id: 61d5547e878e519c9706f94f844aab9d3e553410
2019-01-09 13:50:15 -08:00
..
benchmarks Make TableRows more abstract 2019-01-09 13:50:15 -08:00
tests Introduce TableRow interface 2019-01-09 13:50:15 -08:00
BUCK Introduce TableRow interface 2019-01-09 13:50:15 -08:00
dynamic_table_row.cpp Introduce TableRow interface 2019-01-09 13:50:15 -08:00
dynamic_table_row.h Introduce TableRow interface 2019-01-09 13:50:15 -08:00
sql.cpp Plumb columns used as a bitfield 2018-12-12 10:40:58 -08:00
sqlite_encoding.cpp Move build system to BUCK 2018-12-07 16:12:35 +00:00
sqlite_filesystem.cpp fixed error when wrong directory separator was used (#4695) 2018-07-12 10:42:49 +01:00
sqlite_hashing.cpp Move build system to BUCK 2018-12-07 16:12:35 +00:00
sqlite_math.cpp Move build system to BUCK 2018-12-07 16:12:35 +00:00
sqlite_operations.cpp Move build system to BUCK 2018-12-07 16:12:35 +00:00
sqlite_string.cpp Move build system to BUCK 2018-12-07 16:12:35 +00:00
sqlite_util.cpp Get typed data from sqlite 2019-01-09 09:06:57 -08:00
sqlite_util.h Prefactor: QueryData -> TableRows for virtual tables 2019-01-09 13:50:15 -08:00
virtual_sqlite_table.cpp Introduce TableRow interface 2019-01-09 13:50:15 -08:00
virtual_table.cpp Introduce TableRow interface 2019-01-09 13:50:15 -08:00
virtual_table.h Make TableRows more abstract 2019-01-09 13:50:15 -08:00