All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
applyImportConfiguration()
MACRO EXECUTION BLOCK: APPLY IMPORT CONFIGURATION
Builds the graph model and the rules for the mapping with the source database schema through 2 micro execution blocks:
- upsert Relationships according to the migrationConfigDoc
|
void |
buildGraphModel(ONameResolver nameResolver) |
void |
buildSourceDatabaseSchema()
MACRO EXECUTION BLOCK: BUILD SOURCE DATABASE SCHEMA
Builds the database schema and the rules for the mapping with the graph model through 3 micro execution blocks:
- Build Entities
- Build Out-Relationships
- Build In-Relationships
|
OAggregatorEdge |
getAggregatorEdgeByEdgeTypeName(String edgeTypeName) |
OAggregatorEdge |
getAggregatorEdgeByJoinVertexTypeName(String vertexTypeName) |
String |
getAttributeByPropertyAboveMappers(String propertyName,
List<OEVClassMapper> classMappers) |
String |
getAttributeNameByEdgeTypeAndProperty(OEdgeType edgeType,
String propertyName) |
String |
getAttributeNameByVertexTypeAndProperty(OVertexType vertexType,
String propertyName) |
ODataBaseSchema |
getDataBaseSchema() |
Map<String,List<OEEClassMapper>> |
getEdgeType2EEClassMappers() |
Map<OEdgeType,LinkedList<ORelationship>> |
getEdgeType2relationships() |
Map<String,Integer> |
getEdgeTypeName2count() |
List<OEEClassMapper> |
getEEClassMappersByEdge(OEdgeType edgeType) |
List<OEEClassMapper> |
getEEClassMappersByEntity(OEntity entity) |
Map<String,List<OEEClassMapper>> |
getEntity2EEClassMappers() |
Map<OEntity,List<OEVClassMapper>> |
getEntity2EVClassMappers() |
OEntity |
getEntityByVertexType(OVertexType vertexType) |
OEntity |
getEntityByVertexType(OVertexType vertexType,
int classMapperIndex) |
List<OEVClassMapper> |
getEVClassMappersByEntity(OEntity entity) |
List<OEVClassMapper> |
getEVClassMappersByVertex(OVertexType vertexType) |
List<String> |
getExcludedTables() |
List<String> |
getIncludedTables() |
Map<OVertexType,OAggregatorEdge> |
getJoinVertex2aggregatorEdges() |
OVertexType |
getJoinVertexTypeByAggregatorEdge(String edgeType)
It returns the vertex type mapped with the aggregator edge correspondent to the original join table.
|
OConfiguration |
getMigrationConfig() |
String |
getPropertyNameByEntityAndAttribute(OEntity entity,
String attributeName) |
String |
getPropertyNameByVertexTypeAndAttribute(OVertexType vertexType,
String attributeName) |
Map<ORelationship,OEdgeType> |
getRelationship2edgeType() |
List<ORelationship> |
getRelationshipsByForeignAndParentTables(String currentForeignEntity,
String currentParentEntity) |
Map<OVertexType,List<OEVClassMapper>> |
getVertexType2EVClassMappers() |
OVertexType |
getVertexTypeByEntity(OEntity entity) |
OVertexType |
getVertexTypeByEntity(OEntity entity,
int classMapperIndex) |
OVertexType |
getVertexTypeByEntityAndRelationship(OEntity currentParentEntity,
ORelationship currentRelationship) |
boolean |
isTableAllowed(String tableName) |
void |
performAggregations()
MACRO EXECUTION BLOCK: PERFORM AGGREGATIONS
Performs aggregation strategies on the graph model through the following micro execution blocks:
- Many-To-Many Aggregation
|
void |
performMany2ManyAggregation()
MICRO EXECUTION BLOCK: PERFORM AGGREGATIONS - MANY TO MANY AGGREGATION
Aggregates Many-To-Many Relationships represented by join tables of dimension == 2.
|
void |
setDataBaseSchema(ODataBaseSchema dataBaseSchema) |
void |
setEdgeType2relationships(Map<OEdgeType,LinkedList<ORelationship>> edgeType2relationships) |
void |
setEdgeTypeName2count(Map<String,Integer> edgeTypeName2count) |
void |
setExcludedTables(List<String> excludedTables) |
void |
setIncludedTables(List<String> includedTables) |
void |
setJoinVertex2aggregatorEdges(Map<OVertexType,OAggregatorEdge> joinVertex2aggregatorEdges) |
void |
setMigrationConfig(OConfiguration migrationConfig) |
void |
setRelationship2edgeType(Map<ORelationship,OEdgeType> relationship2edgeTypeRules) |
String |
toString() |
void |
upsertEEClassMappingRules(OEntity currentEntity,
OEdgeType currentEdgeType,
OEEClassMapper classMapper) |
void |
upsertEVClassMappingRules(OEntity currentEntity,
OVertexType currentVertexType,
OEVClassMapper classMapper) |
void |
upsertRelationshipEdgeRules(ORelationship currentRelationship,
OEdgeType currentEdgeType) |