Package org.opennms.netmgt.search.api
Class QueryUtils
- java.lang.Object
-
- org.opennms.netmgt.search.api.QueryUtils
-
public abstract class QueryUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equals(java.lang.Integer checkMe, java.lang.String input)
static java.lang.String
getFirstMatch(java.util.List<java.lang.String> aliases, java.lang.String input)
static java.lang.Object
ilike(java.lang.String input)
static boolean
matches(java.lang.String checkMe, java.lang.String input)
static boolean
matches(java.util.List<java.lang.String> checkMe, java.lang.String input)
static <T> java.util.List<T>
shrink(java.util.List<T> input, int maxResults)
-
-
-
Method Detail
-
ilike
public static java.lang.Object ilike(java.lang.String input)
-
equals
public static boolean equals(java.lang.Integer checkMe, java.lang.String input)
-
matches
public static boolean matches(java.lang.String checkMe, java.lang.String input)
-
matches
public static boolean matches(java.util.List<java.lang.String> checkMe, java.lang.String input)
-
shrink
public static <T> java.util.List<T> shrink(java.util.List<T> input, int maxResults)
-
getFirstMatch
public static java.lang.String getFirstMatch(java.util.List<java.lang.String> aliases, java.lang.String input)
-
-