org.compass.core.spi
Interface InternalCompassSession
- All Superinterfaces:
- CompassOperations, CompassSession
- All Known Implementing Classes:
- DefaultCompassSession
public interface InternalCompassSession
- extends CompassSession
- Author:
- kimchy
| Methods inherited from interface org.compass.core.CompassSession |
analyzerHelper, beginLocalTransaction, beginTransaction, beginTransaction, close, getSettings, isClosed, queryBuilder, queryFilterBuilder, resourceFactory, termFreqsBuilder |
| Methods inherited from interface org.compass.core.CompassOperations |
create, create, delete, delete, delete, delete, delete, delete, delete, evict, evict, evict, evictAll, find, get, get, get, get, getResource, getResource, getResource, getResource, load, load, load, load, loadResource, loadResource, loadResource, loadResource, save, save |
getCompass
InternalCompass getCompass()
getSearchEngine
SearchEngine getSearchEngine()
getMarshallingStrategy
MarshallingStrategy getMarshallingStrategy()
getFirstLevelCache
FirstLevelCache getFirstLevelCache()
get
Object get(String alias,
Object id,
MarshallingContext context)
throws CompassException
- Throws:
CompassException
getByResource
Object getByResource(Resource resource)
throws CompassException
- Throws:
CompassException
getResourceByIdResource
Resource getResourceByIdResource(Resource idResource)
throws CompassException
- Throws:
CompassException
getMapping
CompassMapping getMapping()
getMetaData
CompassMetaData getMetaData()
flush
void flush()
throws CompassException
- Flushed the current transaction. Only supported for batch_insert (no op in others).
- Throws:
CompassException
Copyright (c) 2004-2008 The Compass Project.