public class GQLScalarUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GQLScalarUtils.IdType
Type ID
|
| Modifier and Type | Field and Description |
|---|---|
static Set<Class<?>> |
SCALAR_TYPE_CLASSES
Scalar type classes
|
| Constructor and Description |
|---|
GQLScalarUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<GQLScalarTypeEnum> |
getScalarTypeFromClass(Class<?> scalarClass)
Get scalar type enumeration from class
|
static boolean |
isScalarType(Class<?> clazz)
Get whether the given class corresponds to a scalar type
|
public static final Optional<GQLScalarTypeEnum> getScalarTypeFromClass(Class<?> scalarClass)
scalarClass - the scalar classGQLScalarTypeEnumpublic static final boolean isScalarType(Class<?> clazz)
clazz - the class to be testedCopyright © 2019. All rights reserved.