com.facetmap.sql
Class SqlFacetSpace
java.lang.Object
com.facetmap.simple.SimpleFacetSpace
com.facetmap.sql.SqlFacetSpace
- All Implemented Interfaces:
- FacetSpace
public class SqlFacetSpace
- extends SimpleFacetSpace
| Methods inherited from class com.facetmap.simple.SimpleFacetSpace |
addFacet, getCompoundHeadingFacet, getDateFacet, getFacet, getFacet, getFacetCount, getFacets, getGeographyFacet, getKeywordFacet, getTaxonomy, getTaxonomyFacet, getVersion, indexOf |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sqlFacetmap
protected SqlFacetmap sqlFacetmap
usingTags
protected boolean usingTags
taxAddrSizes
protected int[] taxAddrSizes
SqlFacetSpace
public SqlFacetSpace(FacetSpace sourceFacetSpace,
SqlFacetmap facetmap)
createSqlFacet
public SqlFacet createSqlFacet(Facet sourceFacet)
getSqlFacet
public SqlFacet getSqlFacet(java.lang.String id)
getSqlSpectrumFacet
public SpectrumImpl getSqlSpectrumFacet(java.lang.String id)
getSpectrumFacet
public SpectrumFacet getSpectrumFacet(java.lang.String id)
throws UnknownReferenceException
- Description copied from interface:
FacetSpace
- Returns the SpectrumFacet with the given identifier.
- Specified by:
getSpectrumFacet in interface FacetSpace- Overrides:
getSpectrumFacet in class SimpleFacetSpace
- Throws:
UnknownReferenceException
getSqlDateFacet
public DateImpl getSqlDateFacet(java.lang.String id)
throws UnknownReferenceException
- Throws:
UnknownReferenceException
getTaxAddrSizes
public int[] getTaxAddrSizes()
addTaxonomy
public void addTaxonomy(TaxonomyImpl t)
- Adds a new Taxonomy (hence a new dimension) to this space. This method
performs necessary initialization on the Taxonomy and this TaxonomySpace
-- use of any other adding mechanism is at your own risk.
generateAddressSizes
protected void generateAddressSizes()
- Each int in the taxAddrSizes array represents the number of bytes
necessary to address headings in the corresponding facet.
getSqlFacetmap
public SqlFacetmap getSqlFacetmap()
isUsingTags
public boolean isUsingTags()