T - type to convert frompublic interface TypeConverter<T extends Type>
TypeConverter interface for conversion between compatible types.
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<RelationType,RoleType> |
toRelationMultimap(T 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
|
com.google.common.collect.Multimap<RelationType,RoleType> toRelationMultimap(T type)
type - to be convertedCopyright © 2017 Grakn Labs Ltd. All rights reserved.