public class HiveStateFactory extends Object implements StateFactory
| Constructor and Description |
|---|
HiveStateFactory() |
| Modifier and Type | Method and Description |
|---|---|
State |
makeState(Map<String,Object> conf,
IMetricsContext metrics,
int partitionIndex,
int numPartitions) |
HiveStateFactory |
withOptions(HiveOptions options)
The options for connecting to Hive.
|
public HiveStateFactory withOptions(HiveOptions options)
The options for connecting to Hive.
public State makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState in interface StateFactoryCopyright © 2021 The Apache Software Foundation. All rights reserved.