public class HiveStateFactory extends Object implements StateFactory
Constructor and Description |
---|
HiveStateFactory() |
Modifier and Type | Method and Description |
---|---|
State |
makeState(Map 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 conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState
in interface StateFactory
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.