Utils for the different criteria queries.
| Modifiers | Name | Description |
|---|---|---|
interface |
PgArrayUtils.MapFunction |
Takes an Object and transforms it into a new value. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.lang.String |
getNativeSqlType(java.lang.Class<?> clazz) |
|
static java.lang.Object[] |
getValueAsArrayOfType(java.lang.Object targetValue, java.lang.Class<?> expectedType, PgArrayUtils.MapFunction mapFunction)Returns a new array wrapping the parameter value. |
|
static java.lang.Object[] |
getValueAsArrayOfType(java.lang.Object targetValue, java.lang.Class<?> expectedType)Overloaded version of getValueAsArrayOfType that doesn't use a mapFunction |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns a new array wrapping the parameter value. The type of the array will be the type passed as parameter
targetValue - The value we want to wrap as an arrayexpectedType - The expected type of the returned arraymapFunction - If non-null, it will transform each object in the array to a given object.Overloaded version of getValueAsArrayOfType that doesn't use a mapFunction