|
MarkLogic Connector for Hadoop 1.1-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.marklogic.mapreduce.DocumentURI
public class DocumentURI
Document URI, used as a key for a document record. Use with
DocumentInputFormat and ContentOutputFormat.
| Constructor Summary | |
|---|---|
DocumentURI()
|
|
DocumentURI(String uri)
|
|
| Method Summary | |
|---|---|
int |
compareTo(DocumentURI o)
|
int |
getPlacementId(int size)
Assign a forest based on the URI key and the number of forests. |
String |
getUnparsedUri()
Deprecated. |
String |
getUri()
|
protected BigInteger |
getUriKey()
|
static void |
main(String[] args)
|
protected void |
normalize()
|
void |
readFields(DataInput in)
|
void |
setUri(String uri)
|
String |
toString()
|
void |
validate()
|
void |
write(DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentURI()
public DocumentURI(String uri)
| Method Detail |
|---|
public void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
public void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic String getUri()
@Deprecated public String getUnparsedUri()
public void setUri(String uri)
public int compareTo(DocumentURI o)
compareTo in interface Comparable<DocumentURI>public String toString()
toString in class Objectprotected void normalize()
protected BigInteger getUriKey()
public int getPlacementId(int size)
size - size
public void validate()
public static void main(String[] args)
throws URISyntaxException
URISyntaxException
|
MarkLogic Connector for Hadoop 1.1-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com