|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.rssdb.storage.StorageParameters
public class StorageParameters
| Field Summary | |
|---|---|
java.lang.String |
DATA_PROPERTY
The name of the table in which are stored all data properties |
protected static org.apache.log4j.Logger |
log
|
int |
NO_TRIPLE
|
| Constructor Summary | |
|---|---|
StorageParameters(RDFDB_Model model)
|
|
| Method Summary | |
|---|---|
void |
addStoredGS(java.lang.String gs)
|
void |
addStoredNS(java.lang.String ns)
|
java.util.Properties |
getAuthentication()
Validation and Storage of data descriptions is performed. |
boolean |
getCluster()
|
java.sql.Connection |
getConnection()
|
boolean |
getCreateIndex()
|
java.lang.String |
getCurrentGS()
Returns the current graphspace URI |
java.lang.String |
getCurrentNS()
Returns the current namespace URI |
java.lang.String |
getDbFunctionsPath()
|
java.lang.String |
getDbURL()
|
int |
getMax_literal_length()
|
int |
getMax_lpart_length()
|
int |
getMax_prefix_length()
|
int |
getMax_uri_length()
|
int |
getModification_counter()
|
java.lang.String |
getModifiedGS()
|
java.lang.String |
getModifiedNS()
|
boolean |
getNewData()
|
boolean |
getNewSchema()
|
boolean |
getPermitSchemaRendundancies()
Returns true if we permit Rendundant information in the schema to be stored, otherwise false. |
java.lang.String |
getRDFSUITE_NS()
|
int |
getRepresentation()
|
java.sql.Statement |
getStatement()
|
java.util.ArrayList |
getStoredGS()
Contains the URIS of the graphspaces that have been stored during this model storing |
java.util.ArrayList |
getStoredNS()
Contains the URIS of the namespaces that have been stored during this model storing |
boolean |
getStoredSchema()
|
java.lang.StringBuffer |
getTimeStatisticsText()
|
boolean |
getTransaction()
|
boolean |
getVerbose()
|
boolean |
isHierarchyDAG()
Returns true if the stored class/metaclass/property hierarchies are dags. |
void |
isJDBCDriverAccessible()
|
boolean |
isTimeStatistics()
|
void |
setAuthentication(java.lang.String logi,
java.lang.String pass)
Sets your login and password. |
void |
setCluster(boolean b)
|
void |
setConnection(java.sql.Connection con)
|
void |
setCreateIndex(boolean b)
|
void |
setCurrentGS(java.lang.String graphspace_uri)
|
void |
setCurrentNS(java.lang.String namespace_uri)
|
void |
setDbFunctionsPath(java.lang.String dbFunctionsPath)
|
void |
setDbURL(java.lang.String dbPath)
|
void |
setMax_literal_length(int max_literal_length)
|
void |
setMax_lpart_length(int max_lpart_length)
|
void |
setMax_prefix_length(int max_prefix_length)
|
void |
setMax_uri_length(int max_uri_length)
|
void |
setModification_counter(int m)
|
void |
setModifiedGraphspace(java.lang.String modifiedGS)
Set the namespace you wish to be stored in the db for the input local file/thesaurus |
void |
setModifiedGS(java.lang.String modifiedGS)
|
void |
setModifiedNamespace(java.lang.String modifiedNS)
Set the namespace you wish to be stored in the db for the input local file/thesaurus |
void |
setModifiedNS(java.lang.String modifiedNS)
|
void |
setNewData(boolean b)
Validation and Storage of data descriptions is performed. |
void |
setNewSchema(boolean b)
Validation and storage of schema descriptions of a new RDF schema. |
void |
setRDFSUITE_NS(java.lang.String rdfsuite_ns)
|
void |
setRepresentation(int representation)
|
void |
setStatement(java.sql.Statement s)
|
void |
setStoredGS(java.util.ArrayList gs)
|
void |
setStoredNS(java.util.ArrayList ns)
|
void |
setStoredSchema(boolean b)
Validation and storage of schema descriptions of a new RDF schema. |
void |
setTimeStatistics(boolean timeStatistics)
|
void |
setTimeStatisticsText(java.lang.StringBuffer timeStatisticsText)
|
void |
setTransaction(boolean transaction)
|
void |
setVerbose(boolean b)
Prints messages about the actions that are being performed by the RSSDB and the descriptions are being stored. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String DATA_PROPERTY
protected static final org.apache.log4j.Logger log
public int NO_TRIPLE
| Constructor Detail |
|---|
public StorageParameters(RDFDB_Model model)
| Method Detail |
|---|
public int getModification_counter()
public void setModification_counter(int m)
public int getMax_prefix_length()
public void setMax_prefix_length(int max_prefix_length)
public java.lang.String getRDFSUITE_NS()
public void setRDFSUITE_NS(java.lang.String rdfsuite_ns)
public int getMax_lpart_length()
public void setMax_lpart_length(int max_lpart_length)
public int getMax_literal_length()
public void setMax_literal_length(int max_literal_length)
public int getMax_uri_length()
public void setMax_uri_length(int max_uri_length)
public java.lang.String getDbFunctionsPath()
public void setDbFunctionsPath(java.lang.String dbFunctionsPath)
public boolean getVerbose()
public void setVerbose(boolean b)
public boolean getCreateIndex()
public void setCreateIndex(boolean b)
public java.sql.Connection getConnection()
public java.sql.Statement getStatement()
public void setStatement(java.sql.Statement s)
public boolean getPermitSchemaRendundancies()
public boolean isHierarchyDAG()
public java.lang.String getCurrentNS()
public java.lang.String getCurrentGS()
public void setCurrentNS(java.lang.String namespace_uri)
public void setCurrentGS(java.lang.String graphspace_uri)
public java.util.Properties getAuthentication()
public void setAuthentication(java.lang.String logi,
java.lang.String pass)
login - as a postgreSQL userpass - password as a postgreSQL userpublic boolean getNewSchema()
public void setNewSchema(boolean b)
public boolean getNewData()
public void setNewData(boolean b)
public void setCluster(boolean b)
public void setConnection(java.sql.Connection con)
public void isJDBCDriverAccessible()
throws gr.forth.ics.rdfsuite.services.exceptions.PostgresConnectionException
gr.forth.ics.rdfsuite.services.exceptions.PostgresConnectionException - In case Postgres drivers are not foundpublic java.lang.String getDbURL()
public void setDbURL(java.lang.String dbPath)
public boolean getStoredSchema()
public void setStoredSchema(boolean b)
public java.lang.String getModifiedNS()
public java.lang.String getModifiedGS()
public void setModifiedNS(java.lang.String modifiedNS)
public void setModifiedGS(java.lang.String modifiedGS)
public java.util.ArrayList getStoredNS()
public void setStoredNS(java.util.ArrayList ns)
public void addStoredNS(java.lang.String ns)
public java.util.ArrayList getStoredGS()
public void setStoredGS(java.util.ArrayList gs)
public void addStoredGS(java.lang.String gs)
public void setModifiedNamespace(java.lang.String modifiedNS)
modifiedNS - The namespace that will be stored in the db for the input local file/thesauruspublic void setModifiedGraphspace(java.lang.String modifiedGS)
modifiedNS - The namespace that will be stored in the db for the input local file/thesauruspublic boolean getTransaction()
public void setTransaction(boolean transaction)
public boolean isTimeStatistics()
public void setTimeStatistics(boolean timeStatistics)
public java.lang.StringBuffer getTimeStatisticsText()
public void setTimeStatisticsText(java.lang.StringBuffer timeStatisticsText)
public boolean getCluster()
public void setRepresentation(int representation)
throws gr.forth.ics.rdfsuite.services.exceptions.InvalidDatabaseRepresentationException
representation -
gr.forth.ics.rdfsuite.services.exceptions.InvalidDatabaseRepresentationException - if the given representation is not one
of the RDFDB_Model.SPECIFIC,RDFDB_Model.SPECIFIC_NOSUBTABLE,RDFDB_Model.SPECIFIC_UNIQUETABLE or RDFDB_Model.EMPTYpublic int getRepresentation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||