@Internal public class HBaseDynamicTableSource extends AbstractHBaseDynamicTableSource
ScanTableSource.ScanContext, ScanTableSource.ScanRuntimeProvider
LookupTableSource.LookupContext, LookupTableSource.LookupRuntimeProvider
DynamicTableSource.Context, DynamicTableSource.DataStructureConverter
cache, conf, hbaseSchema, maxRetryTimes, nullStringLiteral, tableName
Constructor and Description |
---|
HBaseDynamicTableSource(org.apache.hadoop.conf.Configuration conf,
String tableName,
HBaseTableSchema hbaseSchema,
String nullStringLiteral,
int maxRetryTimes,
boolean lookupAsync,
LookupCache cache) |
Modifier and Type | Method and Description |
---|---|
DynamicTableSource |
copy()
Creates a copy of this instance during planning.
|
boolean |
equals(Object o) |
protected InputFormat<RowData,?> |
getInputFormat() |
LookupTableSource.LookupRuntimeProvider |
getLookupRuntimeProvider(LookupTableSource.LookupContext context)
Returns a provider of runtime implementation for reading the data.
|
int |
hashCode() |
applyProjection, asSummaryString, getCache, getChangelogMode, getHBaseTableSchema, getMaxRetryTimes, getScanRuntimeProvider, supportsNestedProjection
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
applyProjection
public HBaseDynamicTableSource(org.apache.hadoop.conf.Configuration conf, String tableName, HBaseTableSchema hbaseSchema, String nullStringLiteral, int maxRetryTimes, boolean lookupAsync, @Nullable LookupCache cache)
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
LookupFunctionProvider
,
AsyncLookupFunctionProvider
public DynamicTableSource copy()
DynamicTableSource
protected InputFormat<RowData,?> getInputFormat()
getInputFormat
in class AbstractHBaseDynamicTableSource
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.