* expression.
*/
final ArrayList children = node.getChildren();
for ( int ii = 0; ii < children.size(); ii++ )
{
ExprNode child = ( ExprNode ) children.get( ii );
value = ( ( BigInteger ) child.get( "count" ) ).intValue();
minValue = Math.min( minValue, value );
if ( minValue == value )
{
minIndex = ii;
}
}
// Once found we build the child enumeration & the wrapping enum
final ExprNode minChild = ( ExprNode ) children.get( minIndex );
IndexAssertion assertion = new IndexAssertion()
{
public boolean assertCandidate( IndexRecord rec ) throws NamingException
{
for ( int ii = 0; ii < children.size(); ii++ )
{
ExprNode child = ( ExprNode ) children.get( ii );
// Skip the child (with min scan count) chosen for enum
if ( child == minChild )
{
continue;