Uses of Interface
org.compass.core.Resource

Packages that use Resource
org.compass.core   
org.compass.core.cache.first   
org.compass.core.converter   
org.compass.core.converter.basic   
org.compass.core.converter.dynamic   
org.compass.core.converter.extended   
org.compass.core.converter.json   
org.compass.core.converter.mapping   
org.compass.core.converter.mapping.json   
org.compass.core.converter.mapping.osem   
org.compass.core.converter.mapping.rsem   
org.compass.core.converter.mapping.support   
org.compass.core.converter.mapping.xsem   
org.compass.core.converter.xsem   
org.compass.core.engine   
org.compass.core.engine.utils   
org.compass.core.events   
org.compass.core.impl   
org.compass.core.lucene   
org.compass.core.lucene.engine   
org.compass.core.lucene.engine.analyzer   
org.compass.core.lucene.engine.query   
org.compass.core.lucene.engine.transaction   
org.compass.core.lucene.engine.transaction.lucene   
org.compass.core.lucene.engine.transaction.readcommitted   
org.compass.core.lucene.util   
org.compass.core.marshall   
org.compass.core.spi   
org.compass.gps.device.jdbc   
org.compass.needle.gigaspaces.service   
 

Uses of Resource in org.compass.core
 

Methods in org.compass.core that return Resource
 Resource Resource.addProperty(Property property)
          Add a property to the resource.
 Resource Resource.addProperty(String name, Object value)
          Adds a property to the resource based on resource mapping definitions.
 Resource Resource.addProperty(String name, Reader value)
          Adds a property to the resource based on resource mapping definitions.
 Resource ResourceFactory.createResource(String alias)
          Creates a resource, that is used with the actual Search Engine implementation.
 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.
 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.
 Resource Resource.removeProperties(String name)
          Removes all the properties under the given name.
 Resource Resource.removeProperty(String name)
          Remove the latest property added under the given name.
 Resource CompassHit.resource()
          Same as CompassHit.getResource().
 Resource CompassHitsOperations.resource(int n)
          Returns the resource that maps to the n'th hit
 Resource Resource.setBoost(float boost)
          /** Sets a boost factor for hits on any field of this document.
 Resource Resource.setProperty(Property property)
          Sest a property to the resource (removes then adds).
 Resource Resource.setProperty(String name, Object value)
          Sets a property to the resource (removes then adds) based on resource mapping definitions.
 Resource Resource.setProperty(String name, Reader value)
          Sets a property to the resource (removes then adds) based on resource mapping definitions.
 

Methods in org.compass.core with parameters of type Resource
 void Resource.copy(Resource resource)
          Copies the content of the give Resource into the current one
 void CompassTemplate.delete(Resource resource)
           
 void CompassOperations.delete(Resource resource)
          Deletes a resource with the specified alias.
 void CompassTemplate.evict(Resource resource)
           
 void CompassOperations.evict(Resource resource)
          Evicts the given resource from the first level cache (transaction scoped cache).
 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.
 

Uses of Resource in org.compass.core.cache.first
 

Methods in org.compass.core.cache.first that return Resource
 Resource NullFirstLevelCache.getResource(ResourceKey key)
           
 Resource FirstLevelCache.getResource(ResourceKey key)
           
 Resource DefaultFirstLevelCache.getResource(ResourceKey key)
           
 

Methods in org.compass.core.cache.first with parameters of type Resource
 void NullFirstLevelCache.setResource(ResourceKey key, Resource resource)
           
 void FirstLevelCache.setResource(ResourceKey key, Resource resource)
           
 void DefaultFirstLevelCache.setResource(ResourceKey key, Resource resource)
           
 

Uses of Resource in org.compass.core.converter
 

Methods in org.compass.core.converter with parameters of type Resource
 boolean Converter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
          Marshall the given Object to the given Resource.
 Object Converter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
          Unmarshall the given Resource to the appropiate Object.
 

Uses of Resource in org.compass.core.converter.basic
 

Methods in org.compass.core.converter.basic with parameters of type Resource
 boolean AbstractBasicConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object AbstractBasicConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.dynamic
 

Methods in org.compass.core.converter.dynamic with parameters of type Resource
protected  void AbstractDynamicConverter.addProperty(Object value, ResourcePropertyMapping resourcePropertyMapping, Object root, MarshallingContext context, Resource resource)
           
 boolean AbstractDynamicConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object AbstractDynamicConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
          Does nothing since there is no meaning for un-marshalling for dynamic converters
 

Uses of Resource in org.compass.core.converter.extended
 

Methods in org.compass.core.converter.extended with parameters of type Resource
 boolean ReaderConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean PrimitiveByteArrayConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ObjectByteArrayConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean InputStreamConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object ReaderConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object PrimitiveByteArrayConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ObjectByteArrayConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object InputStreamConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.json
 

Methods in org.compass.core.converter.json with parameters of type Resource
 boolean SimpleJsonValueConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
          Marshals the given object value into a Property which is added to the provided Resource.
 Object SimpleJsonValueConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
          Not supported operation.
 

Uses of Resource in org.compass.core.converter.mapping
 

Classes in org.compass.core.converter.mapping that implement Resource
 class CollectionResourceWrapper
          A wrapper around a Resouce that allows for a marshalled collection to be read from it.
 

Methods in org.compass.core.converter.mapping that return Resource
 Resource CollectionResourceWrapper.addProperty(Property property)
           
 Resource CollectionResourceWrapper.addProperty(String name, Object value)
           
 Resource CollectionResourceWrapper.addProperty(String name, Reader value)
           
 Resource CollectionResourceWrapper.removeProperties(String name)
           
 Resource CollectionResourceWrapper.removeProperty(String name)
           
 Resource CollectionResourceWrapper.setBoost(float boost)
           
 Resource CollectionResourceWrapper.setProperty(Property property)
           
 Resource CollectionResourceWrapper.setProperty(String name, Object value)
           
 Resource CollectionResourceWrapper.setProperty(String name, Reader value)
           
 

Methods in org.compass.core.converter.mapping with parameters of type Resource
 void CollectionResourceWrapper.copy(Resource resource)
           
 boolean ResourceMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
          Marshalls teh given Object id into the given resource.
 

Constructors in org.compass.core.converter.mapping with parameters of type Resource
CollectionResourceWrapper(Resource resource)
           
 

Uses of Resource in org.compass.core.converter.mapping.json
 

Methods in org.compass.core.converter.mapping.json with parameters of type Resource
protected  boolean AbstractDynamicJsonMappingConverter.doConvertDynamicValue(Resource resource, String name, Object value, MarshallingContext context)
           
protected  boolean AbstractJsonObjectMappingConverter.doMarshall(Resource resource, JsonObject jsonObject, JsonObjectMapping mapping, MarshallingContext context)
           
 boolean RootJsonObjectMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean PlainJsonObjectMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean JsonPropertyMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean JsonIdMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean JsonContentMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean JsonArrayMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean RootJsonObjectMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
 Object RootJsonObjectMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object PlainJsonObjectMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object JsonPropertyMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object JsonContentMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object JsonArrayMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.mapping.osem
 

Methods in org.compass.core.converter.mapping.osem with parameters of type Resource
protected  Object ClassMappingConverter.constructObjectForUnmarshalling(ClassMapping classMapping, Resource resource, MarshallingContext context)
          Constructs the object used for unmarshalling (no properties are set/unmarshalled) on it.
protected  boolean ClassMappingConverter.doMarshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
protected  boolean ReferenceMappingConverter.doMarshall(Resource resource, Object root, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  boolean ComponentMappingConverter.doMarshall(Resource resource, Object root, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected abstract  boolean AbstractRefAliasMappingConverter.doMarshall(Resource resource, Object root, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  void ClassMappingConverter.doSetBoost(Resource resource, Object root, ClassMapping classMapping, MarshallingContext context)
          A simple extension point that allows to set the boost value for the created Resource.
protected  Object ReferenceMappingConverter.doUnmarshall(Resource resource, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  Object ComponentMappingConverter.doUnmarshall(Resource resource, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected abstract  Object AbstractRefAliasMappingConverter.doUnmarshall(Resource resource, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
 boolean PlainCascadeMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ParentMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ConstantMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ClassPropertyMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ClassMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean AbstractRefAliasMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean AbstractCollectionMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ClassMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
protected  int CollectionMappingConverter.marshallIterateData(Object root, AbstractCollectionMapping colMapping, Resource resource, MarshallingContext context)
           
protected  int ArrayMappingConverter.marshallIterateData(Object root, AbstractCollectionMapping colMapping, Resource resource, MarshallingContext context)
           
protected abstract  int AbstractCollectionMappingConverter.marshallIterateData(Object root, AbstractCollectionMapping colMapping, Resource resource, MarshallingContext context)
          Marhall the data, returning the number of elements that were actually stored in the index (and can later be read).
protected  void ClassMappingConverter.storeEnumName(Resource resource, Object root, ClassMapping classMapping, MarshallingContext context)
          Stores the Enum.name() in order to construct it afterwards.
protected  void ClassMappingConverter.storePolyClass(Resource resource, Object root, ClassMapping classMapping, MarshallingContext context)
          Stores the poly class name callback.
 Object PlainCascadeMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ParentMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ConstantMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ClassPropertyMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ClassMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object AbstractRefAliasMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object AbstractCollectionMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.mapping.rsem
 

Methods in org.compass.core.converter.mapping.rsem with parameters of type Resource
 boolean RawResourceMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean RawResourceMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
 Object RawResourceMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.mapping.support
 

Methods in org.compass.core.converter.mapping.support with parameters of type Resource
 boolean FormatDelegateConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object FormatDelegateConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.mapping.xsem
 

Methods in org.compass.core.converter.mapping.xsem with parameters of type Resource
 boolean XmlPropertyMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlObjectMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlIdMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlContentMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlObjectMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
 Object XmlPropertyMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object XmlObjectMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object XmlIdMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object XmlContentMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.xsem
 

Methods in org.compass.core.converter.xsem with parameters of type Resource
 boolean SimpleXmlValueConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object SimpleXmlValueConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
          Not supported operation.
 

Uses of Resource in org.compass.core.engine
 

Methods in org.compass.core.engine that return Resource
 Resource SearchEngine.get(Resource idResource)
          Returns a resource for the given resource that holds the properties AND the alias, under the specified alias.
 Resource SearchEngineHits.getResource(int n)
          Returns that maps to the n'th hit.
 Resource SearchEngine.load(Resource idResource)
          Loads a resource for the given resource that holds the properties AND the alias, under the specified alias.
 

Methods in org.compass.core.engine with parameters of type Resource
 void SearchEngine.create(Resource resource)
          Creates the resource in the index file under the given alias.
 void SearchEngine.delete(Resource resource)
          Deletes the resource, which has the property ids.
 String SearchEngineHighlighter.fragment(Resource resource, String propertyName)
           
 String SearchEngineHighlighter.fragment(Resource resource, String propertyName, String text)
           
 String[] SearchEngineHighlighter.fragments(Resource resource, String propertyName)
           
 String[] SearchEngineHighlighter.fragments(Resource resource, String propertyName, String text)
           
 String SearchEngineHighlighter.fragmentsWithSeparator(Resource resource, String propertyName)
           
 String SearchEngineHighlighter.fragmentsWithSeparator(Resource resource, String propertyName, String text)
           
 Resource SearchEngine.get(Resource idResource)
          Returns a resource for the given resource that holds the properties AND the alias, under the specified alias.
 Resource SearchEngine.load(Resource idResource)
          Loads a resource for the given resource that holds the properties AND the alias, under the specified alias.
 SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder SearchEngineQueryBuilder.moreLikeThis(Resource idResource)
           
 String[] SearchEngineHighlighter.multiValueFragment(Resource resource, String propertyName)
           
 String[] SearchEngineHighlighter.multiValueFragment(Resource resource, String propertyName, String[] texts)
           
 String SearchEngineHighlighter.multiValueFragmentWithSeparator(Resource resource, String propertyName)
           
 String SearchEngineHighlighter.multiValueFragmentWithSeparator(Resource resource, String propertyName, String[] texts)
           
 void SearchEngine.save(Resource resource)
          Saves the given resource under the given resource.
 SearchEngineHighlighter SearchEngineHighlighter.setAnalyzer(Resource resource)
           
 SearchEngineAnalyzerHelper SearchEngineAnalyzerHelper.setAnalyzer(Resource resource)
           
 

Uses of Resource in org.compass.core.engine.utils
 

Methods in org.compass.core.engine.utils with parameters of type Resource
static Property[] ResourceHelper.toIds(Resource resource, CompassMapping mapping)
           
static Property[] ResourceHelper.toIds(Resource resource, ResourceMapping resourceMapping)
          Same as ResourceHelper.toIds(org.compass.core.Resource, org.compass.core.mapping.ResourceMapping, boolean) with idsMustExist set the true.
static Property[] ResourceHelper.toIds(Resource resource, ResourceMapping resourceMapping, boolean idsMustExist)
          Gets the id properties based on the resource mapping from the give resource.
 

Uses of Resource in org.compass.core.events
 

Methods in org.compass.core.events with parameters of type Resource
 void PostCreateResourceEventListener.onPostCreate(Resource resource)
          An event called after an object is created and accepts the Resource that represents it.
 void CompassEventManager.onPostCreate(Resource resource)
           
 void PostDeleteResourceEventListener.onPostDelete(Resource resource)
          An event called after an object is delteted and accepts the Resource that represents it.
 void CompassEventManager.onPostDelete(Resource resource)
           
 void PostSaveResourceEventListener.onPostSave(Resource resource)
          An event called after an object is saved and accepts the Resource that represents it.
 void CompassEventManager.onPostSave(Resource resource)
           
 FilterOperation PreCreateResourceEventListener.onPreCreate(Resource resource)
          An event called before an object is created and accepts the Resource that represents it.
 FilterOperation CompassEventManager.onPreCreate(Resource resource)
           
 FilterOperation PreDeleteResourceEventListener.onPreDelete(Resource resource)
          An event called before an object is deleted and accepts the Resource that represents it.
 FilterOperation CompassEventManager.onPreDelete(Resource resource)
           
 FilterOperation PreSaveResourceEventListener.onPreSave(Resource resource)
          An event called before an object is saved and accepts the Resource that represents it.
 FilterOperation CompassEventManager.onPreSave(Resource resource)
           
 

Uses of Resource in org.compass.core.impl
 

Methods in org.compass.core.impl that return Resource
 Resource DefaultCompassHit.getResource()
           
 Resource DefaultCompassSession.getResource(Class clazz, Object... ids)
           
 Resource DefaultCompassSession.getResource(Class clazz, Object id)
           
 Resource DefaultCompassSession.getResource(String alias, Object... ids)
           
 Resource DefaultCompassSession.getResource(String alias, Object id)
           
 Resource DefaultCompassSession.getResourceByIdResource(Resource idResource)
           
 Resource DefaultCompassSession.getResourceByIdResourceNoCache(Resource idResource)
           
 Resource[] DefaultCompassDetachedHits.getResources()
           
 Resource DefaultCompassSession.loadResource(Class clazz, Object... ids)
           
 Resource DefaultCompassSession.loadResource(Class clazz, Object id)
           
 Resource DefaultCompassSession.loadResource(String alias, Object... ids)
           
 Resource DefaultCompassSession.loadResource(String alias, Object id)
           
 Resource DefaultCompassSession.loadResourceByIdResource(Resource idResource)
           
 Resource DefaultCompassHit.resource()
           
 Resource DefaultCompassHits.resource(int n)
           
 Resource DefaultCompassDetachedHits.resource(int n)
           
 

Methods in org.compass.core.impl with parameters of type Resource
 void DefaultCompassSession.delete(Resource resource)
           
 void DefaultCompassSession.evict(Resource resource)
           
 Object DefaultCompassSession.getByResource(Resource resource)
           
 Object DefaultCompassSession.getByResource(Resource resource, MarshallingContext context)
           
 Resource DefaultCompassSession.getResourceByIdResource(Resource idResource)
           
 Resource DefaultCompassSession.getResourceByIdResourceNoCache(Resource idResource)
           
 Resource DefaultCompassSession.loadResourceByIdResource(Resource idResource)
           
 CompassHighlighter DefaultCompassHighlighter.setAnalyzer(Resource resource)
           
 CompassAnalyzerHelper DefaultCompassAnalyzerHelper.setAnalyzer(Resource resource)
           
 

Uses of Resource in org.compass.core.lucene
 

Classes in org.compass.core.lucene that implement Resource
 class LuceneMultiResource
           
 class LuceneResource
           
 

Methods in org.compass.core.lucene that return Resource
 Resource LuceneResource.addProperty(Property property)
           
 Resource LuceneMultiResource.addProperty(Property property)
           
 Resource LuceneResource.addProperty(String name, Object value)
           
 Resource LuceneMultiResource.addProperty(String name, Object value)
           
 Resource LuceneResource.addProperty(String name, Reader value)
           
 Resource LuceneMultiResource.addProperty(String name, Reader value)
           
 Resource LuceneResourceFactory.createResource(String alias)
           
 Resource LuceneMultiResource.currentResource()
           
 Resource LuceneResource.removeProperties(String name)
           
 Resource LuceneMultiResource.removeProperties(String name)
           
 Resource LuceneResource.removeProperty(String name)
           
 Resource LuceneMultiResource.removeProperty(String name)
           
 Resource LuceneMultiResource.resource(int i)
           
 Resource LuceneResource.setBoost(float boost)
           
 Resource LuceneMultiResource.setBoost(float boost)
           
 Resource LuceneResource.setProperty(Property property)
           
 Resource LuceneMultiResource.setProperty(Property property)
           
 Resource LuceneResource.setProperty(String name, Object value)
           
 Resource LuceneMultiResource.setProperty(String name, Object value)
           
 Resource LuceneResource.setProperty(String name, Reader value)
           
 Resource LuceneMultiResource.setProperty(String name, Reader value)
           
 

Methods in org.compass.core.lucene with parameters of type Resource
 void LuceneResource.copy(Resource resource)
           
 void LuceneMultiResource.copy(Resource resource)
           
 

Uses of Resource in org.compass.core.lucene.engine
 

Methods in org.compass.core.lucene.engine that return Resource
 Resource LuceneSearchEngine.get(Resource idResource)
           
 Resource EmptyLuceneSearchEngineHits.getResource(int n)
           
 Resource DefaultLuceneSearchEngineHits.getResource(int i)
           
 Resource LuceneSearchEngine.load(Resource idResource)
           
 

Methods in org.compass.core.lucene.engine with parameters of type Resource
 void LuceneSearchEngine.create(Resource resource)
           
protected  TokenStream LuceneSearchEngineHighlighter.createTokenStream(Resource resource, String propertyName, String text)
           
protected  TokenStream LuceneSearchEngineHighlighter.createTokenStreamFromTermPositions(Resource resource, String propertyName)
           
 void LuceneSearchEngine.delete(Resource resource)
           
 String LuceneSearchEngineHighlighter.fragment(Resource resource, String propertyName)
           
 String LuceneSearchEngineHighlighter.fragment(Resource resource, String propertyName, String text)
           
 String[] LuceneSearchEngineHighlighter.fragments(Resource resource, String propertyName)
           
 String[] LuceneSearchEngineHighlighter.fragments(Resource resource, String propertyName, String text)
           
 String LuceneSearchEngineHighlighter.fragmentsWithSeparator(Resource resource, String propertyName)
           
 String LuceneSearchEngineHighlighter.fragmentsWithSeparator(Resource resource, String propertyName, String text)
           
 Resource LuceneSearchEngine.get(Resource idResource)
           
 Resource LuceneSearchEngine.load(Resource idResource)
           
 String[] LuceneSearchEngineHighlighter.multiValueFragment(Resource resource, String propertyName)
           
 String[] LuceneSearchEngineHighlighter.multiValueFragment(Resource resource, String propertyName, String[] texts)
           
 String LuceneSearchEngineHighlighter.multiValueFragmentWithSeparator(Resource resource, String propertyName)
           
 String LuceneSearchEngineHighlighter.multiValueFragmentWithSeparator(Resource resource, String propertyName, String[] texts)
           
 void LuceneSearchEngine.save(Resource resource)
           
 SearchEngineHighlighter LuceneSearchEngineHighlighter.setAnalyzer(Resource resource)
           
 SearchEngineAnalyzerHelper LuceneSearchEngineAnalyzerHelper.setAnalyzer(Resource resource)
           
 

Uses of Resource in org.compass.core.lucene.engine.analyzer
 

Methods in org.compass.core.lucene.engine.analyzer with parameters of type Resource
 Analyzer LuceneAnalyzerManager.getAnalyzerByResource(Resource resource)
          Returns the Lucene Analyzer based on the give Resource.
 

Uses of Resource in org.compass.core.lucene.engine.query
 

Methods in org.compass.core.lucene.engine.query with parameters of type Resource
 SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder LuceneSearchEngineQueryBuilder.moreLikeThis(Resource idResource)
           
 

Constructors in org.compass.core.lucene.engine.query with parameters of type Resource
LuceneSearchEngineMoreLikeThisQueryBuilder(LuceneSearchEngine searchEngine, Resource idResource)
           
 

Uses of Resource in org.compass.core.lucene.engine.transaction
 

Methods in org.compass.core.lucene.engine.transaction that return Resource
 Resource[] LuceneSearchEngineTransaction.get(ResourceKey resourceKey)
           
 

Uses of Resource in org.compass.core.lucene.engine.transaction.lucene
 

Methods in org.compass.core.lucene.engine.transaction.lucene that return Resource
 Resource[] LuceneTransaction.get(ResourceKey resourceKey)
           
 

Uses of Resource in org.compass.core.lucene.engine.transaction.readcommitted
 

Methods in org.compass.core.lucene.engine.transaction.readcommitted that return Resource
 Resource[] ReadCommittedTransaction.get(ResourceKey resourceKey)
           
 

Uses of Resource in org.compass.core.lucene.util
 

Methods in org.compass.core.lucene.util that return Resource
static Resource[] LuceneUtils.hitsToResourceArray(Hits hits, LuceneSearchEngine searchEngine)
           
static Resource[] LuceneUtils.hitsToResourceArray(TermDocs termDocs, IndexReader indexReader, LuceneSearchEngine searchEngine)
           
 

Methods in org.compass.core.lucene.util with parameters of type Resource
static void LuceneUtils.addExtendedProeprty(Resource resource, ResourceMapping resourceMapping, LuceneSearchEngineFactory searchEngineFactory)
           
static void LuceneUtils.createResource(IndexWriter indexWriter, Resource resource, Analyzer analyzer)
           
static Document LuceneHelper.getDocument(Resource resource)
          Returns the actual Lucene Document that the Resource wraps.
static TermFreqVector LuceneHelper.getTermFreqVector(CompassSession session, Resource resource, String propertyName)
          Returns Lucene TermFreqVector for the given property and resource, using the session.
static TermFreqVector[] LuceneHelper.getTermFreqVectors(CompassSession session, Resource resource)
          Returns Lucene TermFreqVector using the given Compass session and Resource.
 

Uses of Resource in org.compass.core.marshall
 

Methods in org.compass.core.marshall that return Resource
 Resource MarshallingStrategy.marshall(Object root)
          Marshalls the given Object into a Resource based on the ResourceMapping associated with the provided object.
 Resource DefaultMarshallingStrategy.marshall(Object root)
           
 Resource MarshallingStrategy.marshall(String alias, Object root)
          Marshalls the given Object into a Resource based on the ResourceMapping associated with the provided alias.
 Resource DefaultMarshallingStrategy.marshall(String alias, Object root)
           
 Resource MarshallingStrategy.marshallIds(Class clazz, Object id)
          Marshalls the give id object into a Resource (a resource having only its ids set).
 Resource DefaultMarshallingStrategy.marshallIds(Class clazz, Object id)
           
 Resource MarshallingStrategy.marshallIds(Object id)
          Marshalls the given id object into a Resource (a resource having only its ids set).
 Resource DefaultMarshallingStrategy.marshallIds(Object id)
           
 Resource MarshallingStrategy.marshallIds(ResourceMapping resourceMapping, Object id)
          Marshalls the give id object into a Resource (a resource having only its ids set).
 Resource DefaultMarshallingStrategy.marshallIds(ResourceMapping resourceMapping, Object id)
           
 Resource MarshallingStrategy.marshallIds(String alias, Object id)
          Marshalls the give id object into a Resource (a resource having only its ids set).
 Resource DefaultMarshallingStrategy.marshallIds(String alias, Object id)
           
 

Methods in org.compass.core.marshall with parameters of type Resource
 boolean MarshallingStrategy.marshallIds(Resource resource, ResourceMapping resourceMapping, Object id, MarshallingContext context)
          Marshalls the give id object into the provided Resource (a resource having only its ids set).
 boolean DefaultMarshallingStrategy.marshallIds(Resource resource, ResourceMapping resourceMapping, Object id, MarshallingContext context)
           
 Object MarshallingStrategy.unmarshall(Resource resource)
          Unmarshalls the given resource to an Object based on the ResourceMapping regsitered under the Resource alias.
 Object DefaultMarshallingStrategy.unmarshall(Resource resource)
           
 Object MarshallingStrategy.unmarshall(Resource resource, MarshallingContext context)
          Unmarshalls the given resource to an Object based on the ResourceMapping regsitered under the Resource alias WITHIN the given marshalling context.
 Object DefaultMarshallingStrategy.unmarshall(Resource resource, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.spi
 

Subinterfaces of Resource in org.compass.core.spi
 interface InternalResource
           
 interface MultiResource
          A multiple resource implementation.
 

Methods in org.compass.core.spi that return Resource
 Resource MultiResource.currentResource()
          Returns the curren Resource.
 Resource InternalCompassSession.getResourceByIdResource(Resource idResource)
           
 Resource InternalCompassSession.getResourceByIdResourceNoCache(Resource idResource)
           
 Resource MultiResource.resource(int i)
          Returns the Resource at the given postion.
 

Methods in org.compass.core.spi with parameters of type Resource
 Object InternalCompassSession.getByResource(Resource resource)
           
 Resource InternalCompassSession.getResourceByIdResource(Resource idResource)
           
 Resource InternalCompassSession.getResourceByIdResourceNoCache(Resource idResource)
           
 

Constructors in org.compass.core.spi with parameters of type Resource
ResourceKey(ResourceMapping resourceMapping, Resource idResource)
           
 

Uses of Resource in org.compass.gps.device.jdbc
 

Constructors in org.compass.gps.device.jdbc with parameters of type Resource
ResultSetRowMarshallHelper(ResultSetToResourceMapping mapping, CompassSession session, JdbcDialect dialect, Resource resource)
          Creates a new marshaller helper that will marhsall the ResultSet to the given Resource.
ResultSetRowMarshallHelper(ResultSetToResourceMapping mapping, CompassSession session, JdbcDialect dialect, Resource resource, JdbcAliasRowSnapshot rowSnapshot)
           
ResultSetRowMarshallHelper(ResultSetToResourceMapping mapping, CompassSession session, JdbcDialect dialect, Resource resource, JdbcAliasRowSnapshot rowSnapshot, Compass compass)
          Creates a new marshaller helper that will marhsall that ResultSet to both the given Resource and JdbcAliasRowSnapshot.
 

Uses of Resource in org.compass.needle.gigaspaces.service
 

Methods in org.compass.needle.gigaspaces.service that return Resource
 Resource SearchResourceResult.getResource()
          Returns the resource associated with this hit.
 

Constructors in org.compass.needle.gigaspaces.service with parameters of type Resource
SearchResourceResult(float score, Resource data)
           
 



Copyright (c) 2004-2008 The Compass Project.