Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W X 

A

addField(String, boolean) - Method in class com.indexdata.torus2.model.RealmDefinition.MatchKey
 
addLayer(String) - Method in class com.indexdata.torus2.model.Record
 
addLayer(Record.Layer) - Method in class com.indexdata.torus2.model.Record
 
addTerm(String) - Method in class com.indexdata.torus2.model.Facets.Facet
 
AdjacencyTermMatcher - Class in com.indexdata.torus2.query.match.term
 
AdjacencyTermMatcher(String) - Constructor for class com.indexdata.torus2.query.match.term.AdjacencyTermMatcher
 
AllTermMatcher - Class in com.indexdata.torus2.query.match.term
 
AllTermMatcher(String) - Constructor for class com.indexdata.torus2.query.match.term.AllTermMatcher
 
AndMatcher - Class in com.indexdata.torus2.query.match
 
AndMatcher(LayerMatcher, LayerMatcher) - Constructor for class com.indexdata.torus2.query.match.AndMatcher
 
AndNotMatcher - Class in com.indexdata.torus2.query.match
 
AndNotMatcher(LayerMatcher, LayerMatcher) - Constructor for class com.indexdata.torus2.query.match.AndNotMatcher
 
AnyFieldMatcher - Class in com.indexdata.torus2.query.match
 
AnyFieldMatcher(TypeAwareTermMatcher) - Constructor for class com.indexdata.torus2.query.match.AnyFieldMatcher
 
AnyTermMatcher - Class in com.indexdata.torus2.query.match.term
 
AnyTermMatcher(String) - Constructor for class com.indexdata.torus2.query.match.term.AnyTermMatcher
 
attr(String, String) - Method in class com.indexdata.torus2.util.XMLWriter
 

B

build(CQLNode) - Static method in class com.indexdata.torus2.query.MatcherBuilder
 

C

cacheRecords(String, RealmClient.RealmResponse, RealmReaderWriter, ParentRealm) - Method in class com.indexdata.torus2.RealmClient
 
CachingReaderWriter - Class in com.indexdata.torus2.rw.impl
This RW prevents any disk writes or reads that have to do with worlds records and instead caches them purely in memory.
CachingReaderWriter(RealmReaderWriter, String, String, boolean, boolean, boolean) - Constructor for class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
com.indexdata.torus2 - package com.indexdata.torus2
 
com.indexdata.torus2.exception - package com.indexdata.torus2.exception
 
com.indexdata.torus2.model - package com.indexdata.torus2.model
 
com.indexdata.torus2.query - package com.indexdata.torus2.query
 
com.indexdata.torus2.query.match - package com.indexdata.torus2.query.match
 
com.indexdata.torus2.query.match.term - package com.indexdata.torus2.query.match.term
 
com.indexdata.torus2.rw - package com.indexdata.torus2.rw
 
com.indexdata.torus2.rw.impl - package com.indexdata.torus2.rw.impl
 
com.indexdata.torus2.util - package com.indexdata.torus2.util
 
compare(Record, Record) - Method in class com.indexdata.torus2.query.RecordComparator
Will compare two documents based on alphabetical comparison of the content of the specified fields using the given sort order and locale if any.
compare(Object, Object) - Method in class com.indexdata.torus2.util.NaturalOrderComparator
 
contextDestroyed(ServletContextEvent) - Method in class com.indexdata.torus2.StartupListener
 
contextInitialized(ServletContextEvent) - Method in class com.indexdata.torus2.StartupListener
 
countTokens() - Method in class com.indexdata.torus2.util.EscapingStringTokenizer
Calculates the number of times that this tokenizer's nextToken method can be called before it generates an exception.
create(RealmDefinition) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
create(RealmDefinition) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
create(RealmDefinition) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Creates a new new realm store.
createChild(Element, String) - Static method in class com.indexdata.torus2.util.DOMHelper
The method creates and appends Element node to the given parent.
createMasterRecord(Record) - Method in class com.indexdata.torus2.Realm
 
