|
||||||||||
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()
For serialization only. |
|
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. |
String |
getName()
|
Partition |
getP()
|
Map<String,String> |
getParameters()
Get the parameter map of the Entity. |
Partition |
getPartition()
Get partition entity. |
Table |
getT()
|
Table |
getTable()
Get table entity. |
ReadEntity.Type |
getType()
Get the type. |
int |
hashCode()
Hashcode function. |
void |
setName(String name)
|
void |
setP(Partition p)
|
void |
setT(Table t)
|
String |
toString()
toString function. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReadEntity()
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 String getName()
public void setName(String name)
public void setP(Partition p)
public void setT(Table t)
public Partition getP()
public Table getT()
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 |