|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.dcs.renaissance.mg4j.trec.TRECDocumentCollection.TRECDocumentDescriptor
protected static class TRECDocumentCollection.TRECDocumentDescriptor
A compact description of the location and of the internal segmentation of a TREC document inside a file.
| Field Summary | |
|---|---|
String |
docid
The document ID |
int |
fileIndex
A reference to the file containing this document. |
long |
startMarker
The starting position of this document in the file. |
int |
stopMarkerDiff
The ending position. |
| Constructor Summary | |
|---|---|
TRECDocumentCollection.TRECDocumentDescriptor(String docid,
int findex,
long start,
int stopMarkerDiff)
|
|
TRECDocumentCollection.TRECDocumentDescriptor(String docid,
int findex,
long start,
long stop)
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
long[] |
toSegments()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int fileIndex
public long startMarker
public int stopMarkerDiff
public String docid
| Constructor Detail |
|---|
public TRECDocumentCollection.TRECDocumentDescriptor(String docid,
int findex,
long start,
int stopMarkerDiff)
public TRECDocumentCollection.TRECDocumentDescriptor(String docid,
int findex,
long start,
long stop)
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic final long[] toSegments()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||