| Constructor and Description |
|---|
Outlink() |
Outlink(String toUrl,
String anchor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
MapWritable |
getMetadata() |
String |
getToUrl() |
int |
hashCode() |
static Outlink |
read(DataInput in) |
void |
readFields(DataInput in) |
void |
setMetadata(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
MalformedURLExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface WritableIOExceptionpublic static void skip(DataInput in) throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
write in interface WritableIOExceptionpublic static Outlink read(DataInput in) throws IOException
IOExceptionpublic String getToUrl()
public void setUrl(String toUrl)
public String getAnchor()
public MapWritable getMetadata()
public void setMetadata(MapWritable md)
Copyright © 2021 The Apache Software Foundation