@AutoService(value=TableProvider.class) public class ParquetTableProvider extends SchemaIOTableProviderWrapper
TableProvider
for ParquetIO
for consumption by Beam SQL.
Passes the ParquetSchemaIOProvider
to the generalized table provider wrapper, SchemaIOTableProviderWrapper
, for Parquet specific behavior.
A sample of parquet table is:
CREATE TABLE ORDERS(
name VARCHAR,
favorite_color VARCHAR,
favorite_numbers ARRAY<INTEGER>
)
TYPE 'parquet'
LOCATION '/home/admin/users.parquet'
Constructor and Description |
---|
ParquetTableProvider() |
Modifier and Type | Method and Description |
---|---|
SchemaIOProvider |
getSchemaIOProvider() |
java.lang.String |
getTableType()
Gets the table type this provider handles.
|
buildBeamSqlTable, getTableStatistics
createTable, dropTable, getTables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubProvider, getSubProviders, getTable
public SchemaIOProvider getSchemaIOProvider()
getSchemaIOProvider
in class SchemaIOTableProviderWrapper
public java.lang.String getTableType()
TableProvider
getTableType
in interface TableProvider
getTableType
in class SchemaIOTableProviderWrapper