|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.rssdb.storage.StorageMetaData
public class StorageMetaData
| Field Summary | |
|---|---|
HierarchyLabel |
hlabel
|
protected static org.apache.log4j.Logger |
log
|
java.util.ArrayList |
nsInMemory
|
java.util.ArrayList |
storedNS
|
| Constructor Summary | |
|---|---|
StorageMetaData(RDFDB_Model model)
|
|
| Method Summary | |
|---|---|
int |
getAnonID()
|
java.util.HashMap |
getDataIDs()
|
int[] |
getDomainRangeTypeIds(IRDF_Property rdf_property)
Returns an array |
int[] |
getDomainRangeTypeIdsNoValidation(IRDF_Property rdf_property)
|
int |
getGraphspaceID(java.lang.String gs)
Returns the dbid of the graphspace if exists else 0 |
HierarchyLabel |
getHlabel()
|
int |
getNamespaceID(IRDFDB_Model model,
java.lang.String ns)
Retrieves the dbid of the namespace if it exists else returns -1 |
java.lang.String |
getNamespaceUriFromDBID(IRDFDB_Model model,
int dbid)
Given a namespace db id it returns the namespace uri it belongs to |
int |
getNextAnonID()
|
int |
getNextGSID()
|
int |
getNextNSID()
|
int |
getNextThesTypeEnumID()
|
int |
getNextTripleID()
|
int |
getNSID()
|
int |
getOrCreateGraphspaceID(java.lang.String gs)
Returns the db id of the graphspace Graphspace is the name of the table that corresponds to the NameSpace table for graphspaces Returns -1 if the graphspace uri is DEFAULT# that is the default graphspace that is not stored |
int |
getOrCreateNamespaceID(IRDFDB_Model model,
java.lang.String ns)
Returns the db id of the namespace if it exists or else creates one |
java.lang.String |
getPropertyTableID(java.lang.String rdf_property_uri)
|
java.util.HashMap |
getPropertyTableIDS()
|
java.util.HashMap |
getSchemaIDs()
Returns the DBMS identifier of the resource. |
RDF_DAG |
getSubclass_dag()
|
RDF_DAG |
getSubproperty_dag()
|
int |
getThesTypeEnumID()
|
int |
getXMLSchemaDTID(java.lang.String xmlSchemaDT_uri)
Returns the DBMS identifier of the xml datatype. |
int |
getXMLSchemaDTRQLID(java.lang.String xmlSchemaDT_uri)
|
void |
initResourceIDs()
|
void |
initStoredNS()
|
boolean |
isXMLSchemaDTID(int id)
|
void |
setDataIDs(java.util.HashMap dataIDs)
|
void |
setDomainRangeTypeIds(IRDF_Property rdf_property,
int[] dRType)
|
void |
setHlabel(HierarchyLabel hlabel)
|
void |
setNextAnonID(int nextAnonID)
|
void |
setNextNSID(int nextNSID)
|
void |
setNextThesTypeEnumID(int nextThesTypeEnumID)
|
void |
setPropertyTableID(java.lang.String rdf_property_uri,
java.lang.String tableID)
|
void |
setResourceIDs(java.util.HashMap hm)
Sets the DBMS identifier of the resource |
void |
setSchemaIDs(java.util.HashMap hm)
|
void |
setSubclass_dag(RDF_DAG subclass_dag)
|
void |
setSubproperty_dag(RDF_DAG subproperty_dag)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
public HierarchyLabel hlabel
public java.util.ArrayList storedNS
public java.util.ArrayList nsInMemory
| Constructor Detail |
|---|
public StorageMetaData(RDFDB_Model model)
| Method Detail |
|---|
public java.util.HashMap getSchemaIDs()
public void setResourceIDs(java.util.HashMap hm)
public void setSchemaIDs(java.util.HashMap hm)
public int getXMLSchemaDTID(java.lang.String xmlSchemaDT_uri)
public boolean isXMLSchemaDTID(int id)
public int getXMLSchemaDTRQLID(java.lang.String xmlSchemaDT_uri)
public int getOrCreateNamespaceID(IRDFDB_Model model,
java.lang.String ns)
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public int getNamespaceID(IRDFDB_Model model,
java.lang.String ns)
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public java.lang.String getNamespaceUriFromDBID(IRDFDB_Model model,
int dbid)
throws java.sql.SQLException
model - dbid -
java.sql.SQLException
public int getOrCreateGraphspaceID(java.lang.String gs)
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public int getGraphspaceID(java.lang.String gs)
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public int getNextNSID()
throws java.sql.SQLException
java.sql.SQLException - In case a query abortspublic int getNSID()
public int getNextGSID()
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public int getNextAnonID()
throws java.sql.SQLException
java.sql.SQLException - In case a query abortspublic int getAnonID()
public int getNextTripleID()
throws java.sql.SQLException
java.sql.SQLException - In case a query abortspublic int[] getDomainRangeTypeIds(IRDF_Property rdf_property)
rdf_property -
public int[] getDomainRangeTypeIdsNoValidation(IRDF_Property rdf_property)
throws java.sql.SQLException
rdf_property -
java.sql.SQLException - In case a query aborts
public void setDomainRangeTypeIds(IRDF_Property rdf_property,
int[] dRType)
public void setPropertyTableID(java.lang.String rdf_property_uri,
java.lang.String tableID)
public java.lang.String getPropertyTableID(java.lang.String rdf_property_uri)
public java.util.HashMap getPropertyTableIDS()
public int getNextThesTypeEnumID()
public int getThesTypeEnumID()
public void setNextThesTypeEnumID(int nextThesTypeEnumID)
public void setNextNSID(int nextNSID)
public void setNextAnonID(int nextAnonID)
public RDF_DAG getSubclass_dag()
public void setSubclass_dag(RDF_DAG subclass_dag)
public RDF_DAG getSubproperty_dag()
public void setSubproperty_dag(RDF_DAG subproperty_dag)
public HierarchyLabel getHlabel()
public void setHlabel(HierarchyLabel hlabel)
public java.util.HashMap getDataIDs()
public void setDataIDs(java.util.HashMap dataIDs)
public void initStoredNS()
public void initResourceIDs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||