Class ProvenanceKernels
- java.lang.Object
-
- org.openprovenance.prov.template.types.ProvenanceKernels
-
public class ProvenanceKernels extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.fasterxml.jackson.core.type.TypeReference<Collection<String>>collRefstatic Map<String,Object>global_resultstatic com.fasterxml.jackson.core.type.TypeReference<Map<String,Integer>>mapRefstatic com.fasterxml.jackson.core.type.TypeReference<Map<String,String>>mapStringRefstatic com.fasterxml.jackson.core.type.TypeReference<Map<String,Map<String,List<String>>>>propertyConverterRef
-
Constructor Summary
Constructors Constructor Description ProvenanceKernels()
-
Method Summary
Modifier and Type Method Description Map<String,Object>do_main(String[] args)static Map<String,Map<String,List<String>>>loadPropertyConvertersMap(String propertyConverters, com.fasterxml.jackson.databind.ObjectMapper om)static voidmain(String[] args)TypesRecordProcessornewTypesRecordProcessor(int relationOffset, int levelOffset, int levelNumber, boolean addLevel0ToAllLevels, Map<String,Integer> knownTypes, Map<String,String> translation, Map<Set<Integer>,Integer> knownTypesSets, List<org.apache.commons.lang3.tuple.Pair<String,Object[]>> records, Map<String,Integer> knownRelations2, Map<String,Map<String,List<String>>> propertyConvertersMap, Map<String,Map<String,List<String>>> idataConvertersMap, Collection<String> rejectedTypes)
-
-
-
Field Detail
-
collRef
public static final com.fasterxml.jackson.core.type.TypeReference<Collection<String>> collRef
-
mapRef
public static final com.fasterxml.jackson.core.type.TypeReference<Map<String,Integer>> mapRef
-
mapStringRef
public static final com.fasterxml.jackson.core.type.TypeReference<Map<String,String>> mapStringRef
-
propertyConverterRef
public static final com.fasterxml.jackson.core.type.TypeReference<Map<String,Map<String,List<String>>>> propertyConverterRef
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
do_main
public Map<String,Object> do_main(String[] args) throws IOException
- Throws:
IOException
-
loadPropertyConvertersMap
public static Map<String,Map<String,List<String>>> loadPropertyConvertersMap(String propertyConverters, com.fasterxml.jackson.databind.ObjectMapper om) throws IOException
- Throws:
IOException
-
newTypesRecordProcessor
public TypesRecordProcessor newTypesRecordProcessor(int relationOffset, int levelOffset, int levelNumber, boolean addLevel0ToAllLevels, Map<String,Integer> knownTypes, Map<String,String> translation, Map<Set<Integer>,Integer> knownTypesSets, List<org.apache.commons.lang3.tuple.Pair<String,Object[]>> records, Map<String,Integer> knownRelations2, Map<String,Map<String,List<String>>> propertyConvertersMap, Map<String,Map<String,List<String>>> idataConvertersMap, Collection<String> rejectedTypes)
-
-