public class HDFSXLogInfo
extends java.lang.Object
| Constructor and Description |
|---|
HDFSXLogInfo(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataInputStream input_stream,
long length)
Build a new HDFS log
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.Path |
gePath()
Returns The path of the HDFS file
|
org.apache.hadoop.fs.FSDataInputStream |
getInputStream()
Returns The input stream of the HDFS file
|
java.lang.String |
getName()
Returns the name of the HDFS file
|
long |
length()
Returns the length of the HDFS file in bytes
|
public HDFSXLogInfo(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataInputStream input_stream,
long length)
path - Pathinput_stream - Input streamlength - Length (in bytes)public org.apache.hadoop.fs.Path gePath()
public org.apache.hadoop.fs.FSDataInputStream getInputStream()
public java.lang.String getName()
public long length()