public class HiveObjectRefBuilder extends Object
HiveObjectRef. Unlike most builders (which allow a gradual building up
of the values) this gives a number of methods that take the object to be referenced and then
build the appropriate reference. This is intended primarily for use with
HiveObjectPrivilegeBuilder| Constructor and Description |
|---|
HiveObjectRefBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.metastore.api.HiveObjectRef |
buildColumnReference(org.apache.hadoop.hive.metastore.api.Table table,
String columnName) |
org.apache.hadoop.hive.metastore.api.HiveObjectRef |
buildDatabaseReference(org.apache.hadoop.hive.metastore.api.Database db) |
org.apache.hadoop.hive.metastore.api.HiveObjectRef |
buildGlobalReference() |
org.apache.hadoop.hive.metastore.api.HiveObjectRef |
buildPartitionReference(org.apache.hadoop.hive.metastore.api.Partition part) |
org.apache.hadoop.hive.metastore.api.HiveObjectRef |
buildTableReference(org.apache.hadoop.hive.metastore.api.Table table) |
public org.apache.hadoop.hive.metastore.api.HiveObjectRef buildGlobalReference()
public org.apache.hadoop.hive.metastore.api.HiveObjectRef buildDatabaseReference(org.apache.hadoop.hive.metastore.api.Database db)
public org.apache.hadoop.hive.metastore.api.HiveObjectRef buildTableReference(org.apache.hadoop.hive.metastore.api.Table table)
public org.apache.hadoop.hive.metastore.api.HiveObjectRef buildPartitionReference(org.apache.hadoop.hive.metastore.api.Partition part)
public org.apache.hadoop.hive.metastore.api.HiveObjectRef buildColumnReference(org.apache.hadoop.hive.metastore.api.Table table,
String columnName)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.