|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.lucene.session.impl.LuceneSessionImpl
public class LuceneSessionImpl
Constructor Summary | |
---|---|
LuceneSessionImpl(LuceneSessionFactoryImpl sessionFactory,
boolean readOnly)
|
Method Summary | |
---|---|
LuceneWriter |
beginAppend()
Adds documents to index. |
LuceneWriter |
beginReset()
Resets the whole index and starts new writer. |
void |
close()
Closes the session. |
LuceneQuery |
createQuery()
Creates a new query. |
void |
flush()
Flushes all data writer has changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuceneSessionImpl(LuceneSessionFactoryImpl sessionFactory, boolean readOnly)
Method Detail |
---|
public LuceneQuery createQuery()
LuceneSession
createQuery
in interface LuceneSession
public LuceneWriter beginAppend()
LuceneSession
beginAppend
in interface LuceneSession
public LuceneWriter beginReset()
LuceneSession
beginReset
in interface LuceneSession
public void close()
LuceneSession
close
in interface LuceneSession
public void flush()
LuceneSession
flush
in interface LuceneSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |