Package org.apache.calcite.adapter.csv
Calcite query provider that reads from CSV (comma-separated value) files.
A Calcite schema maps onto a directory, and each CSV file in that directory appears as a table. Full SQL operations are available on those tables.
-
Class Summary Class Description CsvEnumerator<E> Enumerator that reads from a CSV file.CsvEnumerator.ArrayRowConverter Array row converter.CsvEnumerator.RowConverter<E> Row converter.CsvEnumerator.SingleColumnRowConverter Single column row converter.CsvFilterableTable Table based on a CSV file that can implement simple filtering.CsvProjectTableScanRule Planner rule that projects from aCsvTableScan
scan just the columns needed to satisfy a projection.CsvScannableTable Table based on a CSV file.CsvSchema Schema mapped onto a directory of CSV files.CsvSchemaFactory Factory that creates aCsvSchema
.CsvStreamReader Extension toCSVReader
that can read newly appended file content.CsvStreamReader.CsvContentListener Watches for content being appended to a CSV file.CsvStreamScannableTable Table based on a CSV file.CsvStreamTableFactory Factory that creates aCsvTranslatableTable
.CsvTable Base class for table that reads CSV files.CsvTableFactory Factory that creates aCsvTranslatableTable
.CsvTableScan Relational expression representing a scan of a CSV file.CsvTranslatableTable Table based on a CSV file.JsonEnumerator Enumerator that reads from a JSON file.JsonTable Table based on a JSON file. -
Enum Summary Enum Description CsvFieldType Type of a field in a CSV file.CsvTable.Flavor Various degrees of table "intelligence".