private boolean acceptByStoreFiltering( long reference, int storeLookups, Value[] values ) { // Initialize the property cursor scan read.singleNode( reference, node ); if ( !node.next() ) { // This node doesn't exist, therefore it cannot be accepted property.close(); return false; } node.properties( property ); while ( storeLookups > 0 && property.next() ) { for ( int i = 0; i < filters.length; i++ ) { IndexQuery filter = filters[i]; if ( filter != null && (values == null || values[i] == NO_VALUE) && property.propertyKey() == filter.propertyKeyId() ) { if ( !filter.acceptsValueAt( property ) ) { return false; } storeLookups--; } } } return storeLookups == 0; }
propertyCursor.close();
propertyCursor.close();
private boolean acceptByStoreFiltering( long reference, int storeLookups, Value[] values ) { // Initialize the property cursor scan read.singleNode( reference, node ); if ( !node.next() ) { // This node doesn't exist, therefore it cannot be accepted property.close(); return false; } node.properties( property ); while ( storeLookups > 0 && property.next() ) { for ( int i = 0; i < filters.length; i++ ) { IndexQuery filter = filters[i]; if ( filter != null && (values == null || values[i] == NO_VALUE) && property.propertyKey() == filter.propertyKeyId() ) { if ( !filter.acceptsValueAt( property ) ) { return false; } storeLookups--; } } } return storeLookups == 0; }
propertyCursor.close();
propertyCursor.close();