Java Code Examples for org.apache.atlas.model.typedef.AtlasBaseTypeDef#dumpObjects()

The following examples show how to use org.apache.atlas.model.typedef.AtlasBaseTypeDef#dumpObjects() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AtlasExportResult.java    From incubator-atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasExportData{");
    sb.append("typesDef={").append(typesDef).append("}");
    sb.append("entities={");
    AtlasBaseTypeDef.dumpObjects(entities, sb);
    sb.append("}");
    sb.append("entityCreationOrder={");
    AtlasBaseTypeDef.dumpObjects(entityCreationOrder, sb);
    sb.append("}");
    sb.append("}");

    return sb;
}
 
Example 2
Source File: AtlasEntityHeader.java    From atlas with Apache License 2.0 6 votes vote down vote up
@Override
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasEntityHeader{");
    sb.append("guid='").append(guid).append('\'');
    sb.append(", status=").append(status);
    sb.append(", displayText=").append(displayText);
    sb.append(", classificationNames=[");
    dumpObjects(classificationNames, sb);
    sb.append("], ");
    sb.append("classifications=[");
    AtlasBaseTypeDef.dumpObjects(classifications, sb);
    sb.append("], ");
    sb.append("labels=[");
    dumpObjects(labels, sb);
    sb.append("], ");
    sb.append("isIncomplete=").append(isIncomplete);
    super.toString(sb);
    sb.append('}');

    return sb;
}
 
Example 3
Source File: AtlasCheckStateResult.java    From atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasEntityState{");
    sb.append("guid=").append(guid);
    sb.append(", typeName=").append(typeName);
    sb.append(", name=").append(name);
    sb.append(", status=").append(status);
    sb.append(", state=").append(state);
    sb.append(", issues=[");
    AtlasBaseTypeDef.dumpObjects(issues, sb);
    sb.append("]");
    sb.append("}");

    return sb;
}
 
Example 4
Source File: ClassificationAssociateRequest.java    From atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("ClassificationAssociateRequest{");
    sb.append("classification='");
    if (classification != null) {
        classification.toString(sb);
    }
    sb.append(", entityGuids=[");
    AtlasBaseTypeDef.dumpObjects(entityGuids, sb);
    sb.append("]");
    sb.append('}');

    return sb;
}
 
Example 5
Source File: AtlasImportResult.java    From incubator-atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasImportResult{");
    sb.append("request={").append(request).append("}");
    sb.append(", userName='").append(userName).append("'");
    sb.append(", clientIpAddress='").append(clientIpAddress).append("'");
    sb.append(", hostName='").append(hostName).append("'");
    sb.append(", timeStamp='").append(timeStamp).append("'");
    sb.append(", metrics={");
    AtlasBaseTypeDef.dumpObjects(metrics, sb);
    sb.append("}");

    sb.append(", operationStatus='").append(operationStatus).append("'");
    sb.append(", processedEntities=[");
    AtlasBaseTypeDef.dumpObjects(processedEntities, sb);
    sb.append("]");
    sb.append("}");

    return sb;
}
 
Example 6
Source File: AtlasImportResult.java    From atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasImportResult{");
    sb.append("request={").append(request).append("}");
    sb.append(", userName='").append(userName).append("'");
    sb.append(", clientIpAddress='").append(clientIpAddress).append("'");
    sb.append(", hostName='").append(hostName).append("'");
    sb.append(", timeStamp='").append(timeStamp).append("'");
    sb.append(", metrics={");
    AtlasBaseTypeDef.dumpObjects(metrics, sb);
    sb.append("}");

    sb.append(", operationStatus='").append(operationStatus).append("'");
    sb.append(", processedEntities=[");
    AtlasBaseTypeDef.dumpObjects(processedEntities, sb);
    sb.append("]");
    sb.append("}");

    return sb;
}
 
Example 7
Source File: AtlasExportResult.java    From atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasExportData {");
    sb.append(", typesDef={").append(typesDef).append("}");
    sb.append(", entities={");
    sb.append("}");
    sb.append(", entityCreationOrder={");
    AtlasBaseTypeDef.dumpObjects(entityCreationOrder, sb);
    sb.append("}");
    sb.append("}");

    return sb;
}
 
Example 8
Source File: ClassificationAssociateRequest.java    From incubator-atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("ClassificationAssociateRequest{");
    sb.append("classification='");
    if (classification != null) {
        classification.toString(sb);
    }
    sb.append(", entityGuids=[");
    AtlasBaseTypeDef.dumpObjects(entityGuids, sb);
    sb.append("]");
    sb.append('}');

    return sb;
}
 
Example 9
Source File: AtlasExportRequest.java    From atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasExportRequest{");
    sb.append("itemsToExport={");
    AtlasBaseTypeDef.dumpObjects(itemsToExport, sb);
    sb.append("}");
    sb.append("options={");
    AtlasBaseTypeDef.dumpObjects(options, sb);
    sb.append("}");
    sb.append("}");

    return sb;
}
 
Example 10
Source File: AtlasExportRequest.java    From incubator-atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasExportRequest{");
    sb.append("itemsToExport={");
    AtlasBaseTypeDef.dumpObjects(itemsToExport, sb);
    sb.append("}");
    sb.append("options={");
    AtlasBaseTypeDef.dumpObjects(options, sb);
    sb.append("}");
    sb.append("}");

    return sb;
}
 
