|
|||||||||
| Home >> All >> nl >> aidministrator >> rdf >> [ ral overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
nl.aidministrator.rdf.ral
Class StatisticsRAL

java.lang.Objectnl.aidministrator.rdf.ral.StatisticsRAL
- All Implemented Interfaces:
- RAL
- public class StatisticsRAL
- extends java.lang.Object
- implements RAL
- extends java.lang.Object
| Field Summary | |
protected int |
_acCount
|
protected int |
_acomCount
|
protected long |
_acomTime
|
protected long |
_acTime
|
protected int |
_adCount
|
protected int |
_adsCount
|
protected long |
_adsTime
|
protected long |
_adTime
|
protected int |
_aiCount
|
protected long |
_aiTime
|
protected int |
_alCount
|
protected long |
_alTime
|
protected int |
_apCount
|
protected long |
_apTime
|
protected int |
_arCount
|
protected long |
_arTime
|
protected int |
_ascCount
|
protected long |
_ascTime
|
protected int |
_aspCount
|
protected long |
_aspTime
|
protected int |
_crCount
|
protected long |
_crTime
|
protected int |
_gcCount
|
protected int |
_gcfCount
|
protected long |
_gcfTime
|
protected long |
_gcTime
|
protected int |
_gdfCount
|
protected long |
_gdfTime
|
protected int |
_gioCount
|
protected long |
_gioTime
|
protected int |
_glfCount
|
protected long |
_glfTime
|
protected int |
_gnCount
|
protected long |
_gnTime
|
protected int |
_gpCount
|
protected long |
_gpTime
|
protected int |
_grfCount
|
protected long |
_grfTime
|
protected int |
_gsCount
|
protected long |
_gsTime
|
protected int |
_gsubcCount
|
protected long |
_gsubcTime
|
protected int |
_gsubpCount
|
protected long |
_gsubpTime
|
protected int |
_gsupcCount
|
protected long |
_gsupcTime
|
protected int |
_gsuppCount
|
protected long |
_gsuppTime
|
protected int |
_icCount
|
protected int |
_icomCount
|
protected long |
_icomTime
|
protected long |
_icTime
|
protected int |
_iioCount
|
protected long |
_iioTime
|
protected int |
_ilCount
|
protected long |
_ilTime
|
protected int |
_ipCount
|
protected long |
_ipTime
|
protected int |
_isCount
|
protected long |
_isTime
|
protected int |
_isubcCount
|
protected long |
_isubcTime
|
protected int |
_isubpCount
|
protected long |
_isubpTime
|
protected RAL |
_other
|
protected java.lang.String |
_reposName
|
| Constructor Summary | |
StatisticsRAL(RAL other)
Creates a StatisticsRAL that logs statistics to ServletLog |
|
| Method Summary | |
void |
addClass(nl.aidministrator.rdf.sail.model.Resource classResource)
Adds a class to the repository. |
void |
addComment(nl.aidministrator.rdf.sail.model.Resource resource,
nl.aidministrator.rdf.sail.model.Literal comment)
Adds a comment for resource 'resource' to the repository. |
void |
addDataStatement(nl.aidministrator.rdf.sail.model.Resource subject,
nl.aidministrator.rdf.sail.model.Resource predicate,
nl.aidministrator.rdf.sail.model.Value object)
Adds a data statament to the repository. |
void |
addDomain(nl.aidministrator.rdf.sail.model.Resource property,
nl.aidministrator.rdf.sail.model.Resource domainClass)
Adds a domain restriction to the repository. |
void |
addInstance(nl.aidministrator.rdf.sail.model.Value dataValue,
nl.aidministrator.rdf.sail.model.Resource classResource)
Adds an instance of class 'classResource' to the repository. |
void |
addLabel(nl.aidministrator.rdf.sail.model.Resource resource,
nl.aidministrator.rdf.sail.model.Literal label)
Adds a label for resource 'resource' to the repository. |
void |
addProperty(nl.aidministrator.rdf.sail.model.Resource property)
Adds a property to the repository. |
void |
addRange(nl.aidministrator.rdf.sail.model.Resource property,
nl.aidministrator.rdf.sail.model.Resource rangeClass)
Adds a range restriction to the repository. |
void |
addSubClass(nl.aidministrator.rdf.sail.model.Resource subClass,
nl.aidministrator.rdf.sail.model.Resource superClass)
Adds a subclass-relation to the repository. |
void |
addSubProperty(nl.aidministrator.rdf.sail.model.Resource subProp,
nl.aidministrator.rdf.sail.model.Resource superProp)
Adds a subproperty-relation to the repository. |
void |
clearRepository()
Clears the repository. |
void |
dumpStatistics()
|
ResourceIterator |
getClasses()
Gets all defined classes. |
ResourceIterator |
getCommentsFor(nl.aidministrator.rdf.sail.model.Resource resource)
Gets all comments for the supplied resource. |
nl.aidministrator.rdf.sail.model.Value |
getDomainFor(nl.aidministrator.rdf.sail.model.Resource propUri)
Gets the domain for the supplied property. |
ResourceIterator |
getInstancesOf(nl.aidministrator.rdf.sail.model.Resource classUri,
boolean properInstances)
Gets all instances of the supplied class. |
ResourceIterator |
getLabelsFor(nl.aidministrator.rdf.sail.model.Resource resource)
Gets all labels for the supplied resource. |
NamespaceIterator |
getNamespaces()
Gets the prefix and name of all namespaces. |
ResourceIterator |
getProperties()
Gets all defined properties. |
nl.aidministrator.rdf.sail.model.Value |
getRangeFor(nl.aidministrator.rdf.sail.model.Resource propUri)
Gets the range for the supplied property. |
StatementIterator |
getStatements(nl.aidministrator.rdf.sail.model.Resource source,
nl.aidministrator.rdf.sail.model.Resource predicate,
nl.aidministrator.rdf.sail.model.Value target,
boolean recursive)
Gets all statements with a specific predicate and, possibly, with a specific source and/or target. |
ResourceIterator |
getSubClassesOf(nl.aidministrator.rdf.sail.model.Resource classUri,
boolean recursive)
Gets all subclasses of the supplied class. |
ResourceIterator |
getSubPropertiesOf(nl.aidministrator.rdf.sail.model.Resource propUri,
boolean recursive)
Gets all subproperties of the supplied property. |
ResourceIterator |
getSuperClassesOf(nl.aidministrator.rdf.sail.model.Resource classUri,
boolean recursive)
Gets all superclasses of the supplied class. |
ResourceIterator |
getSuperPropertiesOf(nl.aidministrator.rdf.sail.model.Resource propUri,
boolean recursive)
Gets all superproperties of the supplied property. |
void |
initialize(java.util.Map configParams)
Initializes the RAL using a set of configuration parameters. |
boolean |
isClass(nl.aidministrator.rdf.sail.model.Value resource)
Checks whether the supplied resource represents a class. |
boolean |
isComment(nl.aidministrator.rdf.sail.model.Resource source,
nl.aidministrator.rdf.sail.model.Literal target)
Checks whether a comment with the specified source and target exisits. |
boolean |
isInstanceOf(nl.aidministrator.rdf.sail.model.Value dataUri,
nl.aidministrator.rdf.sail.model.Resource classUri,
boolean properInstances)
Checks whether the supplied data resource is an instance of the supplied class. |
boolean |
isLabel(nl.aidministrator.rdf.sail.model.Resource source,
nl.aidministrator.rdf.sail.model.Literal target)
Checks whether a label with the specified source and target exists. |
boolean |
isProperty(nl.aidministrator.rdf.sail.model.Value uri)
Checks whether the supplied resource represents a property. |
boolean |
isStatement(nl.aidministrator.rdf.sail.model.Resource source,
nl.aidministrator.rdf.sail.model.Resource predicate,
nl.aidministrator.rdf.sail.model.Value target,
boolean recursive)
Checks whether a specific statement is already present. |
boolean |
isSubClassOf(nl.aidministrator.rdf.sail.model.Value subClassUri,
nl.aidministrator.rdf.sail.model.Value superClassUri)
Checks whether one uri is a subclass of another (recursively). |
boolean |
isSubPropertyOf(nl.aidministrator.rdf.sail.model.Value subPropertyUri,
nl.aidministrator.rdf.sail.model.Value superPropertyUri)
Checks whether one property is a subproperty of another (recursively). |
void |
removeDataStatements(nl.aidministrator.rdf.sail.model.Resource subject,
nl.aidministrator.rdf.sail.model.Resource predicate,
nl.aidministrator.rdf.sail.model.Value object)
Removes data statements that match the (subject, predicate, object) pattern from the repository. |
void |
shutDown()
Allow the RAL to synchronize any stale data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_other
protected RAL _other
_reposName
protected java.lang.String _reposName
_adsTime
protected long _adsTime
_adsCount
protected int _adsCount
_apTime
protected long _apTime
_apCount
protected int _apCount
_acTime
protected long _acTime
_acCount
protected int _acCount
_aiTime
protected long _aiTime
_aiCount
protected int _aiCount
_aspTime
protected long _aspTime
_aspCount
protected int _aspCount
_ascTime
protected long _ascTime
_ascCount
protected int _ascCount
_adTime
protected long _adTime
_adCount
protected int _adCount
_arTime
protected long _arTime
_arCount
protected int _arCount
_acomTime
protected long _acomTime
_acomCount
protected int _acomCount
_alTime
protected long _alTime
_alCount
protected int _alCount
_crTime
protected long _crTime
_crCount
protected int _crCount
_gnTime
protected long _gnTime
_gnCount
protected int _gnCount
_gcTime
protected long _gcTime
_gcCount
protected int _gcCount
_icTime
protected long _icTime
_icCount
protected int _icCount
_gsubcTime
protected long _gsubcTime
_gsubcCount
protected int _gsubcCount
_gsupcTime
protected long _gsupcTime
_gsupcCount
protected int _gsupcCount
_isubcTime
protected long _isubcTime
_isubcCount
protected int _isubcCount
_gpTime
protected long _gpTime
_gpCount
protected int _gpCount
_ipTime
protected long _ipTime
_ipCount
protected int _ipCount
_gsubpTime
protected long _gsubpTime
_gsubpCount
protected int _gsubpCount
_gsuppTime
protected long _gsuppTime
_gsuppCount
protected int _gsuppCount
_isubpTime
protected long _isubpTime
_isubpCount
protected int _isubpCount
_gdfTime
protected long _gdfTime
_gdfCount
protected int _gdfCount
_grfTime
protected long _grfTime
_grfCount
protected int _grfCount
_gioTime
protected long _gioTime
_gioCount
protected int _gioCount
_iioTime
protected long _iioTime
_iioCount
protected int _iioCount
_gcfTime
protected long _gcfTime
_gcfCount
protected int _gcfCount
_icomTime
protected long _icomTime
_icomCount
protected int _icomCount
_glfTime
protected long _glfTime
_glfCount
protected int _glfCount
_ilTime
protected long _ilTime
_ilCount
protected int _ilCount
_gsTime
protected long _gsTime
_gsCount
protected int _gsCount
_isTime
protected long _isTime
_isCount
protected int _isCount
| Constructor Detail |
StatisticsRAL
public StatisticsRAL(RAL other)
- Creates a StatisticsRAL that logs statistics to ServletLog
| Method Detail |
initialize
public void initialize(java.util.Map configParams) throws java.lang.Exception
- Description copied from interface:
RAL - Initializes the RAL using a set of configuration parameters. The
relevant names and values of the paramters are determined by the
implementation of this interface.
- Specified by:
initializein interfaceRAL
shutDown
public void shutDown()
- Description copied from interface:
RAL - Allow the RAL to synchronize any stale data. The RAL can assume that
shutDown() is called before an application is stopped.
addDataStatement
public void addDataStatement(nl.aidministrator.rdf.sail.model.Resource subject, nl.aidministrator.rdf.sail.model.Resource predicate, nl.aidministrator.rdf.sail.model.Value object) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a data statament to the repository. The RAL can assume that the
property 'predicate' has already been defined before.
- Specified by:
addDataStatementin interfaceRAL
addProperty
public void addProperty(nl.aidministrator.rdf.sail.model.Resource property) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a property to the repository.
- Specified by:
addPropertyin interfaceRAL
addClass
public void addClass(nl.aidministrator.rdf.sail.model.Resource classResource) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a class to the repository.
addInstance
public void addInstance(nl.aidministrator.rdf.sail.model.Value dataValue, nl.aidministrator.rdf.sail.model.Resource classResource) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds an instance of class 'classResource' to the repository. The RAL can
assume that the class 'classResource' has already been defined before.
- Specified by:
addInstancein interfaceRAL
addSubProperty
public void addSubProperty(nl.aidministrator.rdf.sail.model.Resource subProp, nl.aidministrator.rdf.sail.model.Resource superProp) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a subproperty-relation to the repository. The RAL can assume
that the two properties have already been defined before.
- Specified by:
addSubPropertyin interfaceRAL
addSubClass
public void addSubClass(nl.aidministrator.rdf.sail.model.Resource subClass, nl.aidministrator.rdf.sail.model.Resource superClass) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a subclass-relation to the repository. The RAL can assume
that the two classes have already been defined before.
- Specified by:
addSubClassin interfaceRAL
addDomain
public void addDomain(nl.aidministrator.rdf.sail.model.Resource property, nl.aidministrator.rdf.sail.model.Resource domainClass) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a domain restriction to the repository. The RAL can assume
that the property 'property' and the class 'domainClass' have already
been defined before.
addRange
public void addRange(nl.aidministrator.rdf.sail.model.Resource property, nl.aidministrator.rdf.sail.model.Resource rangeClass) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a range restriction to the repository. The RAL can assume
that the property 'property' and the class 'domainClass' have already
been defined before.
addComment
public void addComment(nl.aidministrator.rdf.sail.model.Resource resource, nl.aidministrator.rdf.sail.model.Literal comment) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a comment for resource 'resource' to the repository.
- Specified by:
addCommentin interfaceRAL
addLabel
public void addLabel(nl.aidministrator.rdf.sail.model.Resource resource, nl.aidministrator.rdf.sail.model.Literal label) throws java.sql.SQLException
- Description copied from interface:
RAL - Adds a label for resource 'resource' to the repository.
removeDataStatements
public void removeDataStatements(nl.aidministrator.rdf.sail.model.Resource subject, nl.aidministrator.rdf.sail.model.Resource predicate, nl.aidministrator.rdf.sail.model.Value object) throws java.sql.SQLException
- Description copied from interface:
RAL - Removes data statements that match the (subject, predicate, object)
pattern from the repository. subject, predicate, or object may each
be null, but at least one value must be specified.
- Specified by:
removeDataStatementsin interfaceRAL
clearRepository
public void clearRepository()
throws java.sql.SQLException
- Description copied from interface:
RAL - Clears the repository. After the repository was cleared, it should
be in the same state as after initialization.
- Specified by:
clearRepositoryin interfaceRAL
getNamespaces
public NamespaceIterator getNamespaces()
- Description copied from interface:
RAL - Gets the prefix and name of all namespaces.
- Specified by:
getNamespacesin interfaceRAL
getClasses
public ResourceIterator getClasses()
- Description copied from interface:
RAL - Gets all defined classes.
- Specified by:
getClassesin interfaceRAL
isClass
public boolean isClass(nl.aidministrator.rdf.sail.model.Value resource)
- Description copied from interface:
RAL - Checks whether the supplied resource represents a class.
getSubClassesOf
public ResourceIterator getSubClassesOf(nl.aidministrator.rdf.sail.model.Resource classUri, boolean recursive)
- Description copied from interface:
RAL - Gets all subclasses of the supplied class. Note that the subclass
relation is reflexive: a class is always a subclass of itself.
rdfs:Resource is assumed to be the superclass of all classes.
- Specified by:
getSubClassesOfin interfaceRAL
getSuperClassesOf
public ResourceIterator getSuperClassesOf(nl.aidministrator.rdf.sail.model.Resource classUri, boolean recursive)
- Description copied from interface:
RAL - Gets all superclasses of the supplied class. Note that the
superclass relation is reflexive: a class is always a superclass of
itself. rdfs:Resource is assumed to be the superclass of all
classes.
- Specified by:
getSuperClassesOfin interfaceRAL
isSubClassOf
public boolean isSubClassOf(nl.aidministrator.rdf.sail.model.Value subClassUri, nl.aidministrator.rdf.sail.model.Value superClassUri)
- Description copied from interface:
RAL - Checks whether one uri is a subclass of another (recursively).
rdfs:Resource is assumed to be the superclass of all classes.
- Specified by:
isSubClassOfin interfaceRAL
getProperties
public ResourceIterator getProperties()
- Description copied from interface:
RAL - Gets all defined properties.
- Specified by:
getPropertiesin interfaceRAL
isProperty
public boolean isProperty(nl.aidministrator.rdf.sail.model.Value uri)
- Description copied from interface:
RAL - Checks whether the supplied resource represents a property.
- Specified by:
isPropertyin interfaceRAL
getSubPropertiesOf
public ResourceIterator getSubPropertiesOf(nl.aidministrator.rdf.sail.model.Resource propUri, boolean recursive)
- Description copied from interface:
RAL - Gets all subproperties of the supplied property. Note that the
subproperty relation is reflexive: a property is always a
subproperty of itself.
- Specified by:
getSubPropertiesOfin interfaceRAL
getSuperPropertiesOf
public ResourceIterator getSuperPropertiesOf(nl.aidministrator.rdf.sail.model.Resource propUri, boolean recursive)
- Description copied from interface:
RAL - Gets all superproperties of the supplied property. Note that the
superproperty relation is reflexive: a property is always a
subproperty of itself.
- Specified by:
getSuperPropertiesOfin interfaceRAL
isSubPropertyOf
public boolean isSubPropertyOf(nl.aidministrator.rdf.sail.model.Value subPropertyUri, nl.aidministrator.rdf.sail.model.Value superPropertyUri)
- Description copied from interface:
RAL - Checks whether one property is a subproperty of another (recursively).
- Specified by:
isSubPropertyOfin interfaceRAL
getDomainFor
public nl.aidministrator.rdf.sail.model.Value getDomainFor(nl.aidministrator.rdf.sail.model.Resource propUri)
- Description copied from interface:
RAL - Gets the domain for the supplied property.
- Specified by:
getDomainForin interfaceRAL
getRangeFor
public nl.aidministrator.rdf.sail.model.Value getRangeFor(nl.aidministrator.rdf.sail.model.Resource propUri)
- Description copied from interface:
RAL - Gets the range for the supplied property.
- Specified by:
getRangeForin interfaceRAL
getInstancesOf
public ResourceIterator getInstancesOf(nl.aidministrator.rdf.sail.model.Resource classUri, boolean properInstances)
- Description copied from interface:
RAL - Gets all instances of the supplied class. Everything is an instance
of rdfs:Resource.
- Specified by:
getInstancesOfin interfaceRAL
isInstanceOf
public boolean isInstanceOf(nl.aidministrator.rdf.sail.model.Value dataUri, nl.aidministrator.rdf.sail.model.Resource classUri, boolean properInstances)
- Description copied from interface:
RAL - Checks whether the supplied data resource is an instance of the supplied
class. Everything is an instance of rdfs:Resource.
- Specified by:
isInstanceOfin interfaceRAL
getCommentsFor
public ResourceIterator getCommentsFor(nl.aidministrator.rdf.sail.model.Resource resource)
- Description copied from interface:
RAL - Gets all comments for the supplied resource.
- Specified by:
getCommentsForin interfaceRAL
isComment
public boolean isComment(nl.aidministrator.rdf.sail.model.Resource source, nl.aidministrator.rdf.sail.model.Literal target)
- Description copied from interface:
RAL - Checks whether a comment with the specified source and target exisits.
getLabelsFor
public ResourceIterator getLabelsFor(nl.aidministrator.rdf.sail.model.Resource resource)
- Description copied from interface:
RAL - Gets all labels for the supplied resource.
- Specified by:
getLabelsForin interfaceRAL
isLabel
public boolean isLabel(nl.aidministrator.rdf.sail.model.Resource source, nl.aidministrator.rdf.sail.model.Literal target)
- Description copied from interface:
RAL - Checks whether a label with the specified source and target exists.
getStatements
public StatementIterator getStatements(nl.aidministrator.rdf.sail.model.Resource source, nl.aidministrator.rdf.sail.model.Resource predicate, nl.aidministrator.rdf.sail.model.Value target, boolean recursive)
- Description copied from interface:
RAL - Gets all statements with a specific predicate and, possibly, with
a specific source and/or target. 'source' and 'target' parameters may
be null to indicate wildcards.
- Specified by:
getStatementsin interfaceRAL
isStatement
public boolean isStatement(nl.aidministrator.rdf.sail.model.Resource source, nl.aidministrator.rdf.sail.model.Resource predicate, nl.aidministrator.rdf.sail.model.Value target, boolean recursive)
- Description copied from interface:
RAL - Checks whether a specific statement is already present.
- Specified by:
isStatementin interfaceRAL
dumpStatistics
public void dumpStatistics()
|
|||||||||
| Home >> All >> nl >> aidministrator >> rdf >> [ ral overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
nl.aidministrator.rdf.ral.StatisticsRAL