|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.topicmapslab.majortom.index.IndexImpl<T>
de.topicmapslab.majortom.index.core.BaseCachedIndexImpl<X>
de.topicmapslab.majortom.index.core.BaseCachedLiteralIndexImpl<X>
de.topicmapslab.majortom.index.nonpaged.CachedLiteralIndexImpl<InMemoryTopicMapStore>
de.topicmapslab.majortom.inmemory.index.InMemoryLiteralIndex
public class InMemoryLiteralIndex
Implementation of the ILiteralIndex
Constructor Summary | |
---|---|
InMemoryLiteralIndex(InMemoryTopicMapStore store)
constructor |
Method Summary | |
---|---|
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetBooleans(boolean value)
Returns all characteristics with the given value and the datatype xsd:boolean. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCharacteristics(org.tmapi.core.Locator datatype)
Returns all characteristics with the given datatype. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCharacteristics(java.lang.String value)
Returns all characteristics with the given value. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCharacteristics(java.lang.String value,
org.tmapi.core.Locator datatype)
Returns all characteristics with the given value and the given datatype. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCharacteristicsMatches(java.util.regex.Pattern regExp)
Returns all characteristics which has a value matches the given regular expression. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCharacteristicsMatches(java.util.regex.Pattern regExp,
org.tmapi.core.Locator datatype)
Returns all characteristics which has a value matches the given regular expression and has the datatype. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCharacteristicsMatches(java.lang.String regExp)
|
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCharacteristicsMatches(java.lang.String regExp,
org.tmapi.core.Locator datatype)
|
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value)
Returns all characteristics with the given value and the datatype tm:geo. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
double deviance)
Returns all characteristics with the datatype xsd:integer and a geographical coordinate which has a lower or equal distance to the given coordinate like the given deviance. |
java.util.Collection<de.topicmapslab.majortom.model.core.IDatatypeAware> |
doGetDatatypeAwares(org.tmapi.core.Locator dataType)
Returns all variants and occurrences with the given data-type. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetDateTime(java.util.Calendar value)
Returns all characteristics with the given value and the datatype xsd:dateTime. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetDateTime(java.util.Calendar value,
java.util.Calendar deviance)
Returns all characteristics with the datatype xsd:time and with a time value which has a difference from the given value lower or equals than the given deviance. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetDoubles(double value)
Returns all characteristics with the given value and the datatype xsd:double. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetDoubles(double value,
double deviance)
Returns all characteristics with the datatype xsd:double and a value contained by the given range [value - deviance, value + deviance]. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetFloats(float value)
Returns all characteristics with the given value and the datatype xsd:float. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetFloats(float value,
double deviance)
Returns all characteristics with the datatype xsd:float and a value contained by the given range [value - deviance, value + deviance]. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetIntegers(int value)
Returns all characteristics with the given value and the datatype xsd:integer. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetIntegers(int value,
double deviance)
Returns all characteristics with the datatype xsd:integer and a value contained by the given range [value - deviance, value + deviance]. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetLongs(long value)
Returns all characteristics with the given value and the datatype xsd:long. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetLongs(long value,
double deviance)
Returns all characteristics with the datatype xsd:long and a value contained by the given range [value - deviance, value + deviance]. |
java.util.Collection<org.tmapi.core.Name> |
doGetNames()
Return all names contained by the current topic map. |
java.util.Collection<org.tmapi.core.Name> |
doGetNames(java.lang.String value)
Return all names contained by the current topic map with a the given literal as value. |
java.util.Collection<org.tmapi.core.Occurrence> |
doGetOccurrences()
Return all occurrences contained by the current topic map. |
java.util.Collection<org.tmapi.core.Occurrence> |
doGetOccurrences(org.tmapi.core.Locator value)
Return all occurrences contained by the current topic map with the given value. |
java.util.Collection<org.tmapi.core.Occurrence> |
doGetOccurrences(java.lang.String value)
Return all occurrences contained by the current topic map with a the given literal as value. |
java.util.Collection<org.tmapi.core.Occurrence> |
doGetOccurrences(java.lang.String value,
org.tmapi.core.Locator datatype)
Return all occurrences contained by the current topic map with a the given literal as value and datatype. |
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> |
doGetUris(java.net.URI value)
Returns all characteristics with the given value and the datatype xsd:anyURI. |
java.util.Collection<org.tmapi.core.Variant> |
doGetVariants()
Return all variants contained by the current topic map. |
java.util.Collection<org.tmapi.core.Variant> |
doGetVariants(org.tmapi.core.Locator value)
Return all variants contained by the current topic map with the given value. |
java.util.Collection<org.tmapi.core.Variant> |
doGetVariants(java.lang.String value)
Return all variants contained by the current topic map with the given literal as value. |
java.util.Collection<org.tmapi.core.Variant> |
doGetVariants(java.lang.String value,
org.tmapi.core.Locator datatype)
Return all variants contained by the current topic map with a the given literal as value and datatype. |
Methods inherited from class de.topicmapslab.majortom.index.nonpaged.CachedLiteralIndexImpl |
---|
getBooleans, getCharacteristics, getCharacteristics, getCharacteristics, getCharacteristicsMatches, getCharacteristicsMatches, getCharacteristicsMatches, getCharacteristicsMatches, getCoordinates, getCoordinates, getDatatypeAwares, getDateTime, getDateTime, getDoubles, getDoubles, getFloats, getFloats, getIntegers, getIntegers, getLongs, getLongs, getNames, getNames, getOccurrences, getOccurrences, getOccurrences, getOccurrences, getUris, getVariants, getVariants, getVariants, getVariants |
Methods inherited from class de.topicmapslab.majortom.index.core.BaseCachedLiteralIndexImpl |
---|
cache, cache, cacheConstructs, cacheConstructs, cacheConstructs, cacheConstructs, clear, clearCache, close, open, read, read, readConstructs, readConstructs, readConstructs, readConstructs, topicMapChanged |
Methods inherited from class de.topicmapslab.majortom.index.core.BaseCachedIndexImpl |
---|
isCachingEnabled, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext |
Methods inherited from class de.topicmapslab.majortom.index.IndexImpl |
---|
getTopicMapStore, isAutoUpdated, isOpen, 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 |
---|
public InMemoryLiteralIndex(InMemoryTopicMapStore store)
store
- the in-memory storeMethod Detail |
---|
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetBooleans(boolean value)
doGetBooleans
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value)
doGetCharacteristics
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value of the characteristics
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(org.tmapi.core.Locator datatype)
doGetCharacteristics
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
datatype
- the datatype
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value, org.tmapi.core.Locator datatype)
doGetCharacteristics
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value of the characteristicsdatatype
- the datatype
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.lang.String regExp)
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.lang.String regExp, org.tmapi.core.Locator datatype)
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp)
doGetCharacteristicsMatches
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
regExp
- the regular expression
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp, org.tmapi.core.Locator datatype)
doGetCharacteristicsMatches
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
regExp
- the regular expressiondatatype
- the datatype
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value)
doGetCoordinates
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, double deviance)
doGetCoordinates
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the valuedeviance
- the maximum distance
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value)
doGetDateTime
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value, java.util.Calendar deviance)
0000-00-01T01:10:00
.
doGetDateTime
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the valuedeviance
- the maximum difference
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value)
doGetDoubles
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value, double deviance)
doGetDoubles
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the valuedeviance
- the maximum difference
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value)
doGetFloats
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value, double deviance)
doGetFloats
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the valuedeviance
- the maximum difference
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value)
doGetIntegers
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value, double deviance)
doGetIntegers
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the valuedeviance
- the maximum difference
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value)
doGetLongs
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value, double deviance)
doGetLongs
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the valuedeviance
- the maximum difference
public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doGetUris(java.net.URI value)
doGetUris
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<org.tmapi.core.Name> doGetNames(java.lang.String value)
doGetNames
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the literal
public java.util.Collection<org.tmapi.core.Occurrence> doGetOccurrences(java.lang.String value)
doGetOccurrences
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the literal
public java.util.Collection<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Locator value)
doGetOccurrences
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<org.tmapi.core.Occurrence> doGetOccurrences(java.lang.String value, org.tmapi.core.Locator datatype)
doGetOccurrences
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the literaldatatype
- the datatype
public java.util.Collection<org.tmapi.core.Variant> doGetVariants(java.lang.String value)
doGetVariants
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the literal
public java.util.Collection<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Locator value)
doGetVariants
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the value
public java.util.Collection<org.tmapi.core.Variant> doGetVariants(java.lang.String value, org.tmapi.core.Locator datatype)
doGetVariants
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
value
- the literaldatatype
- the datatype
public java.util.Collection<de.topicmapslab.majortom.model.core.IDatatypeAware> doGetDatatypeAwares(org.tmapi.core.Locator dataType)
doGetDatatypeAwares
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
dataType
- the data type
public java.util.Collection<org.tmapi.core.Name> doGetNames()
doGetNames
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
public java.util.Collection<org.tmapi.core.Occurrence> doGetOccurrences()
doGetOccurrences
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
public java.util.Collection<org.tmapi.core.Variant> doGetVariants()
doGetVariants
in class CachedLiteralIndexImpl<InMemoryTopicMapStore>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |