public class HiveCompactReaderFactory extends Object implements org.apache.flink.table.filesystem.stream.compact.CompactReader.Factory<org.apache.flink.table.data.RowData>
CompactReader.Factory to delegate hive bulk format.| Constructor and Description |
|---|
HiveCompactReaderFactory(org.apache.hadoop.hive.metastore.api.StorageDescriptor sd,
Properties properties,
org.apache.hadoop.mapred.JobConf jobConf,
org.apache.flink.table.catalog.CatalogTable catalogTable,
String hiveVersion,
org.apache.flink.table.types.logical.RowType producedRowType,
boolean useMapRedReader) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.filesystem.stream.compact.CompactReader<org.apache.flink.table.data.RowData> |
create(org.apache.flink.table.filesystem.stream.compact.CompactContext context) |
public HiveCompactReaderFactory(org.apache.hadoop.hive.metastore.api.StorageDescriptor sd,
Properties properties,
org.apache.hadoop.mapred.JobConf jobConf,
org.apache.flink.table.catalog.CatalogTable catalogTable,
String hiveVersion,
org.apache.flink.table.types.logical.RowType producedRowType,
boolean useMapRedReader)
public org.apache.flink.table.filesystem.stream.compact.CompactReader<org.apache.flink.table.data.RowData> create(org.apache.flink.table.filesystem.stream.compact.CompactContext context)
throws IOException
create in interface org.apache.flink.table.filesystem.stream.compact.CompactReader.Factory<org.apache.flink.table.data.RowData>IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.