[ 
https://issues.apache.org/jira/browse/RYA-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16122457#comment-16122457
 ] 

ASF GitHub Bot commented on RYA-250:
------------------------------------

Github user isper3at commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/153#discussion_r132576212
  
    --- Diff: 
extras/indexing/src/main/java/org/apache/rya/indexing/smarturi/duplication/DuplicateDataDetector.java
 ---
    @@ -0,0 +1,1059 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *   http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +package org.apache.rya.indexing.smarturi.duplication;
    +
    +import static java.util.Objects.requireNonNull;
    +
    +import java.math.BigDecimal;
    +import java.util.ArrayList;
    +import java.util.Date;
    +import java.util.HashMap;
    +import java.util.LinkedHashMap;
    +import java.util.List;
    +import java.util.Map;
    +import java.util.Map.Entry;
    +import java.util.Objects;
    +import java.util.Optional;
    +import java.util.Set;
    +import java.util.TreeSet;
    +
    +import org.apache.commons.configuration.ConfigurationException;
    +import org.apache.commons.lang.StringUtils;
    +import org.apache.rya.api.domain.RyaType;
    +import org.apache.rya.api.domain.RyaURI;
    +import org.apache.rya.api.resolver.impl.DateTimeRyaTypeResolver;
    +import org.apache.rya.indexing.entity.model.Entity;
    +import org.apache.rya.indexing.entity.model.Property;
    +import org.apache.rya.indexing.smarturi.SmartUriAdapter;
    +import org.apache.rya.indexing.smarturi.SmartUriException;
    +import 
org.apache.rya.indexing.smarturi.duplication.conf.DuplicateDataConfig;
    +import org.calrissian.mango.types.exception.TypeEncodingException;
    +import org.joda.time.DateTime;
    +import org.openrdf.model.URI;
    +import org.openrdf.model.impl.URIImpl;
    +import org.openrdf.model.vocabulary.XMLSchema;
    +
    +import com.google.common.collect.ImmutableMap;
    +
    +/**
    + * Detects if two entities contain data that's nearly identical based on a 
set
    --- End diff --
    
    nearly identical?  can you define that a bit more in the class docs?


> Smart URI avoid data duplication
> --------------------------------
>
>                 Key: RYA-250
>                 URL: https://issues.apache.org/jira/browse/RYA-250
>             Project: Rya
>          Issue Type: Task
>          Components: dao
>    Affects Versions: 3.2.10
>            Reporter: Eric White
>            Assignee: Eric White
>             Fix For: 3.2.10
>
>
> Implement Smart URI methods for avoiding data duplication.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to