Class Restrictions
- java.lang.Object
-
- io.micronaut.data.processor.visitors.finders.Restrictions
-
@Internal public final class Restrictions extends java.lang.Object
Restrictions.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Restrictions.After<T extends java.lang.Comparable<? super T>>
Same asRestrictions.PropertyGreaterThan
.static class
Restrictions.Before<T extends java.lang.Comparable<? super T>>
Same asRestrictions.PropertyLessThan
.static class
Restrictions.PropertyBetween<T extends java.lang.Comparable<? super T>>
Between restriction.static class
Restrictions.PropertyContaining
Contains with criterion.static class
Restrictions.PropertyContainingIgnoreCase
Contains with criterion.static class
Restrictions.PropertyContains
Contains with criterion.static class
Restrictions.PropertyContainsIgnoreCase
Contains with criterion IgnoreCase.static class
Restrictions.PropertyEndingWith
Ends with criterion.static class
Restrictions.PropertyEndingWithIgnoreCase
Ends with criterion.static class
Restrictions.PropertyEndsWith
Ends with criterion.static class
Restrictions.PropertyEndsWithIgnoreCase
Ends with criterion.static class
Restrictions.PropertyEqual<T>
Equal restriction.static class
Restrictions.PropertyEquals<T>
Equals restriction.static class
Restrictions.PropertyGreaterThan<T extends java.lang.Comparable<? super T>>
Greater than expression.static class
Restrictions.PropertyGreaterThanEquals<T extends java.lang.Comparable<? super T>>
Greater than equals.static class
Restrictions.PropertyIds<T>
Ids restriction.static class
Restrictions.PropertyIlike
Case insensitive like.static class
Restrictions.PropertyIn<T>
In restriction.static class
Restrictions.PropertyInList<T>
InList restriction.static class
Restrictions.PropertyInRange<T extends java.lang.Comparable<? super T>>
InRange restriction.static class
Restrictions.PropertyIsEmpty
IsEmpty restriction.static class
Restrictions.PropertyIsFalse
IsFalse restriction.static class
Restrictions.PropertyIsNotEmpty
IsNotEmpty restriction.static class
Restrictions.PropertyIsNotNull<T>
IsNotNull restriction.static class
Restrictions.PropertyIsNull<T>
IsNull restriction.static class
Restrictions.PropertyIsTrue
IsTrue restriction.static class
Restrictions.PropertyLessThan<T extends java.lang.Comparable<? super T>>
Less than.static class
Restrictions.PropertyLessThanEquals<T extends java.lang.Comparable<? super T>>
Less than equals.static class
Restrictions.PropertyLike
Like criterion.static class
Restrictions.PropertyNotEqual<T>
PropertyNotEqual restriction.static class
Restrictions.PropertyNotEquals<T>
PropertyNotEquals restriction.static class
Restrictions.PropertyNotIn<T>
NotIn restriction.static class
Restrictions.PropertyNotInList<T>
NotInList restriction.static class
Restrictions.PropertyRegex
Regex criterion.static interface
Restrictions.PropertyRestriction<T>
Property restriction.static class
Restrictions.PropertyRlike
Regex like.static class
Restrictions.PropertyStartingWith
Starts with criterion.static class
Restrictions.PropertyStartingWithIgnoreCase
Starts with criterion.static class
Restrictions.PropertyStartsWith
Starts with criterion.static class
Restrictions.PropertyStartsWithIgnoreCase
Starts with criterion.static class
Restrictions.PropertyStringEqualIgnoreCase
EqualIgnoreCase restriction.static class
Restrictions.PropertyStringEqualsIgnoreCase
EqualsIgnoreCase restriction.static interface
Restrictions.Restriction<T>
Restriction.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,Restrictions.PropertyRestriction>
PROPERTY_RESTRICTIONS_MAP
static java.util.Map<java.lang.String,Restrictions.Restriction>
RESTRICTIONS_MAP
-
Constructor Summary
Constructors Constructor Description Restrictions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Restrictions.PropertyRestriction<T>
findPropertyRestriction(java.lang.String name)
static <T> Restrictions.Restriction<T>
findRestriction(java.lang.String name)
-
-
-
Field Detail
-
PROPERTY_RESTRICTIONS_MAP
public static final java.util.Map<java.lang.String,Restrictions.PropertyRestriction> PROPERTY_RESTRICTIONS_MAP
-
RESTRICTIONS_MAP
public static final java.util.Map<java.lang.String,Restrictions.Restriction> RESTRICTIONS_MAP
-
-
Method Detail
-
findPropertyRestriction
@Nullable public static <T> Restrictions.PropertyRestriction<T> findPropertyRestriction(java.lang.String name)
-
findRestriction
@Nullable public static <T> Restrictions.Restriction<T> findRestriction(java.lang.String name)
-
-