org.apache.hadoop.hive.ql.hooks
Class ReadEntity
java.lang.Object
org.apache.hadoop.hive.ql.hooks.Entity
org.apache.hadoop.hive.ql.hooks.ReadEntity
- All Implemented Interfaces:
- Serializable
public class ReadEntity
- extends Entity
- implements Serializable
This class encapsulates the information on the partition and tables that are
read by the query.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.hooks.Entity |
Entity.Type |
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 |
ReadEntity
public ReadEntity()
- For serialization only.
ReadEntity
public ReadEntity(Table t)
- Constructor.
- Parameters:
t
- The Table that the query reads from.
ReadEntity
public ReadEntity(Partition p)
- Constructor given a partiton.
- Parameters:
p
- The partition that the query reads from.
equals
public boolean equals(Object o)
- Equals function.
- Overrides:
equals
in class Entity
Copyright © 2013 The Apache Software Foundation