public class ReadOnlyTermDocKey<V extends Comparable<V>> extends Object implements ITermDocKey<V>
ITermDocKey.| Constructor and Description | 
|---|
ReadOnlyTermDocKey(V docId,
                  int fieldId,
                  double termWeight)  | 
| Modifier and Type | Method and Description | 
|---|---|
V | 
getDocId()
The document identifier. 
 | 
int | 
getFieldId()
The field identifier. 
 | 
double | 
getLocalTermWeight()
The normalized local term weight for the token and document in the
 associated entry of the full text search index. 
 | 
String | 
getToken()
The token text. 
 | 
public ReadOnlyTermDocKey(V docId, int fieldId, double termWeight)
public String getToken()
ITermDocKeygetToken in interface ITermDocKey<V extends Comparable<V>>public V getDocId()
ITermDocKeygetDocId in interface ITermDocKey<V extends Comparable<V>>public int getFieldId()
               throws UnsupportedOperationException
ITermDocKeygetFieldId in interface ITermDocKey<V extends Comparable<V>>UnsupportedOperationException - if the full text index is not storing field identifiers.public double getLocalTermWeight()
ITermDocKeygetLocalTermWeight in interface ITermDocKey<V extends Comparable<V>>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.