public class TypeDescriptorUtils extends Object
Constructor and Description |
---|
TypeDescriptorUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isIndexParticipant(String propertyName,
Set<String> indexNames) |
static List<ITypeDesc> |
sort(Map<String,ITypeDesc> typeDescriptors) |
static Object |
toSpaceId(int[] positions,
java.util.function.IntFunction<Object> valueMapper) |
static <T> Object |
toSpaceId(List<T> properties,
java.util.function.Function<T,Object> valueMapper) |
public static List<ITypeDesc> sort(Map<String,ITypeDesc> typeDescriptors)
typeDescriptors
- A map from type name to its matching TypeDescriptorTypeDescriptor
instances sorted in such way that super types will
precede their sub types.public static boolean isIndexParticipant(String propertyName, Set<String> indexNames)
public static <T> Object toSpaceId(List<T> properties, java.util.function.Function<T,Object> valueMapper)
public static Object toSpaceId(int[] positions, java.util.function.IntFunction<Object> valueMapper)
Copyright © GigaSpaces.