it.unipd.dei.ims.nestor.experiment.utils
Class NestorCompleteInvertedTables

java.lang.Object
  extended by it.unipd.dei.ims.nestor.experiment.utils.NestorSetAndElementTables
      extended by it.unipd.dei.ims.nestor.experiment.utils.NestorCompleteInvertedTables

public class NestorCompleteInvertedTables
extends NestorSetAndElementTables

Defines the NESTOR tables containing all the sets of the data structures, the elements, the content of the elements, the attribute and their content. It is called inverted tables because the attribute and tag content tables contains an entry for each attribute name and tag and to each of it is assigned a list of integer values indicating in which attribute or set that string occours.

Author:
gianmariasilvello

Constructor Summary
NestorCompleteInvertedTables()
           
NestorCompleteInvertedTables(java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> directSubsets, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> supersets, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> elements, java.util.HashMap<java.lang.Integer,java.lang.String> content, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> attributes, java.util.HashMap<java.lang.Integer,java.lang.String> contentAttributes, java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedAttributeNames, java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> tags)
           
 
Method Summary
 java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> getAttributesTable()
           
 java.util.HashMap<java.lang.Integer,java.lang.String> getContentAttributesTable()
           
 java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> getInvertedAttributeNamesTable()
           
 java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> getInvertedTagsTable()
           
 void setAttributesTable(java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> attributes)
           
 void setContentAttributesTable(java.util.HashMap<java.lang.Integer,java.lang.String> contentAttributes)
           
 void setInvertedAttributeNamesTable(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedAttributeNames)
           
 void setInvertedTagsTable(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedTags)
           
 
Methods inherited from class it.unipd.dei.ims.nestor.experiment.utils.NestorSetAndElementTables
getContentTable, getDirectSubsetsTable, getElementsTable, getSupersetsTable, setContentTable, setDirectSubsetsTable, setElementsTable, setSupersetsTable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestorCompleteInvertedTables

public NestorCompleteInvertedTables()

NestorCompleteInvertedTables

public NestorCompleteInvertedTables(java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> directSubsets,
                                    java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> supersets,
                                    java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> elements,
                                    java.util.HashMap<java.lang.Integer,java.lang.String> content,
                                    java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> attributes,
                                    java.util.HashMap<java.lang.Integer,java.lang.String> contentAttributes,
                                    java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedAttributeNames,
                                    java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> tags)
Method Detail

getAttributesTable

public java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> getAttributesTable()

getContentAttributesTable

public java.util.HashMap<java.lang.Integer,java.lang.String> getContentAttributesTable()

getInvertedTagsTable

public java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> getInvertedTagsTable()

getInvertedAttributeNamesTable

public java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> getInvertedAttributeNamesTable()

setAttributesTable

public void setAttributesTable(java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> attributes)

setContentAttributesTable

public void setContentAttributesTable(java.util.HashMap<java.lang.Integer,java.lang.String> contentAttributes)

setInvertedTagsTable

public void setInvertedTagsTable(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedTags)

setInvertedAttributeNamesTable

public void setInvertedAttributeNamesTable(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedAttributeNames)