com.neeve.query.index
Interface IdxFieldPredicate<RECORD,T>

All Superinterfaces:
com.google.common.base.Predicate<RECORD>

public interface IdxFieldPredicate<RECORD,T>
extends Predicate<RECORD>

An IdxField predicate is evaluated against a given field.


Method Summary
 boolean applyToSubject(T value)
          Applies the predicate to a field value directly.
 IdxField<RECORD,T> getField()
          Gets the field corresponding to this predicate
 
Methods inherited from interface com.neeve.query.predicates.Predicate
and, and, getCost, or, or
 
Methods inherited from interface com.google.common.base.Predicate
apply, equals
 

Method Detail

getField

IdxField<RECORD,T> getField()
Gets the field corresponding to this predicate

Returns:
the field corresponding to this predicate

applyToSubject

boolean applyToSubject(T value)
Applies the predicate to a field value directly.

Parameters:
value - The value to test.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.