Class ListFacet
java.lang.Object
com.google.refine.browsing.facets.ListFacet
- All Implemented Interfaces:
Facet
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapper to respect the serialization formatstatic classstatic classWrapper class for choice counts and selection status for blank and error -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected List<NominalFacetChoice>protected intprotected Stringprotected Evaluablestatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeChoices(Project project, FilteredRecords filteredRecords) voidcomputeChoices(Project project, FilteredRows filteredRows) protected Object[]getError()booleanprotected intgetLimit()getName()getRecordFilter(Project project) getRowFilter(Project project) voidinitializeFromConfig(ListFacet.ListFacetConfig config, Project project) protected void
-
Field Details
-
ERR_TOO_MANY_CHOICES
- See Also:
-
_cellIndex
protected int _cellIndex -
_eval
-
_errorMessage
-
_choices
-
_blankCount
protected int _blankCount -
_errorCount
protected int _errorCount
-
-
Constructor Details
-
ListFacet
public ListFacet()
-
-
Method Details
-
getName
-
getColumnName
-
getExpression
-
getInvert
public boolean getInvert() -
getError
-
getChoiceCount
-
getChoices
-
getBlankChoice
-
getErrorChoice
-
getLimit
protected int getLimit() -
initializeFromConfig
-
getRowFilter
- Specified by:
getRowFilterin interfaceFacet
-
getRecordFilter
- Specified by:
getRecordFilterin interfaceFacet
-
computeChoices
- Specified by:
computeChoicesin interfaceFacet
-
computeChoices
- Specified by:
computeChoicesin interfaceFacet
-
postProcessGrouper
-
createMatches
-