@Override public boolean hasFullValuePrecision( IndexQuery... predicates ) { return actual.hasFullValuePrecision( predicates ); }
@Override public boolean hasFullValuePrecision( IndexQuery... predicates ) { return delegate.hasFullValuePrecision( predicates ); }
private LongIterator queryIndexOrEmpty( IndexReader reader, IndexQuery[] query ) { final LongIterator indexedNodeIds; try { indexedNodeIds = reader.query( query ); } catch ( IndexNotApplicableKernelException e ) { throw new RuntimeException( format( "Consistency checking error: index provider does not support exact query %s", Arrays.toString( query ) ), e ); } return reader.hasFullValuePrecision( query ) ? indexedNodeIds : LookupFilter.exactIndexMatches( propertyReader, indexedNodeIds, query ); }
@Override public boolean hasFullValuePrecision( IndexQuery... predicates ) { IndexSlot slot = slotSelector.selectSlot( predicates, IndexQuery::valueGroup ); if ( slot != null ) { return instanceSelector.select( slot ).hasFullValuePrecision( predicates ); } else { // UNKNOWN slot which basically means the EXISTS predicate if ( !(predicates.length == 1 && predicates[0] instanceof ExistsPredicate) ) { throw new IllegalStateException( "Selected IndexReader null for predicates " + Arrays.toString( predicates ) ); } return true; } } }
if ( !reader.hasFullValuePrecision( query ) ) if ( ( valueGroup == NUMBER || valueGroup == GEOMETRY) && !reader.hasFullValuePrecision( q ) ) if ( value.valueGroup() == ValueGroup.NUMBER || Values.isArrayValue( value ) || value.valueGroup() == ValueGroup.GEOMETRY ) if ( !reader.hasFullValuePrecision( q ) )
@Override public boolean hasFullValuePrecision( IndexQuery... predicates ) { IndexSlot slot = slotSelector.selectSlot( predicates, IndexQuery::valueGroup ); if ( slot != null ) { return instanceSelector.select( slot ).hasFullValuePrecision( predicates ); } else { // UNKNOWN slot which basically means the EXISTS predicate if ( !(predicates.length == 1 && predicates[0] instanceof ExistsPredicate) ) { throw new IllegalStateException( "Selected IndexReader null for predicates " + Arrays.toString( predicates ) ); } return true; } } }
if ( !reader.hasFullValuePrecision( query ) ) if ( ( valueGroup == NUMBER || valueGroup == GEOMETRY) && !reader.hasFullValuePrecision( q ) ) if ( value.valueGroup() == ValueGroup.NUMBER || Values.isArrayValue( value ) || value.valueGroup() == ValueGroup.GEOMETRY ) if ( !reader.hasFullValuePrecision( q ) )