|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.trippi.impl.mpt.MPTSessionFactory
public class MPTSessionFactory
| Constructor Summary | |
|---|---|
MPTSessionFactory(org.apache.commons.dbcp.BasicDataSource pool,
org.nsdl.mptstore.core.DatabaseAdaptor adaptor,
int fetchSize)
|
|
| Method Summary | |
|---|---|
void |
close()
Free up any system resources allocated by the session factory. |
java.lang.String[] |
listTripleLanguages()
|
java.lang.String[] |
listTupleLanguages()
|
TriplestoreSession |
newSession()
Get a new session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MPTSessionFactory(org.apache.commons.dbcp.BasicDataSource pool,
org.nsdl.mptstore.core.DatabaseAdaptor adaptor,
int fetchSize)
| Method Detail |
|---|
public TriplestoreSession newSession()
throws TrippiException
TriplestoreSessionFactory
newSession in interface TriplestoreSessionFactoryTrippiExceptionpublic java.lang.String[] listTripleLanguages()
listTripleLanguages in interface TriplestoreSessionFactorypublic java.lang.String[] listTupleLanguages()
listTupleLanguages in interface TriplestoreSessionFactory
public void close()
throws TrippiException
TriplestoreSessionFactory
close in interface TriplestoreSessionFactoryTrippiException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||