public class TypeConverterImpl extends Object implements TypeConverter<Type>
Basic TypeConverter implementation for conversion between compatible types.
| Constructor and Description |
|---|
TypeConverterImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<RelationType,RoleType> |
toRelationMultimap(Type type)
convert a given type to a map of relation types in which it can play roles
and the corresponding role types including entity type hierarchy
|
public com.google.common.collect.Multimap<RelationType,RoleType> toRelationMultimap(Type type)
TypeConvertertoRelationMultimap in interface TypeConverter<Type>type - to be convertedCopyright © 2017 Grakn Labs Ltd. All rights reserved.