public class QueryFacetValue extends QueryFacet
| Modifier and Type | Field and Description |
|---|---|
protected String |
valueExtractor
can be simply the field name: myfield
or sql expression: unnest(myarrayfield)
or sql date expression: date_trunc('month', mydatefield)
or sql date expression: date_part('month', mydatefield)
|
max, name, sort| Constructor and Description |
|---|
QueryFacetValue(String name,
String valueExtractor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getQuery(String tableSource)
retourne la requete SQL qui retourne le calcul pour cette facette
|
protected String valueExtractor
public String getQuery(String tableSource)
QueryFacetgetQuery in class QueryFacettableSource - le nom de la vue dans lequel sont les resultatsCopyright © 2017–2020 CodeLutin. All rights reserved.