private static String toPattern(final String location) {
        return location.endsWith("*") ? location : location + "*";
    }
@param location not null path or pattern in the abstract {@link Storage}
@return a pattern abstract {@link Storage} that matches all paths starting with location
spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/SparkContextStorage.java