@AutoService(value=TableProvider.class) public class AvroTableProvider extends InMemoryMetaTableProvider
TableProvider for AvroTable.
A sample of avro table is:
CREATE EXTERNAL TABLE ORDERS(
name VARCHAR,
favorite_color VARCHAR,
favorite_numbers ARRAY<INTEGER>
)
TYPE 'avro'
LOCATION '/tmp/persons.avro'
| Constructor and Description |
|---|
AvroTableProvider() |
| 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, getTablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubProvider, getSubProviders, getTablepublic java.lang.String getTableType()
TableProviderpublic BeamSqlTable buildBeamSqlTable(Table table)
TableProviderBeamSqlTable using the given table meta info.