Search in sources :

Example 6 with StructInstance

use of org.apache.atlas.typesystem.persistence.StructInstance in project incubator-atlas by apache.

the class TraitStore method load.

void load(ReferenceableInstance i) throws RepositoryException {
    int pos = idPosMap.get(i.getId());
    StructInstance s = (StructInstance) i.getTrait(hierarchicalType.getName());
    super.loadFields(pos, s);
}
Also used : StructInstance(org.apache.atlas.typesystem.persistence.StructInstance)

Aggregations

StructInstance (org.apache.atlas.typesystem.persistence.StructInstance)6 ImmutableMap (com.google.common.collect.ImmutableMap)3 ImmutableBiMap (com.google.common.collect.ImmutableBiMap)2 Map (java.util.Map)2 AttributeInfo (org.apache.atlas.typesystem.types.AttributeInfo)2 ImmutableList (com.google.common.collect.ImmutableList)1 BigDecimal (java.math.BigDecimal)1 BigInteger (java.math.BigInteger)1 AtlasException (org.apache.atlas.AtlasException)1 IReferenceableInstance (org.apache.atlas.typesystem.IReferenceableInstance)1 IStruct (org.apache.atlas.typesystem.IStruct)1 ITypedReferenceableInstance (org.apache.atlas.typesystem.ITypedReferenceableInstance)1 ITypedStruct (org.apache.atlas.typesystem.ITypedStruct)1 Referenceable (org.apache.atlas.typesystem.Referenceable)1 Id (org.apache.atlas.typesystem.persistence.Id)1 ReferenceableInstance (org.apache.atlas.typesystem.persistence.ReferenceableInstance)1