|
||||||||||
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.WriteEntity
public class WriteEntity
This class encapsulates an object that is being written to by the query. This object may be a table, partition, dfs directory or a local directory.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.hooks.Entity |
---|
Entity.Type |
Constructor Summary | |
---|---|
WriteEntity()
Only used by serialization. |
|
WriteEntity(DummyPartition p,
boolean complete)
|
|
WriteEntity(Partition p)
Constructor for a partition. |
|
WriteEntity(Partition p,
boolean complete)
|
|
WriteEntity(String d,
boolean islocal)
Constructor for a file. |
|
WriteEntity(String d,
boolean islocal,
boolean complete)
|
|
WriteEntity(Table t)
Constructor for a table. |
|
WriteEntity(Table t,
boolean complete)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
Equals function. |
Methods inherited from class org.apache.hadoop.hive.ql.hooks.Entity |
---|
getD, getLocation, getName, getP, getParameters, getPartition, getT, getTable, getTyp, getType, hashCode, isComplete, setComplete, setD, setName, setP, setT, setTyp, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WriteEntity()
public WriteEntity(Table t)
t
- Table that is written to.public WriteEntity(Table t, boolean complete)
public WriteEntity(Partition p)
p
- Partition that is written to.public WriteEntity(Partition p, boolean complete)
public WriteEntity(DummyPartition p, boolean complete)
public WriteEntity(String 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.public WriteEntity(String d, boolean islocal, boolean complete)
Method Detail |
---|
public boolean equals(Object o)
equals
in class Entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |