Package | Description |
---|---|
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.engine |
This package contains several fully-functional query engine implementations.
|
org.modeshape.jcr.query.engine.process |
When executing a query, the processing phase involves "running" each branch in the optimized query plan, determining
the set of nodes that satisfies each branch, and then joining each branch into a single result.
|
Modifier and Type | Field and Description |
---|---|
protected BufferManager |
QueryContext.bufferManager |
Modifier and Type | Method and Description |
---|---|
BufferManager |
QueryContext.getBufferManager() |
BufferManager |
JcrQueryContext.getBufferManager()
Get the buffer manager.
|
Modifier and Type | Method and Description |
---|---|
QueryContext |
QueryEngine.createQueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Map<String,Object> variables)
Create a new context for query execution.
|
org.mapdb.Serializer<T> |
Tuples.TupleFactory.getSerializer(BufferManager bufferMgr) |
org.mapdb.Serializer<Tuples.Tuple2<T1,T2>> |
Tuples.Tuple2TypeFactory.getSerializer(BufferManager bufferMgr) |
org.mapdb.Serializer<Tuples.Tuple3<T1,T2,T3>> |
Tuples.Tuple3TypeFactory.getSerializer(BufferManager bufferMgr) |
org.mapdb.Serializer<Tuples.Tuple4<T1,T2,T3,T4>> |
Tuples.Tuple4TypeFactory.getSerializer(BufferManager bufferMgr) |
org.mapdb.Serializer<Tuples.TupleN> |
Tuples.TupleNTypeFactory.getSerializer(BufferManager bufferMgr) |
Constructor and Description |
---|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems,
Map<String,Object> variables)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems,
Map<String,Object> variables,
long id)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems)
Create a new context for query execution.
|
Modifier and Type | Method and Description |
---|---|
QueryContext |
ScanningQueryEngine.createQueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Map<String,Object> variables) |
Constructor and Description |
---|
AbstractNodeKeysSequence(String workspaceName,
NodeSequence leftSequence,
NodeSequence rightSequence,
TypeSystem types,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean pack,
boolean useHeap) |
BufferingSequence(String workspaceName,
NodeSequence delegate,
RowExtractors.ExtractFromRow extractor,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean pack,
boolean useHeap,
boolean allowDuplicates) |
CountableSequence(String workspaceName,
NodeSequence original,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean useHeap) |
DistinctSequence(NodeSequence delegate,
TypeSystem types,
BufferManager bufferMgr,
boolean useHeap)
Create a new distinct sequence given the type system and buffer manager.
|
ExceptSequence(String workspaceName,
NodeSequence leftSequence,
NodeSequence rightSequence,
TypeSystem types,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean pack,
boolean useHeap) |
HashJoinSequence(String workspaceName,
NodeSequence left,
NodeSequence right,
RowExtractors.ExtractFromRow leftExtractor,
RowExtractors.ExtractFromRow rightExtractor,
JoinType joinType,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
JoinSequence.RangeProducer<?> rangeProducer,
boolean pack,
boolean useHeap) |
IntersectSequence(String workspaceName,
NodeSequence leftSequence,
NodeSequence rightSequence,
TypeSystem types,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean pack,
boolean useHeap) |
JoinSequence(String workspaceName,
NodeSequence left,
NodeSequence right,
RowExtractors.ExtractFromRow leftExtractor,
RowExtractors.ExtractFromRow rightExtractor,
JoinType joinType,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean pack,
boolean useHeap,
boolean allowDuplicates) |
PartialMemoryCountableSequence(String workspaceName,
NodeSequence original,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
int numRowsInMemory) |
QueueBufferSupplier(BufferManager bufferMgr) |
RestartableSequence(String workspaceName,
NodeSequence original,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
int numRowsInMemory) |
SortingSequence(String workspaceName,
NodeSequence delegate,
RowExtractors.ExtractFromRow extractor,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean pack,
boolean useHeap,
boolean allowDuplicates,
NullOrder nullOrder) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.