| Package | Description |
|---|---|
| org.mmbase.bridge |
The main interface to MMBase, also known as `MMCI' (MMBase Cloud Interface).
|
| org.mmbase.bridge.implementation |
This package provides the basic implementations for the interfaces of org.mmbase.bridge.
|
| org.mmbase.bridge.remote.proxy | |
| org.mmbase.bridge.remote.rmi | |
| org.mmbase.bridge.util |
This package contains several bridge related classes which can be used independently of the
rest of MMBase.
|
| org.mmbase.cache |
The goal of this package is to centralize the MMBase
caches.
|
| org.mmbase.core.util | |
| org.mmbase.module.core |
The core classes for MMBase.
|
| org.mmbase.storage.search |
Provides interfaces for retrieval of data from
SearchQuery objects. |
| org.mmbase.storage.search.implementation | |
| org.mmbase.storage.search.implementation.database | |
| org.mmbase.storage.search.implementation.database.functions | |
| org.mmbase.storage.search.implementation.database.informix.excalibur | |
| org.mmbase.storage.search.legacy |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NodeQuery
A Node-Query is a query that queries node-lists, in contradiction to a normal Query which can
query 'cluster nodes' and even more generally 'result nodes' too.
|
interface |
Query
Representation of a (database) query.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicNodeQuery
'Basic' implementation of bridge NodeQuery.
|
class |
BasicQuery
'Basic' implementation of bridge Query.
|
| Modifier and Type | Method and Description |
|---|---|
SearchQuery |
BasicQuery.unwrap() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Field> |
VirtualNodeManager.getFieldTypes(SearchQuery query,
NodeManager nm) |
| Constructor and Description |
|---|
BasicNodeQuery(Cloud cloud,
SearchQuery q)
Makes a multi-step node-query, based on a normal query.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteNodeQuery_Proxy
RemoteNodeQuery_Proxy in a generated smart proxy of NodeQuery
This smart proxy is used by a local class when the MMCI is called remotely |
class |
RemoteQuery_Proxy
RemoteQuery_Proxy in a generated smart proxy of Query
This smart proxy is used by a local class when the MMCI is called remotely |
class |
RemoteSearchQuery_Proxy
RemoteSearchQuery_Proxy in a generated smart proxy of SearchQuery
This smart proxy is used by a local class when the MMCI is called remotely |
| Modifier and Type | Method and Description |
|---|---|
SearchQuery |
RemoteFieldValueInQueryConstraint_Proxy.getInQuery() |
SearchQuery |
RemoteQuery_Proxy.unwrap() |
SearchQuery |
RemoteSearchQueryWrapper_Proxy.unwrap() |
SearchQuery |
RemoteNodeQuery_Proxy.unwrap() |
| Constructor and Description |
|---|
RemoteSearchQuery_Rmi(SearchQuery originalObject,
int port) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractQueryWrapper<Q extends Query>
Abstract base class for both
QueryWrapper and NodeQueryWrapper. |
class |
NodeQueryWrapper
Implementation of
Query completely based on other instance of that. |
class |
QueryWrapper
Implementation of
Query completely based on other instance of that. |
| Modifier and Type | Method and Description |
|---|---|
SearchQuery |
AbstractQueryWrapper.unwrap() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
ReleaseStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
implement this method to create your own strategy.
|
protected boolean |
BasicReleaseStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ChainedReleaseStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ConstraintsMatchingStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
BetterStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected abstract boolean |
ReleaseStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
implement this method to create your own strategy.
|
protected boolean |
BasicReleaseStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ChainedReleaseStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ConstraintsMatchingStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
BetterStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
ReleaseStrategy.StrategyResult |
ReleaseStrategy.evaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
This method checks if evaluation should happen (active), keeps the time
of the operation and updates the statistics.
|
ReleaseStrategy.StrategyResult |
ReleaseStrategy.evaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected static List<Constraint> |
ReleaseStrategy.getConstraintsForField(String fieldName,
MMObjectBuilder builder,
Constraint constraint,
SearchQuery query)
utility for specializations: get all the constraints in the query that apply to
a certain field
TODO MM: This method is used like this:
if(getConstraintsForField(fieldName, eventBuilder, constraint, query).size() > 0){ return false;}
IOW, only the size of the return list is used, and then even whether it is 0 or not. |
protected static List<SortOrder> |
ReleaseStrategy.getSortordersForField(String fieldName,
MMObjectBuilder builder,
List<SortOrder> sortOrders,
SearchQuery query)
utility for specializations: get all the sortorders in the query that apply to
a certain field
TODO MM: See remark at
ReleaseStrategy.getConstraintsForField(java.lang.String, org.mmbase.module.core.MMObjectBuilder, org.mmbase.storage.search.Constraint, org.mmbase.storage.search.SearchQuery) |
List<MMObjectNode> |
QueryResultCache.put(SearchQuery query,
List<MMObjectNode> queryResult)
Puts a search result in this cache.
|
| Modifier and Type | Method and Description |
|---|---|
int |
StorageConnector.count(SearchQuery query)
Counts number of nodes matching a specified constraint.
|
protected QueryResultCache |
StorageConnector.getCache(SearchQuery query)
Returns the Cache which should be used for the result of a certain query.
|
List<MMObjectNode> |
StorageConnector.getNodes(SearchQuery query)
Returns nodes matching a specified constraint.
|
List<MMObjectNode> |
StorageConnector.getNodes(SearchQuery query,
boolean useCache)
Returns nodes matching a specified constraint.
|
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
ClusterBuilder.getClusterNodes(SearchQuery query)
Executes query, returns results as
clusternodes or MMObjectNodes if the
query is a Node-query. |
List<MMObjectNode> |
ClusterBuilder.getClusterNodesFromQueryHandler(SearchQuery query)
Executes query, returns results as
clusternodes or MMObjectNodes if the
query is a Node-query. |
| Modifier and Type | Method and Description |
|---|---|
SearchQuery |
FieldValueInQueryConstraint.getInQuery() |
SearchQuery |
SearchQueryWrapper.unwrap() |
| Modifier and Type | Method and Description |
|---|---|
String |
SearchQueryHandler.createSqlString(SearchQuery query)
Makes a String of a query, taking into consideration if the database supports offset and
maxnumber features.
|
List<MMObjectNode> |
SearchQueryHandler.getNodes(SearchQuery query,
MMObjectBuilder builder)
Processes a search query, returns the result as a list of nodes.
|
int |
SearchQueryHandler.getSupportLevel(Constraint constraint,
SearchQuery query)
Gets the level at which a constraint is supported for a query
by this handler.
|
int |
SearchQueryHandler.getSupportLevel(int feature,
SearchQuery query)
Gets the level at which a feature is supported for a query
by this handler.
|
| Constructor and Description |
|---|
ResultBuilder(MMBase mmbase,
SearchQuery q)
Creator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicSearchQuery
Basic implementation.
|
class |
ModifiableQuery
A
ModifiedQuery enables a modifiable lightweight copy of a
SearchQuery to be created
by wrapping the original query. |
class |
NodeSearchQuery
A
NodeSearchQuery implements a SearchQuery
that retrieves nodes of one specified nodetype. |
| Modifier and Type | Method and Description |
|---|---|
SearchQuery |
BasicFieldValueInQueryConstraint.getInQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected static Constraint |
BasicSearchQuery.copyConstraint(SearchQuery q,
Constraint c)
Used by copy-constructor.
|
protected void |
BasicSearchQuery.copyFields(SearchQuery q) |
protected void |
NodeSearchQuery.copyFields(SearchQuery q) |
protected void |
BasicSearchQuery.copySortOrders(SearchQuery q) |
protected void |
BasicSearchQuery.copySteps(SearchQuery q) |
protected void |
NodeSearchQuery.copySteps(SearchQuery q) |
protected static StepField |
BasicSearchQuery.createNewStepField(SearchQuery q,
StepField f)
Creates a new StepField like f for query q.
|
| Constructor and Description |
|---|
BasicFieldValueInQueryConstraint(StepField field,
SearchQuery q)
Constructor.
|
BasicSearchQuery(SearchQuery q)
A deep copy.
|
BasicSearchQuery(SearchQuery q,
int copyMethod)
A deep copy, but sets also aggregating, and clear fields if aggregating is true then.
|
ModifiableQuery(SearchQuery query)
Creates a new instance of ModifiedQuery
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicSqlHandler.appendCompositeConstraintToSql(StringBuilder sb,
CompositeConstraint compositeConstraint,
SearchQuery query,
boolean inverse,
boolean inComposite,
SqlHandler firstInChain)
Represents a CompositeConstraint object as a constraint in SQL format,
appending the result to a stringbuffer.
|
void |
ChainedSqlHandler.appendConstraintToSql(StringBuilder sb,
Constraint constraint,
SearchQuery query,
boolean inverse,
boolean inComposite) |
void |
SqlHandler.appendConstraintToSql(StringBuilder sb,
Constraint constraint,
SearchQuery query,
boolean inverse,
boolean inComposite)
Represents Constraint object, that is not a CompositeConstraint,
as a constraint in SQL format, appending the result to a stringbuffer.
|
void |
BasicSqlHandler.appendConstraintToSql(StringBuilder sb,
Constraint constraint,
SearchQuery query,
boolean inverse,
boolean inComposite) |
void |
ChainedSqlHandler.appendQueryBodyToSql(StringBuilder sb,
SearchQuery query,
SqlHandler firstInChain) |
void |
InformixSqlHandler.appendQueryBodyToSql(StringBuilder sb,
SearchQuery query,
SqlHandler firstInChain) |
void |
SqlHandler.appendQueryBodyToSql(StringBuilder sb,
SearchQuery query,
SqlHandler firstInChain)
Represents body of a SearchQuery object as a string in SQL format,
using the database configuration.
|
void |
BasicSqlHandler.appendQueryBodyToSql(StringBuilder sb,
SearchQuery query,
SqlHandler firstInChain) |
protected StringBuilder |
PostgreSqlSqlHandler.appendSortOrderField(StringBuilder sb,
SortOrder sortOrder,
boolean multipleSteps,
SearchQuery query)
Normally, Postgresql does not sort case senstively, so we should not sort on
UPPER(fieldname).
|
protected StringBuilder |
BasicSqlHandler.appendSortOrderField(StringBuilder sb,
SortOrder sortOrder,
boolean multipleSteps,
SearchQuery query) |
protected StringBuilder |
BasicSqlHandler.appendSortOrders(StringBuilder sb,
SearchQuery query) |
String |
BasicQueryHandler.createSqlString(SearchQuery query)
Makes a String of a query, taking into consideration if the database supports offset and
maxnumber features.
|
List<MMObjectNode> |
BasicQueryHandler.getNodes(SearchQuery query,
MMObjectBuilder builder) |
int |
ChainedSqlHandler.getSupportLevel(Constraint constraint,
SearchQuery query) |
int |
BasicQueryHandler.getSupportLevel(Constraint constraint,
SearchQuery query) |
int |
SqlHandler.getSupportLevel(Constraint constraint,
SearchQuery query)
Gets the level at which a constraint is supported for a query
by this handler.
|
int |
BasicSqlHandler.getSupportLevel(Constraint constraint,
SearchQuery query) |
int |
ChainedSqlHandler.getSupportLevel(int feature,
SearchQuery query) |
int |
InformixSqlHandler.getSupportLevel(int feature,
SearchQuery query) |
int |
HSqlSqlHandler.getSupportLevel(int feature,
SearchQuery query) |
int |
MySqlSqlHandler.getSupportLevel(int feature,
SearchQuery query) |
int |
BasicQueryHandler.getSupportLevel(int feature,
SearchQuery query) |
int |
SqlHandler.getSupportLevel(int feature,
SearchQuery query)
Gets the level at which a feature is supported for a query
by this handler.
|
int |
PostgreSqlSqlHandler.getSupportLevel(int feature,
SearchQuery query) |
int |
BasicSqlHandler.getSupportLevel(int feature,
SearchQuery query) |
String |
ChainedSqlHandler.toSql(SearchQuery query,
SqlHandler firstInChain) |
String |
InformixSqlHandler.toSql(SearchQuery query,
SqlHandler firstInChain) |
String |
HSqlSqlHandler.toSql(SearchQuery query,
SqlHandler firstInChain) |
String |
MySqlSqlHandler.toSql(SearchQuery query,
SqlHandler firstInChain) |
String |
SqlHandler.toSql(SearchQuery query,
SqlHandler firstInChain)
Represents a SearchQuery object as a string in SQL format,
using the database configuration.
|
String |
PostgreSqlSqlHandler.toSql(SearchQuery query,
SqlHandler firstInChain) |
String |
BasicSqlHandler.toSql(SearchQuery query,
SqlHandler firstInChain) |
| Modifier and Type | Method and Description |
|---|---|
void |
FunctionSqlHandler.appendConstraintToSql(StringBuilder sb,
Constraint constraint,
SearchQuery query,
boolean inverse,
boolean inComposite) |
| Modifier and Type | Method and Description |
|---|---|
void |
EtxSqlHandler.appendConstraintToSql(StringBuilder sb,
Constraint constraint,
SearchQuery query,
boolean inverse,
boolean inComposite) |
int |
EtxSqlHandler.getSupportLevel(Constraint constraint,
SearchQuery query) |
int |
EtxSqlHandler.getSupportLevel(int feature,
SearchQuery query) |
protected boolean |
EtxSqlHandler.hasAdditionalConstraints(SearchQuery query)
Tests if the query contains additional constraints, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static StepField |
ConstraintParser.getField(String token,
List<BasicStep> steps,
SearchQuery query)
Creates
StepField corresponding to field indicated by
token, of one of the specified steps. |
| Constructor and Description |
|---|
ConstraintParser(SearchQuery query)
Creates a new instance of ConstraintParser
|
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}