|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of CompassException in org.compass.core |
|---|
| Methods in org.compass.core that throw CompassException | ||
|---|---|---|
String |
CompassHit.alias()
Same as CompassHit.getAlias(). |
|
CompassToken[] |
CompassAnalyzerHelper.analyze(Reader textReader)
Analyzes the given text, returning a set of tokens. |
|
CompassToken[] |
CompassAnalyzerHelper.analyze(String text)
Analyzes the given text, returning a set of tokens. |
|
CompassToken[] |
CompassAnalyzerHelper.analyze(String propertyName,
Reader textReader)
Analyzes the given text, using (if needed) the anlayzer that is bound to the supplied property. |
|
CompassToken[] |
CompassAnalyzerHelper.analyze(String propertyName,
String text)
Analyzes the given text, using (if needed) the anlayzer that is bound to the supplied property. |
|
CompassAnalyzerHelper |
CompassSession.analyzerHelper()
Returns an Analyzer helper. |
|
CompassToken |
CompassAnalyzerHelper.analyzeSingle(String text)
Analyzes the given text, returning the first token. |
|
CompassTransaction |
CompassSession.beginLocalTransaction()
Begins a unit of work using a Compass local transaction. |
|
CompassTransaction |
CompassSession.beginTransaction()
Begin a unit of work and return the associated CompassTranscation object. |
|
CompassTransaction |
CompassSession.beginTransaction(CompassTransaction.TransactionIsolation transactionIsolation)
Begin a unit of work and return the associated CompassTranscation object. |
|
void |
CompassSession.close()
Closes the CompassSession. |
|
void |
CompassHits.close()
Closes the hits object. |
|
void |
Compass.close()
Closes Compass and releases any resources that are assoicated with it. |
|
void |
CompassTransaction.commit()
Ends the current unit of work. |
|
void |
CompassTemplate.create(Object obj)
|
|
void |
CompassOperations.create(Object obj)
Creates a NEW object in Compass. |
|
void |
CompassTemplate.create(String alias,
Object obj)
|
|
void |
CompassOperations.create(String alias,
Object obj)
Creates a NEW object in Compass that shares mapping alais with multiple objects. |
|
Object |
CompassHit.data()
Same as CompassHit.getData() just shorter. |
|
Object |
CompassHitsOperations.data(int n)
Returns the object that maps the n'th hit |
|
void |
CompassTemplate.delete(Class clazz,
Object... ids)
|
|
void |
CompassOperations.delete(Class clazz,
Object... ids)
Deletes an object from Compass that match the mapping specified for the defined class based on its ids. |
|
void |
CompassTemplate.delete(Class clazz,
Object obj)
|
|
void |
CompassOperations.delete(Class clazz,
Object obj)
Deletes an object from Compass that match the mapping specified for the defined class. |
|
void |
CompassTemplate.delete(CompassQuery query)
|
|
void |
CompassOperations.delete(CompassQuery query)
Deletes all entries in the index that match the given query. |
|
void |
CompassTemplate.delete(Object obj)
|
|
void |
CompassOperations.delete(Object obj)
Deletes an object from Compass. |
|
void |
CompassTemplate.delete(Resource resource)
|
|
void |
CompassOperations.delete(Resource resource)
Deletes a resource with the specified alias. |
|
void |
CompassTemplate.delete(String alias,
Object... ids)
|
|
void |
CompassOperations.delete(String alias,
Object... ids)
Deletes an object from Compass with multiple alias's based on its ids. |
|
void |
CompassTemplate.delete(String alias,
Object obj)
|
|
void |
CompassOperations.delete(String alias,
Object obj)
Deletes an object from Compass with multiple alias's. |
|
CompassDetachedHits |
CompassHits.detach()
Detaches a seperate CompassHits, holds all the data. |
|
CompassDetachedHits |
CompassHits.detach(int from,
int size)
Detaches a seperate CompassHits, which starts from the
given from parameter, and has the specified size. |
|
Object |
CompassCallbackWithoutResult.doInCompass(CompassSession session)
|
|
T |
CompassCallback.doInCompass(CompassSession session)
Gets called by CompassTemplate.execute with an active
Compass Session. |
|
protected abstract void |
CompassCallbackWithoutResult.doInCompassWithoutResult(CompassSession session)
Gets called by CompassTemplate.execute with an active
Compass Session. |
|
|
CompassTemplate.execute(CompassCallback<T> action)
Executes the compass callback within a session and a transaction context. |
|
|
CompassTemplate.execute(CompassTransaction.TransactionIsolation transactionIsolation,
CompassCallback<T> action)
Executes the compass callback within a session and a transaction context. |
|
CompassHitsOperations |
CompassTemplate.executeFind(CompassCallback<CompassHitsOperations> action)
A helper execute method for find operations. |
|
|
CompassTemplate.executeLocal(CompassCallback<T> action)
Executes the compass callback within a session and a local transaction context. |
|
CompassHits |
CompassTemplate.find(String query)
|
|
CompassHits |
CompassOperations.find(String query)
Finds a list of objects that match the specified query. |
|
CompassDetachedHits |
CompassTemplate.findWithDetach(String query)
|
|
CompassDetachedHits |
CompassTemplate.findWithDetach(String query,
int from,
int size)
|
|
String |
CompassHighlighter.fragment(String propertyName)
Returns the best highlighted fragment for the given property name / meta-data. |
|
String |
CompassHighlighter.fragment(String propertyName,
String text)
Returns the best highlighted fragment for the given property name / meta-data. |
|
String[] |
CompassHighlighter.fragments(String propertyName)
Returns the best highlighted fragments for the given property name / meta-data. |
|
String[] |
CompassHighlighter.fragments(String propertyName,
String text)
Returns the best highlighted fragments for the given property name / meta-data. |
|
String |
CompassHighlighter.fragmentsWithSeparator(String propertyName)
Returns the best highlighted fragments for the given property name / meta-data, separated with the given separator. |
|
String |
CompassHighlighter.fragmentsWithSeparator(String propertyName,
String text)
Returns the best highlighted fragments for the given property name / meta-data, separated with the given separator. |
|
|
CompassTemplate.get(Class<T> clazz,
Object... ids)
|
|
|
CompassOperations.get(Class<T> clazz,
Object... ids)
Returns an object that match the mapping specified for the defined class, and matches the specified ids. |
|
|
CompassTemplate.get(Class<T> clazz,
Object id)
|
|
|
CompassOperations.get(Class<T> clazz,
Object id)
Returns an object that match the mapping specified for the defined class, and matches the specified id. |
|
Object |
CompassTemplate.get(String alias,
Object... ids)
|
|
Object |
CompassOperations.get(String alias,
Object... ids)
Returns an object that match the mapping specified for the defined alias, and matches the specified ids. |
|
Object |
CompassTemplate.get(String alias,
Object id)
|
|
Object |
CompassOperations.get(String alias,
Object id)
Returns an object that match the mapping specified for the defined alias, and matches the specified id. |
|
String |
CompassHit.getAlias()
Returns the alias value of the hit. |
|
Object |
CompassHit.getData()
Returns the object for this hit. |
|
Object[] |
CompassDetachedHits.getDatas()
Returns all the Objects data as an array. |
|
CompassHighlightedText |
CompassHit.getHighlightedText()
Returns a cached highlighted text the maps to the hit. |
|
String |
CompassHighlightedText.getHighlightedText()
Returns the first highlighted text cached. |
|
String |
CompassHighlightedText.getHighlightedText(String propertyName)
Returns the highlighted text associated with the given property name. |
|
CompassHit[] |
CompassDetachedHits.getHits()
Returns all the CompassHits data as an array. |
|
Resource |
CompassHit.getResource()
Returns the Resource for this hit. |
|
Resource |
CompassTemplate.getResource(Class clazz,
Object... ids)
|
|
Resource |
CompassOperations.getResource(Class clazz,
Object... ids)
Returns a Resource that match the mapping specified for the defined class type, and specified ids. |
|
Resource |
CompassTemplate.getResource(Class clazz,
Object id)
|
|
Resource |
CompassOperations.getResource(Class clazz,
Object id)
Returns a Resource that match the mapping specified for the defined class type, and specified id. |
|
Resource |
CompassTemplate.getResource(String alias,
Object... ids)
|
|
Resource |
CompassOperations.getResource(String alias,
Object... ids)
Returns a Resource that match the mapping specified for the defined alias (possibley different object types), and matches the specified ids. |
|
Resource |
CompassTemplate.getResource(String alias,
Object id)
|
|
Resource |
CompassOperations.getResource(String alias,
Object id)
Returns a Resource that match the mapping specified for the defined alias (possibley different object types), and matches the specified id. |
|
Resource[] |
CompassDetachedHits.getResources()
Returns all the Resources as an array. |
|
float |
CompassHit.getScore()
Returns the score for this hit. |
|
String |
Resource.getUID()
Returns the unique id of the resource. |
|
CompassHighlightedText |
CompassHit.highlightedText()
Same as CompassHit.getHighlightedText(). |
|
CompassHighlightedText |
CompassHitsOperations.highlightedText(int n)
Returns a cached highlighted text the maps to the n'th hit. |
|
CompassHighlighter |
CompassHits.highlighter(int n)
Returns the highlighter that maps the n'th hit. |
|
CompassHit |
CompassHitsOperations.hit(int n)
Returns a compass hit wrapper that maps to the n'th hit |
|
CompassHits |
CompassQuery.hits()
Performs the search and returns the hits that match the qeury. |
|
|
CompassTemplate.load(Class<T> clazz,
Object... ids)
|
|
|
CompassOperations.load(Class<T> clazz,
Object... ids)
Loads and returns an object that match the mapping specified for the defined class, and matches the specified ids. |
|
|
CompassTemplate.load(Class<T> clazz,
Object id)
|
|
|
CompassOperations.load(Class<T> clazz,
Object id)
Loads and returns an object that match the mapping specified for the defined class, and matches the specified id. |
|
Object |
CompassTemplate.load(String alias,
Object... ids)
|
|
Object |
CompassOperations.load(String alias,
Object... ids)
Loads and returns an object that match the mapping specified for the defined class, and matches the specified ids. |
|
Object |
CompassTemplate.load(String alias,
Object id)
|
|
Object |
CompassOperations.load(String alias,
Object id)
Loads and returns an object that match the mapping specified for the defined class, and matches the specified id. |
|
Resource |
CompassTemplate.loadResource(Class clazz,
Object... ids)
|
|
Resource |
CompassOperations.loadResource(Class clazz,
Object... ids)
Loads and returns a Resource that match the mapping specified for the defined class, and matches the specified ids. |
|
Resource |
CompassTemplate.loadResource(Class clazz,
Object id)
|
|
Resource |
CompassOperations.loadResource(Class clazz,
Object id)
Loads and returns a Resource that match the mapping specified for the defined class, and matches the specified id. |
|
Resource |
CompassTemplate.loadResource(String alias,
Object... ids)
|
|
Resource |
CompassOperations.loadResource(String alias,
Object... ids)
Loads and returns a Resource that match the mapping specified for the defined alias, and matches the specified ids. |
|
Resource |
CompassTemplate.loadResource(String alias,
Object id)
|
|
Resource |
CompassOperations.loadResource(String alias,
Object id)
Loads and returns a Resource that match the mapping specified for the defined alias, and matches the specified id. |
|
String[] |
CompassHighlighter.multiValueFragment(String propertyName)
Returns the best highlighted fragment of each matching multi resource property name / meta-data (i.e.: when there is more then one property of the same name). |
|
String[] |
CompassHighlighter.multiValueFragment(String propertyName,
String[] texts)
Returns the best highlighted fragment of each matching multi resource property name / meta-data (i.e.: when there is more then one property of the same name). |
|
String |
CompassHighlighter.multiValueFragmentWithSeparator(String propertyName)
Returns the best highlighted fragments for the given multi property name / meta-data, separated with the given separator. |
|
String |
CompassHighlighter.multiValueFragmentWithSeparator(String propertyName,
String[] texts)
Returns the best highlighted fragments for the given multi property name / meta-data, separated with the given separator. |
|
CompassSession |
Compass.openSession()
If there is a transaction bound session, will return it. |
|
CompassQueryBuilder |
CompassSession.queryBuilder()
Creats a new query builder, used to build queries programmatically. |
|
CompassQueryFilterBuilder |
CompassSession.queryFilterBuilder()
Creats a new query filter builder, used to build filters of queries programmatically. |
|
Resource |
CompassHit.resource()
Same as CompassHit.getResource(). |
|
Resource |
CompassHitsOperations.resource(int n)
Returns the resource that maps to the n'th hit |
|
void |
CompassTransaction.rollback()
Force the underlying transaction to roll back. |
|
void |
CompassTemplate.save(Object obj)
|
|
void |
CompassOperations.save(Object obj)
Saves an object in Compass. |
|
void |
CompassTemplate.save(String alias,
Object obj)
|
|
void |
CompassOperations.save(String alias,
Object obj)
Saves an object in Compass that shares mapping alais with multiple objects. |
|
float |
CompassHit.score()
Same as CompassHit.getScore(). |
|
float |
CompassHitsOperations.score(int n)
Returns the score of the n'th hit. |
|
CompassHighlighter |
CompassHighlighter.setAnalyzer(Resource resource)
Sets the analyzer that will be used if analysis of the text is needed (see CompassHighlighter.TextTokenizer). |
|
CompassAnalyzerHelper |
CompassAnalyzerHelper.setAnalyzer(Resource resource)
Sets the analyzer that will be used for the analysis of the text. |
|
CompassQueryBuilder.CompassQueryStringBuilder |
CompassQueryBuilder.CompassQueryStringBuilder.setAnalyzer(String analyzer)
Sets the analyzer that will be used to analyze the query string. |
|
CompassHighlighter |
CompassHighlighter.setAnalyzer(String analyzerName)
Sets the analyzer that will be used if analysis of the text is needed (see CompassHighlighter.TextTokenizer). |
|
CompassAnalyzerHelper |
CompassAnalyzerHelper.setAnalyzer(String analyzerName)
Sets the analyzer that will be used for the analysis of the text. |
|
CompassQueryBuilder.CompassQueryStringBuilder |
CompassQueryBuilder.CompassQueryStringBuilder.setAnalyzerByAlias(String alias)
Sets the analyzer that will be used to analyzer the query string. |
|
CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder |
CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder.setAnalyzerByAlias(String alias)
Sets the analyzer that will be used to analyzer the query string. |
|
CompassAnalyzerHelper |
CompassAnalyzerHelper.setAnalyzerByAlias(String alias)
Sets the analyzer that will be used for the analysis of the text. |
|
CompassHighlighter |
CompassHighlighter.setHighlighter(String highlighterName)
Sets the highlighter that will be used out the ones set in the configuration. |
|
CompassHighlighter |
CompassHighlighter.setMaxBytesToAnalyze(int maxBytesToAnalyze)
Sets the maximum number of bytes that will be analyzed for highlighting. |
|
CompassHighlighter |
CompassHighlighter.setMaxNumFragments(int maxNumFragments)
Sets the maximum number of fragments that can be returned or combined to a separator. |
|
CompassQueryBuilder.CompassQueryStringBuilder |
CompassQueryBuilder.CompassQueryStringBuilder.setQueryParser(String queryParser)
Sets te query parser lookup name that will be used to parse the query string. |
|
CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder |
CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder.setQueryParser(String queryParser)
Sets te query parser lookup name that will be used to parse the query string. |
|
CompassHighlighter |
CompassHighlighter.setSeparator(String separator)
Sets the separator string that will be used to combine different fragments in CompassHighlighter.fragmentsWithSeparator(String). |
|
CompassHighlighter |
CompassHighlighter.setTextTokenizer(CompassHighlighter.TextTokenizer textTokenizer)
Sets how the text will be tokenized for highlighting. |
|
CompassTermFreqsBuilder |
CompassSession.termFreqsBuilder(String... names)
Creates a new terms frequencies builder used to get terms names and freqs for a list of property names. |
|
CompassTermFreq[] |
CompassTermFreqsBuilder.toTermFreqs()
Builds and returns the term and their frequencies. |
|
CompassQueryBuilder.CompassQueryStringBuilder |
CompassQueryBuilder.CompassQueryStringBuilder.useSpellCheck()
Uses the spell check for suggesting a query based on the query string. |
|
boolean |
CompassTransaction.wasCommitted()
Check if this transaction was successfully committed. |
|
boolean |
CompassTransaction.wasRolledBack()
Was this transaction rolled back or set to rollback only? |
|
| Uses of CompassException in org.compass.core.accessor |
|---|
| Subclasses of CompassException in org.compass.core.accessor | |
|---|---|
class |
PropertyAccessException
|
class |
PropertyNotFoundException
Indicates that an expected getter or setter method could not be found on a class. |
| Methods in org.compass.core.accessor that throw CompassException | |
|---|---|
void |
PropertyAccessorFactory.configure(CompassSettings settings)
Configures the property accessor registry, using the two default ones (field and property), and any external registered ones. |
Object |
Getter.get(Object target)
Get the property value from the given instance |
Object |
DirectPropertyAccessor.DirectGetter.get(Object target)
|
Object |
BasicPropertyAccessor.BasicGetter.get(Object target)
|
void |
Setter.set(Object target,
Object value)
Set the property value from the given instance |
void |
DirectPropertyAccessor.DirectSetter.set(Object target,
Object value)
|
void |
BasicPropertyAccessor.BasicSetter.set(Object target,
Object value)
|
| Uses of CompassException in org.compass.core.cache.first |
|---|
| Methods in org.compass.core.cache.first that throw CompassException | |
|---|---|
void |
FirstLevelCacheFactory.configure(CompassSettings settings)
|
FirstLevelCache |
FirstLevelCacheFactory.createFirstLevelCache()
|
| Uses of CompassException in org.compass.core.cascade |
|---|
| Methods in org.compass.core.cascade that throw CompassException | |
|---|---|
boolean |
CascadingManager.cascade(Class clazz,
Object root,
CascadeMapping.Cascade cascade)
|
boolean |
CascadingManager.cascade(Object root,
CascadeMapping.Cascade cascade)
|
boolean |
CascadingManager.cascade(String alias,
Object root,
CascadeMapping.Cascade cascade)
|
void |
CascadingManager.configure(CompassSettings settings)
|
| Uses of CompassException in org.compass.core.config |
|---|
| Subclasses of CompassException in org.compass.core.config | |
|---|---|
class |
ConfigurationException
|
| Methods in org.compass.core.config that throw CompassException | |
|---|---|
Compass |
CompassConfiguration.buildCompass()
Build compass with the configurations set. |
void |
CompassConfigurable.configure(CompassSettings settings)
Configure using the given settings. |
InputStream |
InputStreamMappingResolver.getMappingAsInputStream()
Returns an InputStream that holds the mapping. |
| Uses of CompassException in org.compass.core.config.binding.metadata |
|---|
| Methods in org.compass.core.config.binding.metadata that throw CompassException | |
|---|---|
static MetaDataReader |
MetaDataReaderFactory.getMetaDataReader(CompassSettings settings)
Returns the MetaDataReader to use. |
| Uses of CompassException in org.compass.core.converter |
|---|
| Subclasses of CompassException in org.compass.core.converter | |
|---|---|
class |
ConversionException
Represents an error during the conversion process between a Resource and an Object. |
| Methods in org.compass.core.converter that throw CompassException | |
|---|---|
void |
DefaultConverterLookup.configure(CompassSettings settings)
|
| Uses of CompassException in org.compass.core.converter.basic |
|---|
| Methods in org.compass.core.converter.basic that throw CompassException | |
|---|---|
void |
AbstractFormatConverter.configure(CompassSettings settings)
|
| Uses of CompassException in org.compass.core.converter.mapping.xsem |
|---|
| Methods in org.compass.core.converter.mapping.xsem that throw CompassException | |
|---|---|
void |
XmlContentMappingConverter.configure(CompassSettings settings)
|