public class ReadEntity extends Entity implements Serializable
Entity.Type
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Equals function.
|
List<String> |
getAccessedColumns() |
Set<ReadEntity> |
getParents() |
boolean |
isDirect() |
boolean |
isUpdateOrDelete() |
boolean |
needsLock() |
void |
noLockNeeded() |
void |
setDirect(boolean isDirect) |
void |
setUpdateOrDelete(boolean isUpdateOrDelete) |
getD, getDatabase, getFunctionName, getLocation, getName, getP, getParameters, getPartition, getT, getTable, getTyp, getType, hashCode, isComplete, isDummy, isPathType, setComplete, setD, setDatabase, setFunctionName, setName, setP, setT, setTyp, toString
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.public Set<ReadEntity> getParents()
public boolean isDirect()
public void setDirect(boolean isDirect)
public boolean needsLock()
public void noLockNeeded()
public void setUpdateOrDelete(boolean isUpdateOrDelete)
public boolean isUpdateOrDelete()
Copyright © 2017 The Apache Software Foundation. All rights reserved.