com.cloudera.api.model
Class ApiHiveTable
java.lang.Object
com.cloudera.api.model.ApiHiveTable
public class ApiHiveTable
- extends Object
A Hive table identifier.
ApiHiveTable
public ApiHiveTable()
ApiHiveTable
public ApiHiveTable(String database,
String tableName)
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.