HBASE-742 Rename getMetainfo in HTable as getTableDescriptor

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676031 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-07-11 17:24:39 +00:00
parent e60a8373d5
commit e652891ce1
2 changed files with 10 additions and 2 deletions

View File

@ -178,6 +178,8 @@ Trunk (unreleased changes)
HBASE-734 scan '.META.', {LIMIT => 10} crashes (Izaak Rubin via Stack)
HBASE-736 Should have HTable.deleteAll(String row) and HTable.deleteAll(Text row)
(Jean-Daniel Cryans via Stack)
HBASE-740 ThriftServer getting table names incorrectly (Tim Sell via Stack)
HBASE-742 Rename getMetainfo in HTable as getTableDescriptor
IMPROVEMENTS
HBASE-559 MR example job to count table rows
@ -280,7 +282,6 @@ Trunk (unreleased changes)
(Jean-Daniel Cryans via Stack)
HBASE-730 On startup, rinse STARTCODE and SERVER from .META.
(Jean-Daniel Cryans via Stack)
HBASE-740 ThriftServer getting table names incorrectly (Tim Sell via Stack)
NEW FEATURES
HBASE-47 Option to set TTL for columns in hbase

View File

@ -233,9 +233,16 @@ public class HTable {
* @return table metadata
* @throws IOException
*/
// Why is this deprecated? What should be used instead? St.Ack
@Deprecated
public HTableDescriptor getMetadata() throws IOException {
return getTableDescriptor();
}
/**
* @return table metadata
* @throws IOException
*/
public HTableDescriptor getTableDescriptor() throws IOException {
return this.connection.getHTableDescriptor(this.tableName);
}