org.gcube.contentmanagement.lexicalmatcher.analysis.guesser.data
Class DBObjectTranslator

java.lang.Object
  extended by org.gcube.contentmanagement.lexicalmatcher.analysis.guesser.data.DBObjectTranslator

public class DBObjectTranslator
extends Object


Field Summary
 ArrayList<Category> categories
           
 ArrayList<RelationEdge> relations
           
 BigInteger totalCatElements
           
 BigInteger totalEntries
           
 BigInteger totalRelationElements
           
 
Constructor Summary
DBObjectTranslator()
           
 
Method Summary
 void buildCategories(org.hibernate.SessionFactory dbSession, String referenceTable, String referenceColumn, String idColumn, String nameHuman, String description)
           
 void buildCategoriesStructure(org.hibernate.SessionFactory dbSession, String referenceTable, String referenceColumn, String idColumn, String nameHuman, String description)
           
 void buildRelationsEdges(org.hibernate.SessionFactory dbSession)
           
 void buildWholeStructure(org.hibernate.SessionFactory dbSession, String referenceTable, String referenceColumn, String idColumn, String nameHuman, String description)
           
 void calculateCategoriesWeights(org.hibernate.SessionFactory dbSession)
           
 void calculateRelationWeights(org.hibernate.SessionFactory dbSession)
           
 BigInteger calculateTotalEntries(org.hibernate.SessionFactory dbSession, String timeSeriesName, String timeSeriesColumn)
           
 Category getCategoryfromIndex(String index)
           
static void main(String[] args)
           
 void populateRelationWithCategories()
           
 ArrayList<Entry> retrieveEntries(org.hibernate.SessionFactory dbSession, String timeSeriesName, BigInteger min, int numberOfElements)
           
 ArrayList<String> retrieveTimeSeriesEntries(org.hibernate.SessionFactory dbSession, String timeSeriesName, String timeSeriesColumn, BigInteger min, int numberOfElements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

relations

public ArrayList<RelationEdge> relations

categories

public ArrayList<Category> categories

totalEntries

public BigInteger totalEntries

totalCatElements

public BigInteger totalCatElements

totalRelationElements

public BigInteger totalRelationElements
Constructor Detail

DBObjectTranslator

public DBObjectTranslator()
Method Detail

main

public static void main(String[] args)

calculateTotalEntries

public BigInteger calculateTotalEntries(org.hibernate.SessionFactory dbSession,
                                        String timeSeriesName,
                                        String timeSeriesColumn)

retrieveTimeSeriesEntries

public ArrayList<String> retrieveTimeSeriesEntries(org.hibernate.SessionFactory dbSession,
                                                   String timeSeriesName,
                                                   String timeSeriesColumn,
                                                   BigInteger min,
                                                   int numberOfElements)

retrieveEntries

public ArrayList<Entry> retrieveEntries(org.hibernate.SessionFactory dbSession,
                                        String timeSeriesName,
                                        BigInteger min,
                                        int numberOfElements)

buildRelationsEdges

public void buildRelationsEdges(org.hibernate.SessionFactory dbSession)

buildCategories

public void buildCategories(org.hibernate.SessionFactory dbSession,
                            String referenceTable,
                            String referenceColumn,
                            String idColumn,
                            String nameHuman,
                            String description)

getCategoryfromIndex

public Category getCategoryfromIndex(String index)

populateRelationWithCategories

public void populateRelationWithCategories()

calculateRelationWeights

public void calculateRelationWeights(org.hibernate.SessionFactory dbSession)

calculateCategoriesWeights

public void calculateCategoriesWeights(org.hibernate.SessionFactory dbSession)

buildCategoriesStructure

public void buildCategoriesStructure(org.hibernate.SessionFactory dbSession,
                                     String referenceTable,
                                     String referenceColumn,
                                     String idColumn,
                                     String nameHuman,
                                     String description)

buildWholeStructure

public void buildWholeStructure(org.hibernate.SessionFactory dbSession,
                                String referenceTable,
                                String referenceColumn,
                                String idColumn,
                                String nameHuman,
                                String description)


Copyright © 2012. All Rights Reserved.