Class NumberFtsAdapter
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.likeall.AbstractFulltextSearchTypeAdapter
ch.tocco.nice2.persist.core.impl.hibernate.query.likeall.NumberFtsAdapter
- All Implemented Interfaces:
FulltextSearchTypeAdapter,TypeReceivable
- Direct Known Subclasses:
AutoNumberFtsAdapter
Mapped to all numeric data types for which fulltext searching is enabled.
'double' is mapped atm too, but obviously it's a tricky one. Maybe it will be removed later.
-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.likeall.AbstractFulltextSearchTypeAdapter
type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NodecreateNode(PathNode field, String query) intmaxChars()intminChars()protected @Nullable ObjectnormalizeQueryString(String query) Methods inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.likeall.AbstractFulltextSearchTypeAdapter
asObjectOrNull, createQueryNode, literal, replacePunctWithWildcard, setType, toVariants
-
Constructor Details
-
NumberFtsAdapter
public NumberFtsAdapter()
-
-
Method Details
-
minChars
public int minChars()- Overrides:
minCharsin classAbstractFulltextSearchTypeAdapter
-
maxChars
public int maxChars()- Overrides:
maxCharsin classAbstractFulltextSearchTypeAdapter
-
createNode
- Specified by:
createNodein classAbstractFulltextSearchTypeAdapter
-
normalizeQueryString
-