public interface AggregateRule
AggregateRule
defines a configuration for a node index
aggregate. It defines rules for items that should be included in the node
scope index of an ancestor. Per default the values of properties are only
added to the node scope index of the parent node.Modifier and Type | Method and Description |
---|---|
NodeState[] |
getAggregatedNodeStates(NodeState nodeState)
Returns the node states that are part of the indexing aggregate of the
nodeState . |
PropertyState[] |
getAggregatedPropertyStates(NodeState nodeState)
Returns the property states that are part of the indexing aggregate of
the
nodeState . |
NodeState |
getAggregateRoot(NodeState nodeState)
Returns root node state for the indexing aggregate where
nodeState belongs to. |
long |
getRecursiveAggregationLimit()
recursive aggregation (for same type nodes) limit.
|
NodeState getAggregateRoot(NodeState nodeState) throws ItemStateException, RepositoryException
nodeState
belongs to.nodeState
- null
if nodeState
does not belong to an
indexing aggregate.ItemStateException
- if an error occurs.RepositoryException
- if an error occurs.long getRecursiveAggregationLimit()
NodeState[] getAggregatedNodeStates(NodeState nodeState) throws ItemStateException
nodeState
.nodeState
- a node statenodeState
. Returns null
if this
aggregate does not apply to nodeState
.ItemStateException
- if an error occurs.PropertyState[] getAggregatedPropertyStates(NodeState nodeState) throws ItemStateException
nodeState
.nodeState
- a node statenodeState
. Returns null
if this
aggregate does not apply to nodeState
.ItemStateException
- if an error occurs.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.