@Internal public class HBaseDynamicTableSource extends AbstractHBaseDynamicTableSource
ScanTableSource.ScanContext, ScanTableSource.ScanRuntimeProvider
LookupTableSource.LookupContext, LookupTableSource.LookupRuntimeProvider
DynamicTableSource.Context, DynamicTableSource.DataStructureConverter
conf, hbaseSchema, lookupOptions, nullStringLiteral, tableName
Constructor and Description |
---|
HBaseDynamicTableSource(Configuration conf,
String tableName,
HBaseTableSchema hbaseSchema,
String nullStringLiteral,
HBaseLookupOptions lookupOptions) |
Modifier and Type | Method and Description |
---|---|
DynamicTableSource |
copy()
Creates a copy of this instance during planning.
|
protected InputFormat<RowData,?> |
getInputFormat() |
HBaseLookupOptions |
getLookupOptions() |
LookupTableSource.LookupRuntimeProvider |
getLookupRuntimeProvider(LookupTableSource.LookupContext context)
Returns a provider of runtime implementation for reading the data.
|
applyProjection, asSummaryString, getChangelogMode, getHBaseTableSchema, getScanRuntimeProvider, supportsNestedProjection
public HBaseDynamicTableSource(Configuration conf, String tableName, HBaseTableSchema hbaseSchema, String nullStringLiteral, HBaseLookupOptions lookupOptions)
public LookupTableSource.LookupRuntimeProvider getLookupRuntimeProvider(LookupTableSource.LookupContext context)
LookupTableSource
There exist different interfaces for runtime implementation which is why LookupTableSource.LookupRuntimeProvider
serves as the base interface.
Independent of the provider interface, a source implementation can work on either
arbitrary objects or internal data structures (see org.apache.flink.table.data
for
more information).
The given LookupTableSource.LookupContext
offers utilities by the planner for creating runtime
implementation with minimal dependencies to internal data structures.
getLookupRuntimeProvider
in interface LookupTableSource
getLookupRuntimeProvider
in class AbstractHBaseDynamicTableSource
TableFunctionProvider
,
AsyncTableFunctionProvider
public DynamicTableSource copy()
DynamicTableSource
protected InputFormat<RowData,?> getInputFormat()
getInputFormat
in class AbstractHBaseDynamicTableSource
@VisibleForTesting public HBaseLookupOptions getLookupOptions()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.