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 |
|---|---|
HiveObjectRef |
buildColumnReference(Table table,
String columnName) |
HiveObjectRef |
buildDatabaseReference(Database db) |
HiveObjectRef |
buildGlobalReference() |
HiveObjectRef |
buildPartitionColumnReference(Table table,
String columnName,
List<String> partValues) |
HiveObjectRef |
buildPartitionReference(Partition part) |
HiveObjectRef |
buildTableReference(Table table) |
public HiveObjectRef buildGlobalReference()
public HiveObjectRef buildDatabaseReference(Database db)
public HiveObjectRef buildTableReference(Table table)
public HiveObjectRef buildPartitionReference(Partition part)
public HiveObjectRef buildColumnReference(Table table, String columnName)
public HiveObjectRef buildPartitionColumnReference(Table table, String columnName, List<String> partValues)
Copyright © 2024 The Apache Software Foundation. All rights reserved.