ATLAS-2827: Indexed string compaction when length exceeds 33482223 Change-Id: I6e250653da854ecf75bf004c43aaf854ca061d26
Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/89328db4 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/89328db4 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/89328db4 Branch: refs/heads/branch-1.0 Commit: 89328db486312b4b9f165001c6f5fb61e2ce65ac Parents: 28c2627 Author: apoorvnaik <[email protected]> Authored: Tue Jul 31 07:06:17 2018 -0700 Committer: Ashutosh Mestry <[email protected]> Committed: Thu Nov 1 15:43:00 2018 -0700 ---------------------------------------------------------------------- .../store/graph/v2/EntityGraphMapper.java | 38 ++------------------ 1 file changed, 2 insertions(+), 36 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/89328db4/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java ---------------------------------------------------------------------- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java index 52355a5..e8c8c0c 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java @@ -77,42 +77,8 @@ import static org.apache.atlas.model.instance.EntityMutations.EntityOperation.DE import static org.apache.atlas.model.instance.EntityMutations.EntityOperation.PARTIAL_UPDATE; import static org.apache.atlas.model.instance.EntityMutations.EntityOperation.UPDATE; import static org.apache.atlas.model.typedef.AtlasStructDef.AtlasAttributeDef.Cardinality.SET; -import static org.apache.atlas.repository.Constants.ATTRIBUTE_INDEX_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.ATTRIBUTE_KEY_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.CLASSIFICATION_ENTITY_GUID; -import static org.apache.atlas.repository.Constants.CLASSIFICATION_ENTITY_STATUS; -import static org.apache.atlas.repository.Constants.CLASSIFICATION_LABEL; -import static org.apache.atlas.repository.Constants.CLASSIFICATION_VALIDITY_PERIODS_KEY; -import static org.apache.atlas.repository.Constants.CLASSIFICATION_VERTEX_PROPAGATE_KEY; -import static org.apache.atlas.repository.Constants.CLASSIFICATION_VERTEX_REMOVE_PROPAGATIONS_KEY; -import static org.apache.atlas.repository.Constants.CREATED_BY_KEY; -import static org.apache.atlas.repository.Constants.ENTITY_TYPE_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.GUID_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.HOME_ID_KEY; -import static org.apache.atlas.repository.Constants.IS_PROXY_KEY; -import static org.apache.atlas.repository.Constants.MODIFICATION_TIMESTAMP_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.MODIFIED_BY_KEY; -import static org.apache.atlas.repository.Constants.RELATIONSHIP_GUID_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.STATE_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.SUPER_TYPES_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.TIMESTAMP_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.TRAIT_NAMES_PROPERTY_KEY; -import static org.apache.atlas.repository.Constants.VERSION_PROPERTY_KEY; -import static org.apache.atlas.repository.graph.GraphHelper.getCollectionElementsUsingRelationship; -import static org.apache.atlas.repository.graph.GraphHelper.getClassificationEdge; -import static org.apache.atlas.repository.graph.GraphHelper.getClassificationVertex; -import static org.apache.atlas.repository.graph.GraphHelper.getDefaultRemovePropagations; -import static org.apache.atlas.repository.graph.GraphHelper.getMapElementsProperty; -import static org.apache.atlas.repository.graph.GraphHelper.getStatus; -import static org.apache.atlas.repository.graph.GraphHelper.getTraitLabel; -import static org.apache.atlas.repository.graph.GraphHelper.getTraitNames; -import static org.apache.atlas.repository.graph.GraphHelper.getTypeName; -import static org.apache.atlas.repository.graph.GraphHelper.getTypeNames; -import static org.apache.atlas.repository.graph.GraphHelper.isActive; -import static org.apache.atlas.repository.graph.GraphHelper.isPropagationEnabled; -import static org.apache.atlas.repository.graph.GraphHelper.isRelationshipEdge; -import static org.apache.atlas.repository.graph.GraphHelper.string; -import static org.apache.atlas.repository.graph.GraphHelper.updateModificationMetadata; +import static org.apache.atlas.repository.Constants.*; +import static org.apache.atlas.repository.graph.GraphHelper.*; import static org.apache.atlas.repository.store.graph.v2.AtlasGraphUtilsV2.getIdFromVertex; import static org.apache.atlas.repository.store.graph.v2.AtlasGraphUtilsV2.isReference; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.IN;
