|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.hooks.Entity
org.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 |
|---|
| Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.hooks.Entity |
|---|
Entity.Type |
| Constructor Summary | |
|---|---|
ReadEntity()
For serialization only. |
|
ReadEntity(Database database)
Constructor for a database. |
|
ReadEntity(Partition p)
Constructor given a partition. |
|
ReadEntity(Partition p,
ReadEntity parent)
|
|
ReadEntity(Partition p,
ReadEntity parent,
boolean isDirect)
|
|
ReadEntity(org.apache.hadoop.fs.Path d,
boolean islocal)
Constructor for a file. |
|
ReadEntity(Table t)
Constructor. |
|
ReadEntity(Table t,
ReadEntity parent)
|
|
ReadEntity(Table t,
ReadEntity parent,
boolean isDirect)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Equals function. |
Set<ReadEntity> |
getParents()
|
boolean |
isDirect()
|
void |
setDirect(boolean isDirect)
|
| Methods inherited from class org.apache.hadoop.hive.ql.hooks.Entity |
|---|
getD, getDatabase, getLocation, getName, getP, getParameters, getPartition, getT, getTable, getTyp, getType, hashCode, isComplete, isDummy, setComplete, setD, setDatabase, setName, setP, setT, setTyp, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReadEntity()
public ReadEntity(Database database)
public ReadEntity(Table t)
t - The Table that the query reads from.
public ReadEntity(Table t,
ReadEntity parent)
public ReadEntity(Table t,
ReadEntity parent,
boolean isDirect)
public ReadEntity(Partition p)
p - The partition that the query reads from.
public ReadEntity(Partition p,
ReadEntity parent)
public ReadEntity(Partition p,
ReadEntity parent,
boolean isDirect)
public ReadEntity(org.apache.hadoop.fs.Path d,
boolean islocal)
d - The name of the directory that is being written to.islocal - Flag to decide whether this directory is local or in dfs.| Method Detail |
|---|
public Set<ReadEntity> getParents()
public boolean equals(Object o)
equals in class Entitypublic boolean isDirect()
public void setDirect(boolean isDirect)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||