com.cloudera.api.model
Class ApiHiveTable

java.lang.Object
  extended by com.cloudera.api.model.ApiHiveTable

public class ApiHiveTable
extends Object

A Hive table identifier.


Constructor Summary
ApiHiveTable()
           
ApiHiveTable(String database, String tableName)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDatabase()
          Name of the database to which this table belongs.
 String getTableName()
          Name of the table.
 int hashCode()
           
 void setDatabase(String database)
           
 void setTableName(String tableName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHiveTable

public ApiHiveTable()

ApiHiveTable

public ApiHiveTable(String database,
                    String tableName)
Method Detail

getDatabase

public String getDatabase()
Name of the database to which this table belongs.


setDatabase

public void setDatabase(String database)

getTableName

public String getTableName()
Name of the table. When used as input for a replication job, this can be a regular expression that matches several table names. Refer to the Hive documentation for the syntax of regular expressions.


setTableName

public void setTableName(String tableName)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.