public static class DocumentAnalysisResponse.FieldAnalysis extends Object
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Returns the field name.
|
Iterable<AnalysisResponseBase.AnalysisPhase> |
getIndexPhases(String fieldValue)
Returns the index time analysis phases for the given field value.
|
Iterable<Map.Entry<String,List<AnalysisResponseBase.AnalysisPhase>>> |
getIndexPhasesByFieldValue()
Returns the index time analysis phases for all field values.
|
int |
getIndexPhasesCount(String fieldValue)
Returns the number of index time analysis phases the given field value has.
|
Iterable<AnalysisResponseBase.AnalysisPhase> |
getQueryPhases()
Returns the query time analysis phases for the field or
null
if this field doesn't hold a query time analysis. |
int |
getQueryPhasesCount()
Returns the number of query time analysis phases or
-1 if
this field analysis doesn't hold a query time analysis. |
int |
getValueCount()
Returns the number of values the field has.
|
void |
setIndexPhases(String fieldValue,
List<AnalysisResponseBase.AnalysisPhase> indexPhases) |
void |
setQueryPhases(List<AnalysisResponseBase.AnalysisPhase> queryPhases) |
public void setQueryPhases(List<AnalysisResponseBase.AnalysisPhase> queryPhases)
public void setIndexPhases(String fieldValue, List<AnalysisResponseBase.AnalysisPhase> indexPhases)
public String getFieldName()
public int getQueryPhasesCount()
-1
if
this field analysis doesn't hold a query time analysis.-1
if this field analysis doesn't hold a query time analysis.public Iterable<AnalysisResponseBase.AnalysisPhase> getQueryPhases()
null
if this field doesn't hold a query time analysis.null
if this field doesn't hold a query time analysis.public int getValueCount()
public int getIndexPhasesCount(String fieldValue)
fieldValue
- The field value.public Iterable<AnalysisResponseBase.AnalysisPhase> getIndexPhases(String fieldValue)
fieldValue
- The field value.public Iterable<Map.Entry<String,List<AnalysisResponseBase.AnalysisPhase>>> getIndexPhasesByFieldValue()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.