Package it.unimi.di.big.mg4j.document
Class TRECDocumentCollection.TRECDocumentDescriptor
- java.lang.Object
-
- it.unimi.di.big.mg4j.document.TRECDocumentCollection.TRECDocumentDescriptor
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- TRECDocumentCollection
protected static class TRECDocumentCollection.TRECDocumentDescriptor extends Object implements Cloneable
A compact description of the location and of the internal segmentation of a TREC document inside a file.
-
-
Field Summary
Fields Modifier and Type Field Description intfileIndexA reference to the file containing this document.intintermediateMarkerDiffThe starting position of the content of this document in the file.longstartMarkerThe starting position of this document in the file.intstopMarkerDiffThe ending position.
-
Constructor Summary
Constructors Constructor Description TRECDocumentDescriptor(int findex, long start, int intermediateMarkerDiff, int stopMarkerDiff)TRECDocumentDescriptor(int findex, long start, long intermediateMarker, long stop)
-
-
-
Field Detail
-
fileIndex
public int fileIndex
A reference to the file containing this document.
-
startMarker
public long startMarker
The starting position of this document in the file.
-
intermediateMarkerDiff
public int intermediateMarkerDiff
The starting position of the content of this document in the file.
-
stopMarkerDiff
public int stopMarkerDiff
The ending position.
-
-