Data Types

JSON

type description
AtlasAggregationEntry An instance of an entity - like hive_table, hive_database.
AtlasAttributeDef class that captures details of a struct-attribute.
AtlasBaseModelObject
AtlasBaseTypeDef Base class that captures common-attributes for all Atlas types.
AtlasBusinessMetadataDef class that captures details of a struct-type.
AtlasClassification An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.
AtlasClassificationDef class that captures details of a classification-type.
AtlasClassifications REST serialization friendly list.
AtlasConstraintDef class that captures details of a constraint.
AtlasEntitiesWithExtInfo An instance of an entity along with extended info - like hive_table, hive_database.
AtlasEntity An instance of an entity - like hive_table, hive_database.
AtlasEntityDef class that captures details of a entity-type.
AtlasEntityExtInfo An instance of an entity along with extended info - like hive_table, hive_database.
AtlasEntityHeader An instance of an entity - like hive_table, hive_database.
AtlasEntityHeaders
AtlasEntityWithExtInfo An instance of an entity along with extended info - like hive_table, hive_database.
AtlasEnumDef class that captures details of an enum-type.
AtlasEnumElementDef class that captures details of an enum-element.
AtlasFullTextResult
AtlasGlossary
AtlasGlossaryBaseObject
AtlasGlossaryCategory
AtlasGlossaryExtInfo
AtlasGlossaryHeader
AtlasGlossaryTerm
AtlasGlossaryTermHeader
AtlasLineageInfo
AtlasObjectId Reference to an object-instance of an Atlas type - like entity.
AtlasQueryType
AtlasQuickSearchResult
AtlasRelatedCategoryHeader
AtlasRelatedObjectId Reference to an object-instance of AtlasEntity type used in relationship attribute values
AtlasRelatedTermHeader
AtlasRelationship Atlas relationship instance.
AtlasRelationshipAttributeDef class that captures details of a struct-attribute.
AtlasRelationshipDef AtlasRelationshipDef is a TypeDef that defines a relationship.

As with other typeDefs the AtlasRelationshipDef has a name. Once created the RelationshipDef has a guid. The name and the guid are the 2 ways that the RelationshipDef is identified.

RelationshipDefs have 2 ends, each of which specify cardinality, an EntityDef type name and name and optionally whether the end is a container.

RelationshipDefs can have AttributeDefs - though only primitive types are allowed.
RelationshipDefs have a relationshipCategory specifying the UML type of relationship required
RelationshipDefs also have a PropogateTag - indicating which way tags could flow over the relationships.

The way EntityDefs and RelationshipDefs are intended to be used is that EntityDefs will define AttributeDefs these AttributeDefs will not specify an EntityDef type name as their types.

RelationshipDefs introduce new attributes to the entity instances. For example

EntityDef A might have attributes attr1,attr2,attr3
EntityDef B might have attributes attr4,attr5,attr6
RelationshipDef AtoB might define 2 ends

   end1:  type A, name attr7
   end2:  type B, name attr8  

When an instance of EntityDef A is created, it will have attributes attr1,attr2,attr3,attr7
When an instance of EntityDef B is created, it will have attributes attr4,attr5,attr6,attr8

In this way relationshipDefs can be authored separately from entityDefs and can inject relationship attributes into the entity instances

AtlasRelationshipEndDef The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an attribute name, cardinality and whether it is the container end of the relationship.
AtlasRelationshipHeader Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification.
AtlasRelationshipWithExtInfo
AtlasSearchResult
AtlasStruct Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification.
AtlasStructDef class that captures details of a struct-type.
AtlasSuggestionsResult
AtlasTermAssignmentHeader
AtlasTermAssignmentStatus
AtlasTermCategorizationHeader
AtlasTermRelationshipStatus
AtlasTypeDefHeader
AtlasTypesDef
AtlasUserSavedSearch
AttributeSearchResult
BulkImportResponse
Cardinality single-valued attribute or multi-valued attribute.
ClassificationAssociateRequest
Condition
DateFormat
EntityAuditActionV2
EntityAuditEventV2 Structure of v2 entity audit event
EntityAuditType
EntityMutationResponse
EntityOperation
FilterCriteria
Format
ImportInfo
ImportStatus
IndexType
LineageDirection
LineageInfoOnDemand
LineageOnDemandConstraints
LineageRelation
NumberFormat
Operator NOTE : The names added in the String array should always contain first value in lower case
PList Paginated-list, for returning search results.
PropagateTags PropagateTags indicates whether tags should propagate across the relationship instance.

Tags can propagate:

NONE - not at all
ONE_TO_TWO - from end 1 to 2
TWO_TO_ONE - from end 2 to 1
BOTH - both ways

Care needs to be taken when specifying. The use cases we are aware of where this flag is useful:

- propagating confidentiality classifications from a table to columns - ONE_TO_TWO could be used here
- propagating classifications around Glossary synonyms - BOTH could be used here.

There is an expectation that further enhancements will allow more granular control of tag propagation and will address how to resolve conflicts.

QuickSearchParameters
Relation
RelationshipCategory The Relationship category determines the style of relationship around containment and lifecycle. UML terminology is used for the values.

ASSOCIATION is a relationship with no containment.
COMPOSITION and AGGREGATION are containment relationships.

The difference being in the lifecycles of the container and its children. In the COMPOSITION case, the children cannot exist without the container. For AGGREGATION, the life cycles of the container and children are totally independant.

RelationshipSearchParameters
RoundingMode
SavedSearchType
SearchFilter Generic filter, to specify search criteria using name/value pairs.
SearchParameters
SortOrder
SortType to specify whether the result should be sorted? If yes, whether asc or desc.
Status Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store.
Status
TimeBoundary Captures time-boundary details
TimeZone
TypeCategory

XML

Default Namespace (schema)
type description
PList Paginated-list, for returning search results.
searchFilter Generic filter, to specify search criteria using name/value pairs.
sortType to specify whether the result should be sorted? If yes, whether asc or desc.
timeBoundary Captures time-boundary details