java.lang.Object
org.apache.beam.sdk.extensions.sql.meta.BaseBeamTable
org.apache.beam.sdk.extensions.sql.meta.provider.hcatalog.HCatalogTable
All Implemented Interfaces:
BeamSqlTable

public abstract class HCatalogTable extends BaseBeamTable
Beam SQL table that wraps HCatalogIO.

Reads HCatRecords and converts them to Rows.

  • Constructor Details

    • HCatalogTable

      public HCatalogTable()
  • Method Details

    • schema

      public abstract Schema schema()
    • config

      public abstract Map<String,String> config()
    • database

      public abstract String database()
    • table

      public abstract String table()
    • buildIOReader

      public PCollection<Row> buildIOReader(PBegin begin)
      Description copied from interface: BeamSqlTable
      create a PCollection<Row> from source.
    • buildIOWriter

      public POutput buildIOWriter(PCollection<Row> input)
      Description copied from interface: BeamSqlTable
      create a IO.write() instance to write to target.
    • isBounded

      public PCollection.IsBounded isBounded()
      Description copied from interface: BeamSqlTable
      Whether this table is bounded (known to be finite) or unbounded (may or may not be finite).
    • getSchema

      public Schema getSchema()
      Description copied from interface: BeamSqlTable
      Get the schema info of the table.