public class Outlink extends Object implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
Outlink() |
Outlink(String toUrl,
String anchor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
org.apache.hadoop.io.MapWritable |
getMetadata() |
String |
getToUrl() |
static Outlink |
read(DataInput in) |
void |
readFields(DataInput in) |
void |
setMetadata(org.apache.hadoop.io.MapWritable md) |
void |
setUrl(String toUrl) |
static void |
skip(DataInput in)
Skips over one Outlink in the input.
|
String |
toString() |
void |
write(DataOutput out) |
public Outlink()
public Outlink(String toUrl, String anchor) throws MalformedURLException
MalformedURLException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public static void skip(DataInput in) throws IOException
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public static Outlink read(DataInput in) throws IOException
IOException
public String getToUrl()
public void setUrl(String toUrl)
public String getAnchor()
public org.apache.hadoop.io.MapWritable getMetadata()
public void setMetadata(org.apache.hadoop.io.MapWritable md)
Copyright © 2014 The Apache Software Foundation