public class HiveMetadataFactory extends Object implements Supplier<TransactionalMetadata>
| Constructor and Description |
|---|
HiveMetadataFactory(HiveConfig hiveConfig,
HiveMetastore metastore,
HdfsEnvironment hdfsEnvironment,
HivePartitionManager partitionManager,
ExecutorService executorService,
TypeManager typeManager,
LocationService locationService,
io.airlift.json.JsonCodec<PartitionUpdate> partitionUpdateCodec,
TypeTranslator typeTranslator,
NodeVersion nodeVersion) |
HiveMetadataFactory(HiveMetastore metastore,
HdfsEnvironment hdfsEnvironment,
HivePartitionManager partitionManager,
org.joda.time.DateTimeZone timeZone,
int maxConcurrentFileRenames,
boolean allowCorruptWritesForTesting,
boolean skipDeletionForAlter,
boolean skipTargetCleanupOnRollback,
boolean writesToNonManagedTablesEnabled,
boolean createsOfNonManagedTablesEnabled,
long perTransactionCacheMaximumSize,
int maxPartitions,
TypeManager typeManager,
LocationService locationService,
io.airlift.json.JsonCodec<PartitionUpdate> partitionUpdateCodec,
ExecutorService executorService,
TypeTranslator typeTranslator,
String prestoVersion) |
@Inject public HiveMetadataFactory(HiveConfig hiveConfig, HiveMetastore metastore, HdfsEnvironment hdfsEnvironment, HivePartitionManager partitionManager, ExecutorService executorService, TypeManager typeManager, LocationService locationService, io.airlift.json.JsonCodec<PartitionUpdate> partitionUpdateCodec, TypeTranslator typeTranslator, NodeVersion nodeVersion)
public HiveMetadataFactory(HiveMetastore metastore, HdfsEnvironment hdfsEnvironment, HivePartitionManager partitionManager, org.joda.time.DateTimeZone timeZone, int maxConcurrentFileRenames, boolean allowCorruptWritesForTesting, boolean skipDeletionForAlter, boolean skipTargetCleanupOnRollback, boolean writesToNonManagedTablesEnabled, boolean createsOfNonManagedTablesEnabled, long perTransactionCacheMaximumSize, int maxPartitions, TypeManager typeManager, LocationService locationService, io.airlift.json.JsonCodec<PartitionUpdate> partitionUpdateCodec, ExecutorService executorService, TypeTranslator typeTranslator, String prestoVersion)
public HiveMetadata get()
get in interface Supplier<TransactionalMetadata>Copyright © 2012–2019. All rights reserved.