public class Inlink extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
Inlink() |
Inlink(String fromUrl,
String anchor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
String |
getFromUrl() |
int |
hashCode() |
static Inlink |
read(DataInput in) |
void |
readFields(DataInput in) |
static void |
skip(DataInput in)
Skips over one Inlink in the input.
|
String |
toString() |
void |
write(DataOutput out) |
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic static void skip(DataInput in) throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic static Inlink read(DataInput in) throws IOException
IOExceptionpublic String getFromUrl()
public String getAnchor()
Copyright © 2014 The Apache Software Foundation