public final class SyntheticFileId extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
SyntheticFileId()
Writable ctor.
|
SyntheticFileId(org.apache.hadoop.fs.FileStatus file) |
SyntheticFileId(org.apache.hadoop.fs.Path path,
long len,
long modificationTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SyntheticFileId |
fromJobConf(org.apache.hadoop.mapred.JobConf job) |
long |
getLength() |
long |
getModTime() |
long |
getPathHash() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
toJobConf(org.apache.hadoop.mapred.JobConf job) |
String |
toString() |
void |
write(DataOutput out) |
public SyntheticFileId()
public SyntheticFileId(org.apache.hadoop.fs.Path path,
long len,
long modificationTime)
public SyntheticFileId(org.apache.hadoop.fs.FileStatus file)
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic long getPathHash()
public long getModTime()
public long getLength()
public void toJobConf(org.apache.hadoop.mapred.JobConf job)
public static SyntheticFileId fromJobConf(org.apache.hadoop.mapred.JobConf job)
Copyright © 2024 The Apache Software Foundation. All rights reserved.