public class NomenclaturalSortOrderBrigde extends AbstractClassBridge
TaxonBase
and INonViralName
s
instances. ViralNames
are not supported!
Ignores the name
parameter!
The order follows the hql equivalent:
order by t.name.genusOrUninomial, case when t.name.specificEpithet like '\"%\"' then 1 else 0 end, t.name.specificEpithet, t.name.rank desc, t.name.nameCache";
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
static java.lang.String |
NAME_SORT_FIELD_NAME |
idFieldBridge, idFieldOptions
Constructor and Description |
---|
NomenclaturalSortOrderBrigde() |
Modifier and Type | Method and Description |
---|---|
void |
set(java.lang.String name,
java.lang.Object value,
org.apache.lucene.document.Document document,
org.hibernate.search.bridge.LuceneOptions luceneOptions) |
public static final Logger logger
public static final java.lang.String NAME_SORT_FIELD_NAME
public void set(java.lang.String name, java.lang.Object value, org.apache.lucene.document.Document document, org.hibernate.search.bridge.LuceneOptions luceneOptions)
set
in interface org.hibernate.search.bridge.FieldBridge
set
in class AbstractClassBridge
Copyright © 2007-2020 EDIT. All Rights Reserved.