Example 11
Source File: EntityNotificationV1.java    From atlas with Apache License 2.0 6 votes vote down vote up
@Override
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("EntityNotificationV1{");
    super.toString(sb);
    sb.append(", entity=");
    if (entity != null) {
        entity.toString(sb);
    } else {
        sb.append(entity);
    }
    sb.append(", operationType=").append(operationType);
    sb.append(", traits=[");
    AtlasBaseTypeDef.dumpObjects(traits, sb);
    sb.append("]");
    sb.append("}");

    return sb;
}
 
Example 12
Source File: TypesDef.java    From atlas with Apache License 2.0 6 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("TypesDef{");
    sb.append("enumTypes=[");
    AtlasBaseTypeDef.dumpObjects(enumTypes, sb);
    sb.append("], structTypes=[");
    AtlasBaseTypeDef.dumpObjects(structTypes, sb);
    sb.append("], traitTypes=[");
    AtlasBaseTypeDef.dumpObjects(traitTypes, sb);
    sb.append("], classTypes=[");
    AtlasBaseTypeDef.dumpObjects(classTypes, sb);
    sb.append("]");
    sb.append("}");

    return sb;
}
 
Example 13
Source File: AtlasImportRequest.java    From atlas with Apache License 2.0 5 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasImportRequest{");
    sb.append("options={");
    AtlasBaseTypeDef.dumpObjects(options, sb);
    sb.append("}");
    sb.append("}");

    return sb;
}
 
Example 14
Source File: HookNotificationV1.java    From atlas with Apache License 2.0 5 votes vote down vote up
@Override
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("EntityCreateRequest{");
    super.toString(sb);
    sb.append("entities=[");
    AtlasBaseTypeDef.dumpObjects(getEntities(), sb);
    sb.append("]");
    sb.append("}");

    return sb;
}
 
Example 15
Source File: AtlasObjectId.java    From atlas with Apache License 2.0 5 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasObjectId{");
    sb.append("guid='").append(guid).append('\'');
    sb.append(", typeName='").append(typeName).append('\'');
    sb.append(", uniqueAttributes={");
    AtlasBaseTypeDef.dumpObjects(uniqueAttributes, sb);
    sb.append('}');
    sb.append('}');

    return sb;
}
 
Example 16
Source File: AtlasEntity.java    From atlas with Apache License 2.0 5 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasEntityExtInfo{");
    sb.append("referredEntities={");
    AtlasBaseTypeDef.dumpObjects(referredEntities, sb);
    sb.append("}");
    sb.append("}");

    return sb;
}
 
Example 17
Source File: AtlasEntity.java    From atlas with Apache License 2.0 5 votes vote down vote up
@Override
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasEntitiesWithExtInfo{");
    sb.append("entities=[");
    AtlasBaseTypeDef.dumpObjects(entities, sb);
    sb.append("],");
    super.toString(sb);
    sb.append("}");

    return sb;
}
 
Example 18
Source File: EntityMutationResponse.java    From atlas with Apache License 2.0 5 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if ( sb == null) {
        sb = new StringBuilder();
    }

    AtlasBaseTypeDef.dumpObjects(mutatedEntities, sb);

    return sb;
}
 
Example 19
Source File: AtlasImportRequest.java    From incubator-atlas with Apache License 2.0 5 votes vote down vote up
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasImportRequest{");
    sb.append("options={");
    AtlasBaseTypeDef.dumpObjects(options, sb);
    sb.append("}");
    sb.append("}");

    return sb;
}
 
Example 20
Source File: AtlasEntity.java    From atlas with Apache License 2.0 4 votes vote down vote up
@Override
public StringBuilder toString(StringBuilder sb) {
    if (sb == null) {
        sb = new StringBuilder();
    }

    sb.append("AtlasEntity{");
    super.toString(sb);
    sb.append("guid='").append(guid).append('\'');
    sb.append(", homeId='").append(homeId).append('\'');
    sb.append(", isProxy='").append(isProxy).append('\'');
    sb.append(", isIncomplete=").append(isIncomplete);
    sb.append(", provenanceType=").append(provenanceType);
    sb.append(", status=").append(status);
    sb.append(", createdBy='").append(createdBy).append('\'');
    sb.append(", updatedBy='").append(updatedBy).append('\'');
    dumpDateField(", createTime=", createTime, sb);
    dumpDateField(", updateTime=", updateTime, sb);
    sb.append(", version=").append(version);
    sb.append(", relationshipAttributes=[");
    dumpObjects(relationshipAttributes, sb);
    sb.append("]");
    sb.append(", classifications=[");
    AtlasBaseTypeDef.dumpObjects(classifications, sb);
    sb.append(']');
    sb.append(", meanings=[");
    AtlasBaseTypeDef.dumpObjects(meanings, sb);
    sb.append(']');
    sb.append(", customAttributes=[");
    dumpObjects(customAttributes, sb);
    sb.append("]");
    sb.append(", businessAttributes=[");
    dumpObjects(businessAttributes, sb);
    sb.append("]");
    sb.append(", labels=[");
    dumpObjects(labels, sb);
    sb.append("]");
    sb.append('}');

    return sb;
}