ml.shifu.guagua.io
类 GuaguaFileSplit
java.lang.Object
ml.shifu.guagua.io.GuaguaFileSplit
public class GuaguaFileSplit
- extends Object
GuaguaFileSplit is used for WorkerComputable to read data.
GuaguaFileSplit is using to wrap FileSplit in hadoop to make guagua read split data easy. Which is also to
make guagua independent from hadoop packages.
GuaguaFileSplit
public GuaguaFileSplit()
- Default constructor.
GuaguaFileSplit
public GuaguaFileSplit(String path,
long offset,
long length)
- Constructor which is used to build full
GuaguaFileSplit.
getPath
public String getPath()
setPath
public void setPath(String path)
getOffset
public long getOffset()
setOffset
public void setOffset(long offset)
getLength
public long getLength()
setLength
public void setLength(long length)
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
Copyright © 2015. All Rights Reserved.