public class MappingRefactor extends Object
| Constructor and Description |
|---|
MappingRefactor() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ListMultimap<String,Mapping> |
groupBy(ExprDatatypeNorm exprNormalizer,
List<Mapping> ms,
List<com.hp.hpl.jena.sparql.core.Var> vars)
Given a list of mappings, create groups of them with the following properties:
All members of a group must have the same datatypes for their term constructor args
e.g.
|
static List<Mapping> |
refactorToUnion(Mapping m,
List<com.hp.hpl.jena.sparql.core.Var> tmpVars)
If there are multiple definitions for any of the specified variables,
each definition results in a new mapping.
|
public static com.google.common.collect.ListMultimap<String,Mapping> groupBy(ExprDatatypeNorm exprNormalizer, List<Mapping> ms, List<com.hp.hpl.jena.sparql.core.Var> vars)
Copyright © 2013. All Rights Reserved.