public class OConfigurationHandler extends Object
Constructor and Description |
---|
OConfigurationHandler(boolean runningAggregationStrategy) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildConfigEdgesFromGraphModel(OER2GraphMapper mapper,
OConfiguration configuration,
Map<String,String> tableName2SourceIdName) |
OConfiguration |
buildConfigurationFromJSONDoc(com.orientechnologies.orient.core.record.impl.ODocument jsonConfiguration) |
OConfiguration |
buildConfigurationFromJSONDoc(com.orientechnologies.orient.core.record.impl.ODocument jsonConfiguration,
boolean keepVerticesCoordinates)
Parsing method.
|
OConfiguration |
buildConfigurationFromMapper(OER2GraphMapper mapper) |
protected Map<String,String> |
buildConfigVerticesFromGraphModel(OER2GraphMapper mapper,
OConfiguration configuration) |
com.orientechnologies.orient.core.record.impl.ODocument |
buildJSONDocFromConfiguration(OConfiguration configuration)
It returns a ODocument object containing the configuration (JSON format) starting from a OConfiguration object.
|
void |
filterAccordingToBlackList(com.orientechnologies.orient.core.record.impl.ODocument jsonConfiguration,
List<String> excludedTables) |
void |
filterAccordingToWhiteList(com.orientechnologies.orient.core.record.impl.ODocument jsonConfiguration,
List<String> includedTables) |
public OConfigurationHandler(boolean runningAggregationStrategy)
public OConfiguration buildConfigurationFromJSONDoc(com.orientechnologies.orient.core.record.impl.ODocument jsonConfiguration)
public OConfiguration buildConfigurationFromJSONDoc(com.orientechnologies.orient.core.record.impl.ODocument jsonConfiguration, boolean keepVerticesCoordinates)
jsonConfiguration
- public com.orientechnologies.orient.core.record.impl.ODocument buildJSONDocFromConfiguration(OConfiguration configuration)
configuration
- public OConfiguration buildConfigurationFromMapper(OER2GraphMapper mapper)
protected Map<String,String> buildConfigVerticesFromGraphModel(OER2GraphMapper mapper, OConfiguration configuration)
protected void buildConfigEdgesFromGraphModel(OER2GraphMapper mapper, OConfiguration configuration, Map<String,String> tableName2SourceIdName)
public void filterAccordingToWhiteList(com.orientechnologies.orient.core.record.impl.ODocument jsonConfiguration, List<String> includedTables)
Copyright © 2015–2022 OrientDB. All rights reserved.