@AutoService(value=TableProvider.class) public class TextTableProvider extends InMemoryMetaTableProvider
A sample of text table is:
 CREATE TABLE ORDERS(
   ID INT COMMENT 'this is the primary key',
   NAME VARCHAR(127) COMMENT 'this is the name'
 )
 TYPE 'text'
 COMMENT 'this is the table orders'
 LOCATION '/home/admin/orders'
 TBLPROPERTIES '{"format":"csv", "csvformat": "Excel"}' -- format of each text line(csv format)
 | Modifier and Type | Class and Description | 
|---|---|
| static class  | TextTableProvider.CsvToRowRead-side converter for  TextTablewith format'csv'. | 
| static class  | TextTableProvider.LinesReadConverterRead-side converter for  TextTablewith format'lines'. | 
| static class  | TextTableProvider.LinesWriteConverterWrite-side converter for for  TextTablewith format'lines'. | 
| Constructor and Description | 
|---|
| TextTableProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| BeamSqlTable | buildBeamSqlTable(Table table)Build a  BeamSqlTableusing 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.