public class WriteEntity extends Entity implements java.io.Serializable
Entity.Type
Constructor and Description |
---|
WriteEntity()
Only used by serialization.
|
WriteEntity(DummyPartition p,
boolean complete) |
WriteEntity(Partition p)
Constructor for a partition.
|
WriteEntity(Partition p,
boolean complete) |
WriteEntity(java.lang.String d,
boolean islocal)
Constructor for a file.
|
WriteEntity(java.lang.String d,
boolean islocal,
boolean complete) |
WriteEntity(Table t)
Constructor for a table.
|
WriteEntity(Table t,
boolean complete) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Equals function.
|
getD, getLocation, getName, getP, getParameters, getPartition, getT, getTable, getTyp, getType, hashCode, isComplete, setComplete, setD, setName, setP, setT, setTyp, toString
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(java.lang.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(java.lang.String d, boolean islocal, boolean complete)
Copyright © 2012 The Apache Software Foundation