de.topicmapslab.majortom.queued.store.index
Class ConcurrentLiteralIndex

java.lang.Object
  extended by de.topicmapslab.majortom.queued.store.index.ConcurentIndexImpl<de.topicmapslab.majortom.model.index.ILiteralIndex>
      extended by de.topicmapslab.majortom.queued.store.index.ConcurrentLiteralIndex
All Implemented Interfaces:
de.topicmapslab.majortom.model.index.IIndex, de.topicmapslab.majortom.model.index.ILiteralIndex, org.tmapi.index.Index, org.tmapi.index.LiteralIndex

public class ConcurrentLiteralIndex
extends ConcurentIndexImpl<de.topicmapslab.majortom.model.index.ILiteralIndex>
implements de.topicmapslab.majortom.model.index.ILiteralIndex

Author:
Sven Krosse

Field Summary
 
Fields inherited from class de.topicmapslab.majortom.queued.store.index.ConcurentIndexImpl
lock
 
Constructor Summary
ConcurrentLiteralIndex(de.topicmapslab.majortom.model.index.ILiteralIndex parentIndex, java.util.concurrent.locks.Lock lock)
           
 
Method Summary
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getBooleans(boolean value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Locator datatype)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value, org.tmapi.core.Locator datatype)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp, org.tmapi.core.Locator datatype)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp, org.tmapi.core.Locator datatype)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, double deviance)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwares(org.tmapi.core.Locator dataType)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value, java.util.Calendar deviance)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value, double deviance)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value, double deviance)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value, double deviance)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value, double deviance)
          
 java.util.Collection<org.tmapi.core.Name> getNames()
          
 java.util.Collection<org.tmapi.core.Name> getNames(java.lang.String value)
          
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences()
          
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Locator value)
          
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(java.lang.String value)
          
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(java.lang.String value, org.tmapi.core.Locator datatype)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getUris(java.net.URI value)
          
 java.util.Collection<org.tmapi.core.Variant> getVariants()
          
 java.util.Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Locator value)
          
 java.util.Collection<org.tmapi.core.Variant> getVariants(java.lang.String value)
          
 java.util.Collection<org.tmapi.core.Variant> getVariants(java.lang.String value, org.tmapi.core.Locator datatype)
          
 
Methods inherited from class de.topicmapslab.majortom.queued.store.index.ConcurentIndexImpl
clear, close, getParentIndex, isAutoUpdated, isOpen, open, reindex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.topicmapslab.majortom.model.index.IIndex
clear
 
Methods inherited from interface org.tmapi.index.Index
close, isAutoUpdated, isOpen, open, reindex
 

Constructor Detail

ConcurrentLiteralIndex

public ConcurrentLiteralIndex(de.topicmapslab.majortom.model.index.ILiteralIndex parentIndex,
                              java.util.concurrent.locks.Lock lock)
Parameters:
parentIndex -
lock -
Method Detail

getOccurrences

public java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(java.lang.String value)

Specified by:
getOccurrences in interface org.tmapi.index.LiteralIndex

getOccurrences

public java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Locator value)

Specified by:
getOccurrences in interface org.tmapi.index.LiteralIndex

getOccurrences

public java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(java.lang.String value,
                                                                      org.tmapi.core.Locator datatype)

Specified by:
getOccurrences in interface org.tmapi.index.LiteralIndex

getVariants

public java.util.Collection<org.tmapi.core.Variant> getVariants(java.lang.String value)

Specified by:
getVariants in interface org.tmapi.index.LiteralIndex

getVariants

public java.util.Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Locator value)

Specified by:
getVariants in interface org.tmapi.index.LiteralIndex

getVariants

public java.util.Collection<org.tmapi.core.Variant> getVariants(java.lang.String value,
                                                                org.tmapi.core.Locator datatype)

Specified by:
getVariants in interface org.tmapi.index.LiteralIndex

getNames

public java.util.Collection<org.tmapi.core.Name> getNames(java.lang.String value)

Specified by:
getNames in interface org.tmapi.index.LiteralIndex

getCharacteristics

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCharacteristics

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Locator datatype)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCharacteristics

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value,
                                                                                                     org.tmapi.core.Locator datatype)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCharacteristicsMatches

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCharacteristicsMatches

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp,
                                                                                                            org.tmapi.core.Locator datatype)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCharacteristicsMatches

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCharacteristicsMatches

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                            org.tmapi.core.Locator datatype)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getUris

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getUris(java.net.URI value)

Specified by:
getUris in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getIntegers

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value)

Specified by:
getIntegers in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getIntegers

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value,
                                                                                              double deviance)

Specified by:
getIntegers in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getLongs

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value)

Specified by:
getLongs in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getLongs

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value,
                                                                                           double deviance)

Specified by:
getLongs in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getFloats

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value)

Specified by:
getFloats in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getFloats

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value,
                                                                                            double deviance)

Specified by:
getFloats in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getDoubles

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value)

Specified by:
getDoubles in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getDoubles

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value,
                                                                                             double deviance)

Specified by:
getDoubles in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getDateTime

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value)

Specified by:
getDateTime in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getDateTime

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value,
                                                                                              java.util.Calendar deviance)

Specified by:
getDateTime in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getBooleans

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getBooleans(boolean value)

Specified by:
getBooleans in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCoordinates

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value)

Specified by:
getCoordinates in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getCoordinates

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                                 double deviance)

Specified by:
getCoordinates in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getDatatypeAwares

public java.util.Collection<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwares(org.tmapi.core.Locator dataType)

Specified by:
getDatatypeAwares in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getNames

public java.util.Collection<org.tmapi.core.Name> getNames()

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getOccurrences

public java.util.Collection<org.tmapi.core.Occurrence> getOccurrences()

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.ILiteralIndex

getVariants

public java.util.Collection<org.tmapi.core.Variant> getVariants()

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.ILiteralIndex