public class HiveSchemaFactory extends AbstractSchemaFactory
DEFAULT_WS_NAME
Constructor and Description |
---|
HiveSchemaFactory(HiveStoragePlugin plugin,
String name,
org.apache.hadoop.hive.conf.HiveConf hiveConf) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this schema factory in preparation for retrying.
|
void |
registerSchemas(SchemaConfig schemaConfig,
org.apache.calcite.schema.SchemaPlus parent)
Register the schemas provided by this SchemaFactory implementation under the given parent schema.
|
getName
public HiveSchemaFactory(HiveStoragePlugin plugin, String name, org.apache.hadoop.hive.conf.HiveConf hiveConf) throws ExecutionSetupException
ExecutionSetupException
public void close()
public void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws IOException
SchemaFactory
schemaConfig
- Configuration for schema objects.parent
- Reference to parent schema.IOException
- in case of error during schema registrationCopyright © 1970 The Apache Software Foundation. All rights reserved.