org.apache.hadoop.hive.metastore
Class ROTable
java.lang.Object
org.apache.hadoop.hive.metastore.ROTable
- Direct Known Subclasses:
- RWTable
public class ROTable
- extends Object
Constructor Summary |
protected |
ROTable()
|
protected |
ROTable(DB parent,
String tableName,
org.apache.hadoop.conf.Configuration conf)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tableName_
protected String tableName_
schema_
protected Properties schema_
conf_
protected org.apache.hadoop.conf.Configuration conf_
whPath_
protected org.apache.hadoop.fs.Path whPath_
parent_
protected DB parent_
LOG
protected static final org.apache.commons.logging.Log LOG
store_
protected FileStore store_
ROTable
protected ROTable()
ROTable
protected ROTable(DB parent,
String tableName,
org.apache.hadoop.conf.Configuration conf)
throws UnknownTableException,
MetaException
- Throws:
UnknownTableException
MetaException
equals
public boolean equals(Table other)
getSchema
public Properties getSchema()
getPath
public org.apache.hadoop.fs.Path getPath()
getPartitions
public ArrayList<String> getPartitions()
throws MetaException
- getPartitions
Scan the file system and find all the partitions of this table
Not recursive right now - needs to be!
- Returns:
- a list of partitions - not full paths
- Throws:
MetaException
- if gneneral problem or this table does not exist.
Copyright © 2009 The Apache Software Foundation