|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.creole.annic.lucene.LuceneQueryResult
public class LuceneQueryResult
This class
| Field Summary | |
|---|---|
private String |
annotationSetName
|
private Object |
docID
Persistance document ID. |
private List |
firstTermPositions
|
private List<List<PatternAnnotation>> |
gateAnnotations
|
private List<Integer> |
patternLength
|
private String |
query
|
private int |
queryType
|
| Constructor Summary | |
|---|---|
LuceneQueryResult(Object docID,
String annotationSetName,
List firstTermPositions,
List<Integer> patternLength,
int queryType,
List<List<PatternAnnotation>> gateAnnotations,
String query)
Constructor |
|
| Method Summary | |
|---|---|
String |
getAnnotationSetName()
Gets the annotation set Name for this result |
Object |
getDocumentID()
|
List |
getFirstTermPositions()
|
List<List<PatternAnnotation>> |
getGateAnnotations()
Gets the GateAnnotations for each pattern. |
String |
getQuery()
Returns the main query. |
int |
getQueryType()
|
List<Integer> |
patternLength()
Returns an arraylist which for each pattern contains a number of annotation in it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Object docID
private String annotationSetName
private List firstTermPositions
private List<Integer> patternLength
private int queryType
private List<List<PatternAnnotation>> gateAnnotations
private String query
| Constructor Detail |
|---|
public LuceneQueryResult(Object docID,
String annotationSetName,
List firstTermPositions,
List<Integer> patternLength,
int queryType,
List<List<PatternAnnotation>> gateAnnotations,
String query)
docID - - ID of the documentfirstTermPositions - - Position of the first termspatternLength - queryType - gateAnnotations - query - | Method Detail |
|---|
public int getQueryType()
public Object getDocumentID()
public List getFirstTermPositions()
public List<Integer> patternLength()
public List<List<PatternAnnotation>> getGateAnnotations()
public String getQuery()
public String getAnnotationSetName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||