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()
SearchField
getSortField
in interface SearchField
protected abstract String _getSortFieldSuffix()
public boolean isJoined()
JoinableSearchField
isJoined
in interface JoinableSearchField
true
if the search field is joinedpublic String getJoinedPath()
JoinableSearchField
getJoinedPath
in interface JoinableSearchField
public String getFinalPath()
public String getFacetField()
SearchField
getFacetField
in interface SearchField
protected abstract String _getFacetFieldSuffix()
public String getFacetFunction()
JoinableSearchField
getFacetFunction
in interface JoinableSearchField
public String getName()
SearchField
getName
in interface SearchField