@AutoService(value=TableProvider.class) public class ParquetTableProvider extends InMemoryMetaTableProvider
TableProvider
for ParquetIO
for consumption by Beam SQL.
A sample of parquet table is:
CREATE TABLE ORDERS(
name VARCHAR,
favorite_color VARCHAR,
favorite_numbers ARRAY<INTEGER>
)
TYPE 'parquet'
LOCATION '/home/admin/orders/'
Constructor and Description |
---|
ParquetTableProvider() |
Modifier and Type | Method and Description |
---|---|
BeamSqlTable |
buildBeamSqlTable(Table table)
Build a
BeamSqlTable using the given table meta info. |
java.lang.String |
getTableType()
Gets the table type this provider handles.
|
createTable, dropTable, getTables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubProvider, getSubProviders, getTable
public java.lang.String getTableType()
TableProvider
public BeamSqlTable buildBeamSqlTable(Table table)
TableProvider
BeamSqlTable
using the given table meta info.