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)
public State makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState
in interface StateFactory
Copyright © 2023 The Apache Software Foundation. All rights reserved.