createMasterRecord(String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
createParentRealm(ParentRealm) - Method in class com.indexdata.torus2.Realm
 
createParentRealm(String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
createRealm(RealmDefinition, MasterkeyConfiguration, String, String, Date, ExecutorService) - Static method in class com.indexdata.torus2.Realm
 
createRealm(String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
createRealmRecord(Record) - Method in class com.indexdata.torus2.Realm
 
createRecord(String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 

D

DateUtil - Class in com.indexdata.torus2.util
 
DateUtil() - Constructor for class com.indexdata.torus2.util.DateUtil
 
DateUtil.DateTimeFormat - Enum in com.indexdata.torus2.util
 
DateWithinMatcher - Class in com.indexdata.torus2.query.match.term
 
DateWithinMatcher(String, String) - Constructor for class com.indexdata.torus2.query.match.term.DateWithinMatcher
 
deAnchorTerm(String) - Static method in class com.indexdata.torus2.query.MatchingUtil
 
deleteCachedAsOriginal(String) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
deleteCachedAsOriginal(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
deleteCachedAsOriginal(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
deleteCachedAsOriginal(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
deleteMasterRecord(String) - Method in class com.indexdata.torus2.Realm
 
deleteMasterRecord(String, String) - Method in class com.indexdata.torus2.RealmResource
 
deleteMasterRecord(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
deleteMasterRecord(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
deleteMasterRecord(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
deleteOverrideRecord(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
deleteOverrideRecord(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
deleteOverrideRecord(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
deleteParentRealm(String) - Method in class com.indexdata.torus2.Realm
 
deleteParentRealm(String, String) - Method in class com.indexdata.torus2.RealmResource
 
deleteParentRealm(String) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
deleteParentRealm(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
deleteParentRealm(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
deleteParentRealm(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
deleteRealm(String) - Method in class com.indexdata.torus2.RealmResource
 
deleteRealmRecord(String) - Method in class com.indexdata.torus2.Realm
 
deleteRecord(String, String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
deleteWorldRecordsByParentId(String) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
deleteWorldRecordsByParentId(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
deleteWorldRecordsByParentId(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
deleteWorldRecordsByParentId(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
delim - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 
describe() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
describe() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
describe() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Retrieves RealmDefinition for the given realm.
destroy() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
destroy() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
destroy() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Destroys the underlying record store;
destroyRealm(String, MasterkeyConfiguration, String, String) - Static method in class com.indexdata.torus2.Realm
 
DOMHelper - Class in com.indexdata.torus2.util
Helper class for common (awkward) DOM operations on the record object.
DOMHelper() - Constructor for class com.indexdata.torus2.util.DOMHelper
 
DOMSerializable - Interface in com.indexdata.torus2.util
 

E

encode(String) - Static method in class com.indexdata.torus2.util.URIHelper
This method encodes URI components according to RFC-3986 rather than the "application/x-www-form-urlencoded" MIME as URLEncoder does.
end() - Method in class com.indexdata.torus2.util.XMLWriter
 
equals(Object) - Method in class com.indexdata.torus2.util.Pair
 
equalsWildcard(String, int, String, int) - Static method in class com.indexdata.torus2.query.MatchingUtil
 
escape - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 
escapedDelims - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 
EscapingStringTokenizer - Class in com.indexdata.torus2.util
Escaping/Quoting string tokenizer, based on the code from the Polyglot Project http://www.cs.cornell.edu/projects/polyglot/
EscapingStringTokenizer(String) - Constructor for class com.indexdata.torus2.util.EscapingStringTokenizer
Constructs a string tokenizer for the specified string.
EscapingStringTokenizer(String, String) - Constructor for class com.indexdata.torus2.util.EscapingStringTokenizer
Constructs a string tokenizer for the specified string.
EscapingStringTokenizer(String, String, String, char, boolean) - Constructor for class com.indexdata.torus2.util.EscapingStringTokenizer
Constructs a string tokenizer for the specified string.
EscapingStringTokenizer(String, String, String, char, boolean, String) - Constructor for class com.indexdata.torus2.util.EscapingStringTokenizer
Constructs a string tokenizer for the specified string.
ExactTermMatcher - Class in com.indexdata.torus2.query.match.term
 
ExactTermMatcher(String) - Constructor for class com.indexdata.torus2.query.match.term.ExactTermMatcher
 
EXECUTOR_SERVICE_ATTR - Static variable in class com.indexdata.torus2.StartupListener
 

F

Facet(String, Pattern) - Constructor for class com.indexdata.torus2.model.Facets.Facet
 
Facets - Class in com.indexdata.torus2.model
 
Facets(List<String>) - Constructor for class com.indexdata.torus2.model.Facets
 
Facets.Facet - Class in com.indexdata.torus2.model
 
Facets.Facet.FacetTerm - Class in com.indexdata.torus2.model
 
fetchAndCacheRecords(String, int, ParentRealm, RealmReaderWriter, Date) - Method in class com.indexdata.torus2.RealmClient
 
fetchAndCacheRecordsAsync(String, int, ParentRealm, RealmReaderWriter, Date) - Method in class com.indexdata.torus2.RealmClient
 
fetchRecords(String, int, Date, Date) - Method in class com.indexdata.torus2.RealmClient
Fetch the world list from another TORUS
FIELD_TOKEN_DELIMS - Static variable in class com.indexdata.torus2.query.Tokenizer
 
FixedFieldMatcher - Class in com.indexdata.torus2.query.match
 
FixedFieldMatcher(TypeAwareTermMatcher, String) - Constructor for class com.indexdata.torus2.query.match.FixedFieldMatcher
 
fromDOM(Document, String) - Static method in class com.indexdata.torus2.model.ParentRealm
This method can be safely called on user input as it ignores system controlled fields that end-up serialized in the output document.
fromDOM(Document, String) - Static method in class com.indexdata.torus2.model.RealmDefinition
 
fromDOM(Element, String) - Static method in class com.indexdata.torus2.model.Record
 
fromDOM(Element) - Static method in class com.indexdata.torus2.model.Record.Layer
 
fromStoredDOM(Document, String) - Static method in class com.indexdata.torus2.model.ParentRealm
This method calls ParentRealm#fromDOM and also parses the stored fields that otherwise are ignored from the user request.
fromStoredDOM(Element) - Static method in class com.indexdata.torus2.model.Record.Layer
 

G

generate(Record.Layer) - Method in class com.indexdata.torus2.model.RealmDefinition.MatchKey
 
get(K) - Method in class com.indexdata.torus2.util.LRUCache
 
getAllRecords(CQLNode, List<Realm.LayerType>, List<String>) - Method in class com.indexdata.torus2.Realm
 
getAutoInherit() - Method in class com.indexdata.torus2.model.ParentRealm
 
getChildrenByName(Element, String) - Static method in class com.indexdata.torus2.util.DOMHelper
 
getContents() - Method in class com.indexdata.torus2.model.Record.Layer.Field
 
getCount() - Method in class com.indexdata.torus2.model.Facets.Facet.FacetTerm
 
getCreated() - Method in class com.indexdata.torus2.model.ParentRealm
 
getCreationDate() - Method in class com.indexdata.torus2.model.Record.Layer
 
getDefinition() - Method in class com.indexdata.torus2.Realm
 
getDefinition(String) - Method in class com.indexdata.torus2.RealmResource
 
getFacet(String) - Method in class com.indexdata.torus2.model.Facets
 
getFacets() - Method in class com.indexdata.torus2.model.Facets
 
getFacets() - Method in class com.indexdata.torus2.model.ResultSet
 
getField(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
getFieldName() - Method in class com.indexdata.torus2.model.RealmDefinition.MatchKey.MatchField
 
getFields() - Method in class com.indexdata.torus2.model.RealmDefinition.MatchKey
 
getFirst() - Method in class com.indexdata.torus2.util.Pair
 
getFirstChildByName(Element, String) - Static method in class com.indexdata.torus2.util.DOMHelper
 
getFirstChildText(Element, String) - Static method in class com.indexdata.torus2.util.DOMHelper
 
getFirstElementText(Element, String) - Static method in class com.indexdata.torus2.util.DOMHelper
 
getFirstElemWithAttr(Element, String, String, String) - Static method in class com.indexdata.torus2.util.DOMHelper
 
getId() - Method in class com.indexdata.torus2.model.ParentRealm
 
getId() - Method in class com.indexdata.torus2.model.Record.Layer
 
getLabel() - Method in class com.indexdata.torus2.model.Record.Layer
 
getLastModified() - Method in class com.indexdata.torus2.model.Record
 
getLastModified() - Method in class com.indexdata.torus2.model.Record.Layer
 
getLastModified() - Method in class com.indexdata.torus2.model.ResultSet
 
getLastRefreshed() - Method in class com.indexdata.torus2.model.ParentRealm
 
getLastUpdated() - Method in class com.indexdata.torus2.model.ParentRealm
 
getLayer(String) - Method in class com.indexdata.torus2.model.Record
 
getLayers() - Method in class com.indexdata.torus2.model.Record
 
getLock(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
getMasterRecord(String) - Method in class com.indexdata.torus2.Realm
 
getMasterRecord(String, String) - Method in class com.indexdata.torus2.RealmResource
 
getMasterRecords(String, int, int) - Method in class com.indexdata.torus2.RealmResource
 
getMatchKey() - Method in class com.indexdata.torus2.model.RealmDefinition
 
getMatchQuery() - Method in class com.indexdata.torus2.model.Record.Layer
 
getMergedRecords(Request, String, String, String, int, int, String, boolean, boolean) - Method in class com.indexdata.torus2.RealmResource
 
getName() - Method in class com.indexdata.torus2.model.Facets.Facet
 
getName() - Method in class com.indexdata.torus2.model.ParentRealm
 
getName() - Method in class com.indexdata.torus2.model.Record.Layer.Field
 
getName() - Method in class com.indexdata.torus2.model.Record.Layer
 
getName() - Method in enum com.indexdata.torus2.Realm.LayerType
 
getParentId() - Method in class com.indexdata.torus2.model.Record
 
getParentRealm(String) - Method in class com.indexdata.torus2.Realm
 
getParentRealm(String, String) - Method in class com.indexdata.torus2.RealmResource
 
getParentRealms() - Method in class com.indexdata.torus2.Realm
 
getParentRealms(int, int, String) - Method in class com.indexdata.torus2.RealmResource
 
getPriority() - Method in class com.indexdata.torus2.model.ParentRealm
 
getRealmName() - Method in class com.indexdata.torus2.model.RealmDefinition
 
getRealmName() - Method in class com.indexdata.torus2.model.Record.Layer
 
getRealmRecord(String, List<Realm.LayerType>) - Method in class com.indexdata.torus2.Realm
 
getRealmRecords(CQLNode, List<Realm.LayerType>, List<String>) - Method in class com.indexdata.torus2.Realm
 
getRealmRW(String, MasterkeyConfiguration, String, String) - Static method in class com.indexdata.torus2.rw.RealmRWFactory
 
getRealmType() - Method in class com.indexdata.torus2.model.RealmDefinition
 
getRecord(Request, String, String, String, boolean) - Method in class com.indexdata.torus2.RealmResource
 
getRecords() - Method in class com.indexdata.torus2.model.ResultSet
 
getRecords() - Method in class com.indexdata.torus2.RealmClient.RealmResponse
 
getRecords(Request, String, String, int, int, String, String, boolean, boolean) - Method in class com.indexdata.torus2.RealmResource
 
getRefreshAfter() - Method in class com.indexdata.torus2.model.ParentRealm
 
getResponseCode() - Method in class com.indexdata.torus2.RealmClient.RealmResponse
 
getSecond() - Method in class com.indexdata.torus2.util.Pair
 
getSplitRegex() - Method in class com.indexdata.torus2.model.Facets.Facet
 
getTerm() - Method in class com.indexdata.torus2.model.Facets.Facet.FacetTerm
 
getTerms() - Method in class com.indexdata.torus2.model.Facets.Facet
 
getTimestamp() - Method in class com.indexdata.torus2.RealmClient.RealmResponse
 
getType() - Method in class com.indexdata.torus2.model.Record
 
getUrl() - Method in class com.indexdata.torus2.model.ParentRealm
 
getUrl() - Method in class com.indexdata.torus2.RealmClient.RealmResponse
 
getWolrdRecords(Request, String, String, int, int, int, String, boolean, boolean) - Method in class com.indexdata.torus2.RealmResource
 
getWorldId() - Method in class com.indexdata.torus2.model.Record.Layer
 
getWorldRecord(String) - Method in class com.indexdata.torus2.Realm
 
getWorldRecord(Request, String, String, boolean) - Method in class com.indexdata.torus2.RealmResource
 
getWorldRecords(CQLNode, List<String>, int) - Method in class com.indexdata.torus2.Realm
 
getXsiLayerType() - Method in class com.indexdata.torus2.model.RealmDefinition
 

H

hashCode() - Method in class com.indexdata.torus2.util.Pair
 
hasMoreElements() - Method in class com.indexdata.torus2.query.Tokenizer
 
hasMoreElements() - Method in class com.indexdata.torus2.util.EscapingStringTokenizer
Returns the same value as the hasMoreTokens method.
hasMoreTokens() - Method in class com.indexdata.torus2.util.EscapingStringTokenizer
Tests if there are more tokens available from this tokenizer's string.
hideLayer(String) - Method in class com.indexdata.torus2.model.Record
 

I

InternalIOException - Exception in com.indexdata.torus2.exception
Represents low-level record read/write exception.
InternalIOException(String, Throwable) - Constructor for exception com.indexdata.torus2.exception.InternalIOException
 
InternalIOException(String) - Constructor for exception com.indexdata.torus2.exception.InternalIOException
 
InternalIOException(Throwable) - Constructor for exception com.indexdata.torus2.exception.InternalIOException
 
IpEnclosesMatcher - Class in com.indexdata.torus2.query.match.term
 
IpEnclosesMatcher(String) - Constructor for class com.indexdata.torus2.query.match.term.IpEnclosesMatcher
 
IpWithinMatcher - Class in com.indexdata.torus2.query.match.term
 
IpWithinMatcher(String) - Constructor for class com.indexdata.torus2.query.match.term.IpWithinMatcher
 
isAutoInherit() - Method in class com.indexdata.torus2.model.RealmDefinition
 
isCachedAsParent() - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
isCachedAsParent() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
isCachedAsParent() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
isCachedAsParent() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
In case the realm serves as parent to other realms within the same torus installation, the following function allows for fast propagation of changes to child realms.
isDisabled() - Method in class com.indexdata.torus2.model.Record.Layer
 
isGone() - Method in class com.indexdata.torus2.model.Record.Layer.Field
 
ISO_DATE_FORMAT - Static variable in class com.indexdata.torus2.util.DateUtil
 
ISOLikeDateParser - Class in com.indexdata.torus2.util
 
ISOLikeDateParser() - Constructor for class com.indexdata.torus2.util.ISOLikeDateParser
 
isRequired() - Method in class com.indexdata.torus2.model.RealmDefinition.MatchKey.MatchField
 
iterator() - Method in class com.indexdata.torus2.model.Record.Layer
 

L

Layer(String) - Constructor for class com.indexdata.torus2.model.Record.Layer
 
LayerMatcher - Interface in com.indexdata.torus2.query.match
 
len - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 
listAllRealms() - Method in class com.indexdata.torus2.Realm
 
listMasterRecords() - Method in class com.indexdata.torus2.Realm
 
listRealms() - Method in class com.indexdata.torus2.RealmResource
 
listRealms() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
listRealms() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
listRealms() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
List all realms available within the torus.
listRWs(boolean) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
localCount() - Method in class com.indexdata.torus2.model.ResultSet
 
LRUCache<K,V> - Class in com.indexdata.torus2.util
 
LRUCache(int) - Constructor for class com.indexdata.torus2.util.LRUCache
 

M

main(String[]) - Static method in class com.indexdata.torus2.util.NaturalOrderComparator
 
MalformedInputException - Exception in com.indexdata.torus2.exception
 
MalformedInputException(String, Throwable) - Constructor for exception com.indexdata.torus2.exception.MalformedInputException
 
MalformedInputException(String) - Constructor for exception com.indexdata.torus2.exception.MalformedInputException
 
match(Record.Layer) - Method in class com.indexdata.torus2.query.match.AndMatcher
 
match(Record.Layer) - Method in class com.indexdata.torus2.query.match.AndNotMatcher
 
match(Record.Layer) - Method in class com.indexdata.torus2.query.match.AnyFieldMatcher
 
match(Record.Layer) - Method in class com.indexdata.torus2.query.match.FixedFieldMatcher
 
match(Record.Layer) - Method in interface com.indexdata.torus2.query.match.LayerMatcher
 
match(Record.Layer) - Method in class com.indexdata.torus2.query.match.OrMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.AdjacencyTermMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.AllTermMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.AnyTermMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.DateWithinMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.ExactTermMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.IpEnclosesMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.IpWithinMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.term.NotEqualTermMatcher
 
match(String) - Method in interface com.indexdata.torus2.query.match.TermMatcher
 
match(Record.Layer) - Method in class com.indexdata.torus2.query.match.TrueMatcher
 
match(String) - Method in class com.indexdata.torus2.query.match.TypeAwareTermMatcher
 
MatcherBuilder - Class in com.indexdata.torus2.query
 
MatcherBuilder() - Constructor for class com.indexdata.torus2.query.MatcherBuilder
 
MatchField(String, boolean) - Constructor for class com.indexdata.torus2.model.RealmDefinition.MatchKey.MatchField
 
MatchingUtil - Class in com.indexdata.torus2.query
 
MatchingUtil() - Constructor for class com.indexdata.torus2.query.MatchingUtil
 
MatchKey() - Constructor for class com.indexdata.torus2.model.RealmDefinition.MatchKey
 

N

NaturalOrderComparator - Class in com.indexdata.torus2.util
 
NaturalOrderComparator() - Constructor for class com.indexdata.torus2.util.NaturalOrderComparator
 
needsRefresh(Date) - Method in class com.indexdata.torus2.model.ParentRealm
 
nextElement() - Method in class com.indexdata.torus2.query.Tokenizer
 
nextElement() - Method in class com.indexdata.torus2.util.EscapingStringTokenizer
Returns the same value as the nextToken method, except that its declared return value is Object rather than String.
nextToken() - Method in class com.indexdata.torus2.util.EscapingStringTokenizer
Returns the next token from this string tokenizer.
nextToken(String) - Method in class com.indexdata.torus2.util.EscapingStringTokenizer
Returns the next token in this string tokenizer's string.
normalizeTokens(String, String, Tokenizer.TokenizerType) - Static method in class com.indexdata.torus2.query.MatchingUtil
 
NotEqualTermMatcher - Class in com.indexdata.torus2.query.match.term
 
NotEqualTermMatcher(String) - Constructor for class com.indexdata.torus2.query.match.term.NotEqualTermMatcher
 
NotFoundException - Exception in com.indexdata.torus2.exception
So why this class? I find it way cleaner to percolate that from the lowest-level and then throw 404 in the container rather than checking for nulls on each level.
NotFoundException(String, Throwable) - Constructor for exception com.indexdata.torus2.exception.NotFoundException
 
NotFoundException(String) - Constructor for exception com.indexdata.torus2.exception.NotFoundException
 

O

open() - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
open() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
open() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
open() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Attempts to open the realm store pointed to by this instance.
openRealm(String, MasterkeyConfiguration, String, String, Date, ExecutorService) - Static method in class com.indexdata.torus2.Realm
 
OrMatcher - Class in com.indexdata.torus2.query.match
 
OrMatcher(LayerMatcher, LayerMatcher) - Constructor for class com.indexdata.torus2.query.match.OrMatcher
 
overiddenCount() - Method in class com.indexdata.torus2.model.ResultSet
 

P

Pair<A,B> - Class in com.indexdata.torus2.util
Generic pair tuple.
Pair(A, B) - Constructor for class com.indexdata.torus2.util.Pair
 
ParentRealm - Class in com.indexdata.torus2.model
Represents parent realm entity.
ParentRealm(String, String, URL) - Constructor for class com.indexdata.torus2.model.ParentRealm
 
ParentRealm(String, String, String) - Constructor for class com.indexdata.torus2.model.ParentRealm
 
ParentRealm.Trilean - Enum in com.indexdata.torus2.model
 
parse(String) - Static method in enum com.indexdata.torus2.Realm.LayerType
 
parse(String) - Static method in class com.indexdata.torus2.util.DateUtil
 
parse(String, DateUtil.DateTimeFormat) - Static method in class com.indexdata.torus2.util.DateUtil
 
parse(String) - Static method in class com.indexdata.torus2.util.ISOLikeDateParser
 
parseQuery(String) - Static method in class com.indexdata.torus2.query.MatchingUtil
Parses query string into tree representation
pos - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 
ProxyReaderWriter - Class in com.indexdata.torus2.rw.impl
 
ProxyReaderWriter(RealmReaderWriter) - Constructor for class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
put(K, V) - Method in class com.indexdata.torus2.util.LRUCache
 

Q

QUERY_TOKEN_DELIMS - Static variable in class com.indexdata.torus2.query.Tokenizer
 
QueryException - Exception in com.indexdata.torus2.query
 
QueryException(String) - Constructor for exception com.indexdata.torus2.query.QueryException
 
QueryException(String, Throwable) - Constructor for exception com.indexdata.torus2.query.QueryException
 
quotes - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 

R

readMasterRecord(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readMasterRecord(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readMasterRecord(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
readMasterRecords() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readMasterRecords() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readMasterRecords() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
readOverrideRecord(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readOverrideRecord(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readOverrideRecord(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Retrieve override record by id.
readOverrideRecords() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readOverrideRecords() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readOverrideRecords() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Retrieve a list of override records within this realm, the query parameter is used ONLY to early filter out false matches, that is records that CONTAIN a given query field but the value DOES NOT match.
readParentRealm(String) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
readParentRealm(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readParentRealm(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readParentRealm(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
readParentRealms() - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
readParentRealms() - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readParentRealms() - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readParentRealms() - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
readWorldRecord(String) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
readWorldRecord(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readWorldRecord(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readWorldRecord(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Retrieve world (within a set of parents) record by id.
readWorldRecordsForParent(String) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
readWorldRecordsForParent(String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
readWorldRecordsForParent(String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
readWorldRecordsForParent(String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Retrieve a time-stamped list of records for a parent specified within this realm,
Realm - Class in com.indexdata.torus2
 
Realm(RealmReaderWriter, RealmDefinition, String, Date, ExecutorService) - Constructor for class com.indexdata.torus2.Realm
 
Realm.LayerType - Enum in com.indexdata.torus2
 
RealmClient - Class in com.indexdata.torus2
 
RealmClient() - Constructor for class com.indexdata.torus2.RealmClient
 
RealmClient.RealmClientException - Exception in com.indexdata.torus2
 
RealmClient.RealmResponse - Class in com.indexdata.torus2
 
RealmClientException(String) - Constructor for exception com.indexdata.torus2.RealmClient.RealmClientException
 
RealmClientException(String, Throwable) - Constructor for exception com.indexdata.torus2.RealmClient.RealmClientException
 
RealmDefinition - Class in com.indexdata.torus2.model
 
RealmDefinition(String, String) - Constructor for class com.indexdata.torus2.model.RealmDefinition
 
RealmDefinition(String, String, boolean, RealmDefinition.MatchKey) - Constructor for class com.indexdata.torus2.model.RealmDefinition
 
RealmDefinition.MatchKey - Class in com.indexdata.torus2.model
 
RealmDefinition.MatchKey.MatchField - Class in com.indexdata.torus2.model
 
RealmFileRW - Class in com.indexdata.torus2.rw.impl
Flat, multi-file implementation of the record store
RealmFileRW(String, String) - Constructor for class com.indexdata.torus2.rw.impl.RealmFileRW
Opens RW on a specified realm.
RealmReaderWriter - Interface in com.indexdata.torus2.rw
Represents low-level realm data access.
RealmResource - Class in com.indexdata.torus2
RESTful end-point for the Torus' Realm
RealmResource() - Constructor for class com.indexdata.torus2.RealmResource
 
RealmResponse(String, List<Record.Layer>, int, Date) - Constructor for class com.indexdata.torus2.RealmClient.RealmResponse
 
RealmRWFactory - Class in com.indexdata.torus2.rw
Instantiates suitable realm reader/writer given configuration parameters.
RealmRWFactory() - Constructor for class com.indexdata.torus2.rw.RealmRWFactory
 
Record - Class in com.indexdata.torus2.model
 
Record(String, String) - Constructor for class com.indexdata.torus2.model.Record
 
Record(String, String, Record.Layer) - Constructor for class com.indexdata.torus2.model.Record
 
Record.Layer - Class in com.indexdata.torus2.model
 
Record.Layer.Field - Class in com.indexdata.torus2.model
 
RecordComparator - Class in com.indexdata.torus2.query
Comparator, based on criteria from provided CQLSortNode.
RecordComparator(CQLSortNode, String...) - Constructor for class com.indexdata.torus2.query.RecordComparator
 
remove(K) - Method in class com.indexdata.torus2.util.LRUCache
 
resolveUrl(String) - Method in class com.indexdata.torus2.model.ParentRealm
 
ResultSet - Class in com.indexdata.torus2.model
 
ResultSet(List<Record>, Facets, int, int, Date) - Constructor for class com.indexdata.torus2.model.ResultSet
 
returnDelims - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 
RFC_DATE_FORMAT - Static variable in class com.indexdata.torus2.util.DateUtil
 
rw - Variable in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 

S

sanitizeId(String) - Static method in class com.indexdata.torus2.util.TextHelper
ID's are exposed in various places and used to generate resource URIs.
serialize(Date) - Static method in class com.indexdata.torus2.util.DateUtil
 
serialize(Date, DateUtil.DateTimeFormat) - Static method in class com.indexdata.torus2.util.DateUtil
 
setAutoInherit(ParentRealm.Trilean) - Method in class com.indexdata.torus2.model.ParentRealm
 
setContents(String) - Method in class com.indexdata.torus2.model.Record.Layer.Field
 
setCreated(Date) - Method in class com.indexdata.torus2.model.ParentRealm
 
setCreationDate(Date) - Method in class com.indexdata.torus2.model.Record.Layer
 
setDisabled(boolean) - Method in class com.indexdata.torus2.model.Record.Layer
 
setField(String, String) - Method in class com.indexdata.torus2.model.Record.Layer
 
setFirst(A) - Method in class com.indexdata.torus2.util.Pair
 
setGoneField(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
setId(String) - Method in class com.indexdata.torus2.model.ParentRealm
 
setId(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
setLabel(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
setLastModified(Date) - Method in class com.indexdata.torus2.model.Record.Layer
 
setLastModified(Date) - Method in class com.indexdata.torus2.model.Record
 
setLastRefreshed(Date) - Method in class com.indexdata.torus2.model.ParentRealm
 
setLastUpdated(Date) - Method in class com.indexdata.torus2.model.ParentRealm
 
setLayer(Record.Layer) - Method in class com.indexdata.torus2.model.Record
 
setMatchQuery(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
setName(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
setPriority(int) - Method in class com.indexdata.torus2.model.ParentRealm
 
setRealmName(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
setRefreshAfter(int) - Method in class com.indexdata.torus2.model.ParentRealm
 
setSecond(B) - Method in class com.indexdata.torus2.util.Pair
 
setUniqueChild(Element, String, String) - Static method in class com.indexdata.torus2.util.DOMHelper
Set child text node within the base level, ensure there's no duplicates
setUrl(URL) - Method in class com.indexdata.torus2.model.ParentRealm
 
setWorldId(String) - Method in class com.indexdata.torus2.model.Record.Layer
 
showLayer(String) - Method in class com.indexdata.torus2.model.Record
 
STARTUP_DATE_ATTR - Static variable in class com.indexdata.torus2.StartupListener
 
StartupListener - Class in com.indexdata.torus2
 
StartupListener() - Constructor for class com.indexdata.torus2.StartupListener
 
str - Variable in class com.indexdata.torus2.util.EscapingStringTokenizer
 
surround(String, String) - Static method in class com.indexdata.torus2.query.MatchingUtil
 

T

tag(String) - Method in class com.indexdata.torus2.util.XMLWriter
 
TermMatcher - Interface in com.indexdata.torus2.query.match
 
text(String) - Method in class com.indexdata.torus2.util.XMLWriter
 
TextHelper - Class in com.indexdata.torus2.util
Various, non-reusable string manipulation methods (reusable ones are stored in masterkey-common's TextUtil)
TextHelper() - Constructor for class com.indexdata.torus2.util.TextHelper
 
toDom() - Method in class com.indexdata.torus2.model.Facets
 
toDOM(Element) - Method in class com.indexdata.torus2.model.ParentRealm
 
toDOM(Element) - Method in class com.indexdata.torus2.model.RealmDefinition
 
toDOM(Element, String, String) - Method in class com.indexdata.torus2.model.Record.Layer
 
toDOM(Element) - Method in class com.indexdata.torus2.model.Record
 
toDOM(Element) - Method in interface com.indexdata.torus2.util.DOMSerializable
Serializes object to a DOM Tree and returns the root element for that Tree.
Tokenizer - Class in com.indexdata.torus2.query
 
Tokenizer(String, Tokenizer.TokenizerType) - Constructor for class com.indexdata.torus2.query.Tokenizer
 
Tokenizer.TokenizerType - Enum in com.indexdata.torus2.query
 
toString() - Method in class com.indexdata.torus2.util.Pair
 
toXML(XMLWriter, String) - Method in class com.indexdata.torus2.model.Record.Layer
 
toXML(XMLWriter) - Method in class com.indexdata.torus2.model.Record
 
toXML(XMLWriter) - Method in interface com.indexdata.torus2.util.XMLSerializable
 
TrueMatcher - Class in com.indexdata.torus2.query.match
 
TrueMatcher() - Constructor for class com.indexdata.torus2.query.match.TrueMatcher
 
TypeAwareTermMatcher - Class in com.indexdata.torus2.query.match
 
TypeAwareTermMatcher(CQLTermNode, String) - Constructor for class com.indexdata.torus2.query.match.TypeAwareTermMatcher
 

U

update(RealmDefinition) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
update(RealmDefinition) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
update(RealmDefinition) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Updates realm meta-data.
updateCachedAsOriginal(Record.Layer) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
updateCachedAsOriginal(Record.Layer) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
updateCachedAsOriginal(Record.Layer) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
updateCachedAsOriginal(Record.Layer) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
updateMasterRecord(String, Record) - Method in class com.indexdata.torus2.Realm
 
updateMasterRecord(String, String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
updateParentRealm(String, ParentRealm) - Method in class com.indexdata.torus2.Realm
 
updateParentRealm(String, String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
updateRealm(RealmDefinition, MasterkeyConfiguration, String, String, Date, ExecutorService) - Static method in class com.indexdata.torus2.Realm
 
updateRealm(String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
updateRealmRecord(String, Record) - Method in class com.indexdata.torus2.Realm
 
updateRecord(String, String, InputStream) - Method in class com.indexdata.torus2.RealmResource
 
URIHelper - Class in com.indexdata.torus2.util
 
URIHelper() - Constructor for class com.indexdata.torus2.util.URIHelper
 

V

valueOf(String) - Static method in enum com.indexdata.torus2.model.ParentRealm.Trilean
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.indexdata.torus2.query.Tokenizer.TokenizerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.indexdata.torus2.Realm.LayerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.indexdata.torus2.util.DateUtil.DateTimeFormat
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.indexdata.torus2.model.ParentRealm.Trilean
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.indexdata.torus2.query.Tokenizer.TokenizerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.indexdata.torus2.Realm.LayerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.indexdata.torus2.util.DateUtil.DateTimeFormat
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeMasterRecord(Record.Layer) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeMasterRecord(String, Record.Layer) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeMasterRecord(String, Record.Layer) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeMasterRecord(Record.Layer) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeMasterRecord(String, Record.Layer) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
writeMasterRecord(Record.Layer) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
writeOverrideRecord(String, Record.Layer) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeOverrideRecord(Record.Layer) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeOverrideRecord(String, Record.Layer) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeOverrideRecord(Record.Layer) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeOverrideRecord(String, Record.Layer) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Write data to the existing record.
writeOverrideRecord(Record.Layer) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
The method is to write new record to the record store.
writeParentRealm(String, ParentRealm) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
writeParentRealm(ParentRealm) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
writeParentRealm(String, ParentRealm) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeParentRealm(ParentRealm) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeParentRealm(String, ParentRealm) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeParentRealm(ParentRealm) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeParentRealm(String, ParentRealm) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
writeParentRealm(ParentRealm) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 
writeWorldRecordsForParent(List<Record.Layer>, String) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
writeWorldRecordsForParent(List<Record.Layer>, String, Date) - Method in class com.indexdata.torus2.rw.impl.CachingReaderWriter
 
writeWorldRecordsForParent(List<Record.Layer>, String) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeWorldRecordsForParent(List<Record.Layer>, String, Date) - Method in class com.indexdata.torus2.rw.impl.ProxyReaderWriter
 
writeWorldRecordsForParent(List<Record.Layer>, String) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeWorldRecordsForParent(List<Record.Layer>, String, Date) - Method in class com.indexdata.torus2.rw.impl.RealmFileRW
 
writeWorldRecordsForParent(List<Record.Layer>, String) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
Stores parent records for the given parent, updates each world record with an ID unique to this realm (so world records can be looked up without specifying parent)
writeWorldRecordsForParent(List<Record.Layer>, String, Date) - Method in interface com.indexdata.torus2.rw.RealmReaderWriter
 

X

XMLSerializable - Interface in com.indexdata.torus2.util
 
XMLWriter - Class in com.indexdata.torus2.util
 
XMLWriter(StringBuilder) - Constructor for class com.indexdata.torus2.util.XMLWriter
 
A B C D E F G H I L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2008-2015 Index Data. All Rights Reserved.