|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 LuceneSessionpublic LuceneWriter beginAppend()
LuceneSession
beginAppend in interface LuceneSessionpublic LuceneWriter beginReset()
LuceneSession
beginReset in interface LuceneSessionpublic void close()
LuceneSession
close in interface LuceneSessionpublic void flush()
LuceneSession
flush in interface LuceneSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||