Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.lucene |
The core query engine, which currently uses Lucene for indexing and raw queries, and
the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA)
for updating and querying the Lucene indexes.
|
Modifier and Type | Class and Description |
---|---|
protected class |
JcrSession.SystemSessionCache |
Modifier and Type | Method and Description |
---|---|
protected NodeCache |
JcrRepository.workspaceCache(String workspaceName) |
Modifier and Type | Method and Description |
---|---|
void |
JcrSession.JcrPreSave.processAfterLocking(MutableCachedNode modifiedNode,
SessionCache.SaveContext context,
NodeCache persistentNodeCache) |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionCache |
Modifier and Type | Class and Description |
---|---|
class |
SessionCacheWrapper
A
SessionCache implementation that wraps another and is suitable to extend and overwrite only those methods that are
required. |
Modifier and Type | Field and Description |
---|---|
protected NodeCache |
AllPathsCache.cache |
protected NodeCache |
AllPathsCache.removedCache |
Modifier and Type | Method and Description |
---|---|
NodeCache |
PathCache.getCache() |
NodeCache |
AllPathsCache.getCache() |
NodeCache |
SessionCacheWrapper.getWorkspace() |
NodeCache |
SessionCache.getWorkspace()
Get the cache the reflects the workspace content, without any of the transient, unsaved changes of this session.
|
NodeCache |
NodeCache.unwrap()
Unwrap this instance.
|
Modifier and Type | Method and Description |
---|---|
protected Set<NodeKey> |
AllPathsCache.getAdditionalParentKeys(CachedNode node,
NodeCache cache) |
Set<NodeKey> |
CachedNode.getAdditionalParentKeys(NodeCache cache)
Get the keys for all of the nodes (other than the
primary parent ) under which this node
appears. |
ChildReferences |
CachedNode.getChildReferences(NodeCache cache)
Get the set of child references for this node.
|
Set<Name> |
CachedNode.getMixinTypes(NodeCache cache)
Get the set of mixin types for this node.
|
Name |
CachedNode.getName(NodeCache cache)
Get the name for this node, without any same-name-sibiling (SNS) index.
|
NodeKey |
CachedNode.getParentKey(NodeCache cache)
Get the node key for this node's primary parent within this workspace.
|
NodeKey |
CachedNode.getParentKeyInAnyWorkspace(NodeCache cache)
Get the node key for this node's primary parent in any workspace.
|
Path |
CachedNode.getPath(NodeCache cache)
Get the path to this node.
|
PathCache |
RepositoryPathCache.getPathCache(String workspaceName,
NodeCache nodeCacheForWorkspace) |
Name |
CachedNode.getPrimaryType(NodeCache cache)
Get the primary type for this node.
|
Iterator<Property> |
CachedNode.getProperties(Collection<?> namePatterns,
NodeCache cache)
Get an iterator over all of the properties of this node that have names matching at least one of the supplied patterns.
|
Iterator<Property> |
CachedNode.getProperties(NodeCache cache)
Get an iterator over all of the node's properties.
|
Property |
CachedNode.getProperty(Name name,
NodeCache cache)
Get the property with the given name.
|
int |
CachedNode.getPropertyCount(NodeCache cache)
Determine the number of properties that this node contains.
|
Set<NodeKey> |
CachedNode.getReferrers(NodeCache cache,
CachedNode.ReferenceType type)
Get the keys of the nodes that have JCR REFERENCE and/or WEAK_REFERENCE properties pointing to this node.
|
Path.Segment |
CachedNode.getSegment(NodeCache cache)
Get the path segment for this node.
|
boolean |
CachedNode.hasProperties(NodeCache cache)
Determine if the node contains one or more properties.
|
boolean |
CachedNode.hasProperty(Name name,
NodeCache cache)
Determine if the node contains a property with the specified name.
|
boolean |
CachedNode.isAtOrBelow(NodeCache cache,
Path path)
Determine if this node is effectively at or below the supplied path.
|
boolean |
CachedNode.isQueryable(NodeCache cache)
Determine if this node should be indexed and therefore available for querying.
|
void |
SessionCache.PreSave.processAfterLocking(MutableCachedNode modifiedNode,
SessionCache.SaveContext context,
NodeCache persistentNodeCache)
Process the supplied existing node prior to saving the changes but only after the entry corresponding to the key of the
node has been locked in Infinispan.
|
Constructor and Description |
---|
AllPathsCache(NodeCache cache,
NodeCache removedCache,
ExecutionContext context) |
AllPathsCache(NodeCache cache,
NodeCache removedCache,
PathFactory pathFactory) |
PathCache(NodeCache cache) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentCache |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSessionCache |
class |
ReadOnlySessionCache
A read-only
SessionCache implementation. |
class |
TransactionalWorkspaceCache
A special WorkspaceCache implementation that should be used by sessions running within user transactions.
|
class |
WorkspaceCache
A
NodeCache implementation that uses Infinispan's SchematicDb for storage, with each node represented as a
single Document . |
class |
WritableSessionCache
A writable
SessionCache implementation capable of making transient changes and saving them. |
Modifier and Type | Method and Description |
---|---|
NodeCache |
AbstractSessionCache.getWorkspace() |
NodeCache |
WorkspaceCache.unwrap() |
Constructor and Description |
---|
NodeCacheIterator(NodeCache cache,
NodeKey startingNode) |
Modifier and Type | Method and Description |
---|---|
NodeCache |
QueryContext.getNodeCache(String workspaceName)
Get the NodeCache for the given workspace name.
|
Constructor and Description |
---|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
PlanHints hints,
Problems problems,
Map<String,Object> variables)
Create a new context for query execution.
|
Modifier and Type | Method and Description |
---|---|
CancellableQuery |
LuceneQueryEngine.query(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
QueryCommand query,
Schemata schemata,
PlanHints hints,
Map<String,Object> variables)
Execute the supplied query against the named workspace, using the supplied hints, schemata and variables.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.