com.ontotext.ordi.wrappers
Class SesameImpl
java.lang.Object
com.ontotext.ordi.wrappers.SesameImpl
- All Implemented Interfaces:
- TripleStore
public class SesameImpl
- extends java.lang.Object
- implements TripleStore
Title:
Description:
Copyright: Copyright (c) 2004-2005
Company: Ontotext Lab., Sirma AI
- Version:
- 1.0
- Author:
- unascribed
|
Method Summary |
void |
addStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
|
void |
addStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
|
void |
beginUpdate()
|
boolean |
canUpdate()
|
void |
commitUpdate()
|
TripleIterator |
getStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
|
TripleIterator |
getStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
|
boolean |
hasStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
|
boolean |
hasStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
|
void |
initialize(java.util.Map params)
|
int |
removeStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred)
|
int |
removeStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
|
int |
removeStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
|
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESAME_REPOSITORY
public static java.lang.String SESAME_REPOSITORY
SESAME_USER
public static java.lang.String SESAME_USER
SESAME_PASS
public static java.lang.String SESAME_PASS
SESAME_CONFIG_PARAM
public static java.lang.String SESAME_CONFIG_PARAM
SESAME_RMI_HOST
public static java.lang.String SESAME_RMI_HOST
SESAME_RMI_PORT
public static java.lang.String SESAME_RMI_PORT
SesameImpl
public SesameImpl()
initialize
public void initialize(java.util.Map params)
- Specified by:
initialize in interface TripleStore
shutdown
public void shutdown()
- Specified by:
shutdown in interface TripleStore
getStatements
public TripleIterator getStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
- Specified by:
getStatements in interface TripleStore
getStatements
public TripleIterator getStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
- Specified by:
getStatements in interface TripleStore
hasStatement
public boolean hasStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
- Specified by:
hasStatement in interface TripleStore
hasStatement
public boolean hasStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
- Specified by:
hasStatement in interface TripleStore
addStatement
public void addStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
- Specified by:
addStatement in interface TripleStore
addStatement
public void addStatement(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
- Specified by:
addStatement in interface TripleStore
removeStatements
public int removeStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred)
- Specified by:
removeStatements in interface TripleStore
removeStatements
public int removeStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
org.wsmo.common.Identifier obj)
- Specified by:
removeStatements in interface TripleStore
removeStatements
public int removeStatements(org.wsmo.common.Identifier subj,
org.wsmo.common.IRI pred,
java.lang.String literal)
- Specified by:
removeStatements in interface TripleStore
canUpdate
public boolean canUpdate()
- Specified by:
canUpdate in interface TripleStore
beginUpdate
public void beginUpdate()
- Specified by:
beginUpdate in interface TripleStore
commitUpdate
public void commitUpdate()
- Specified by:
commitUpdate in interface TripleStore