org.apache.hadoop.hive.ql.hooks
Class ReadEntity

java.lang.Object
  extended by org.apache.hadoop.hive.ql.hooks.Entity
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.hooks.Entity
Entity.Type
 
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.
 
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

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.
Method Detail

equals

public boolean equals(Object o)
Equals function.

Overrides:
equals in class Entity


Copyright © 2013 The Apache Software Foundation