|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.hooks.ReadEntity
public class ReadEntity
This class encapsulates the information on the partition and tables that are read by the query.
Nested Class Summary | |
---|---|
static class |
ReadEntity.Type
Enum that tells what time of a read entity this is. |
Constructor Summary | |
---|---|
ReadEntity(Partition p)
Constructor given a partiton. |
|
ReadEntity(Table t)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Equals function. |
URI |
getLocation()
Get the location of the entity. |
Map<String,String> |
getParameters()
Get the parameter map of the Entity. |
Partition |
getPartition()
Get partition entity. |
Table |
getTable()
Get table entity. |
ReadEntity.Type |
getType()
Get the type. |
int |
hashCode()
Hashcode function. |
String |
toString()
toString function. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReadEntity(Table t)
t
- The Table that the query reads from.public ReadEntity(Partition p)
p
- The partition that the query reads from.Method Detail |
---|
public ReadEntity.Type getType()
public Map<String,String> getParameters()
public URI getLocation()
public Partition getPartition()
public Table getTable()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |