public class IpLikeCriteriaBehavior extends CriteriaBehavior<String>
CriteriaBehavior for IP address values that can handle
iplike String values.
NOTE: Because CriteriaBuilder.iplike(String, Object) uses
Restrictions.iplike(String, Object) and it uses
Restrictions.sqlRestriction(String),
this behavior can only be used against the root alias. If we enhanced
the Criteria API to expose subcriteria for aliases than it might
be possible to leverage iplike against aliased properties.CriteriaBehavior.BeforeVisit| Modifier | Constructor and Description |
|---|---|
|
IpLikeCriteriaBehavior(String name) |
protected |
IpLikeCriteriaBehavior(String name,
CriteriaBehavior.BeforeVisit beforeVisit) |
beforeVisit, convert, getConverter, getPropertyName, setSkipPropertyByDefault, shouldSkipProperty, toStringpublic IpLikeCriteriaBehavior(String name)
protected IpLikeCriteriaBehavior(String name, CriteriaBehavior.BeforeVisit beforeVisit)
Copyright © 2022. All rights reserved.