public abstract class AbstractMetadataSearchField extends Object implements JoinableSearchField
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
_joinPaths
The join paths
|
protected String |
_path
The field path.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMetadataSearchField(List<String> joinPaths,
String finalPath)
Build a Metadata SearchField
|
protected |
AbstractMetadataSearchField(String path)
Build a Metadata SearchField
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
_getFacetFieldSuffix()
Get the facet field suffix corresponding to this field.
|
protected abstract String |
_getSortFieldSuffix()
Get the sort field suffix corresponding to this field.
|
String |
getFacetField()
Get the facet field corresponding to this field.
|
String |
getFacetFunction()
Get the facet function corresponding to this field.
|
String |
getFinalPath()
Gets the final field path
|
String |
getJoinedPath()
Gets the joined path (separated by '->')
|
String |
getName()
Get the search field name.
|
String |
getSortField()
Get the sort field corresponding to this field.
|
boolean |
isJoined()
Indicates if the search field is joined
|
protected List<String> _joinPaths
protected AbstractMetadataSearchField(String path)
path - The field pathprotected AbstractMetadataSearchField(List<String> joinPaths, String finalPath)
joinPaths - The join field pathsfinalPath - The final field pathpublic String getSortField()
SearchFieldgetSortField in interface SearchFieldprotected abstract String _getSortFieldSuffix()
public boolean isJoined()
JoinableSearchFieldisJoined in interface JoinableSearchFieldtrue if the search field is joinedpublic String getJoinedPath()
JoinableSearchFieldgetJoinedPath in interface JoinableSearchFieldpublic String getFinalPath()
public String getFacetField()
SearchFieldgetFacetField in interface SearchFieldprotected abstract String _getFacetFieldSuffix()
public String getFacetFunction()
JoinableSearchFieldgetFacetFunction in interface JoinableSearchFieldpublic String getName()
SearchFieldgetName in interface SearchField