|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.BitHelper
com.tangosol.util.ExternalizableHelper
com.tangosol.util.filter.ArrayFilter
com.tangosol.util.filter.AllFilter
com.tangosol.util.filter.AndFilter
com.tangosol.util.filter.BetweenFilter
public class BetweenFilter
Filter which compares the result of a method invocation with a value for "Between" condition. We use the standard ISO/IEC 9075:1992 semantic, according to which "X between Y and Z" is equivalent to "X >= Y && X <= Z". In a case when either result of a method invocation or a value to compare are equal to null, the evaluate test yields false. This approach is equivalent to the way the NULL values are handled by SQL.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tangosol.util.filter.ArrayFilter |
|---|
ArrayFilter.WeightedFilter |
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.filter.ArrayFilter |
|---|
m_aFilter |
| Constructor Summary | |
|---|---|
BetweenFilter()
Default constructor (necessary for the ExternalizableLite interface). |
|
BetweenFilter(String sMethod,
Comparable oFrom,
Comparable oTo)
Construct a BetweenFilter for testing "Between" condition. |
|
BetweenFilter(String sMethod,
double dFrom,
double dTo)
Construct a BetweenFilter for testing "Between" condition. |
|
BetweenFilter(String sMethod,
float fFrom,
float fTo)
Construct a BetweenFilter for testing "Between" condition. |
|
BetweenFilter(String sMethod,
int iFrom,
int iTo)
Construct a BetweenFilter for testing "Between" condition. |
|
BetweenFilter(String sMethod,
long lFrom,
long lTo)
Construct a BetweenFilter for testing "Between" condition. |
|
BetweenFilter(ValueExtractor extractor,
Comparable oFrom,
Comparable oTo)
Construct a BetweenFilter for testing "Between" condition. |
|
| Method Summary |
|---|
| Methods inherited from class com.tangosol.util.filter.AllFilter |
|---|
applyIndex, calculateEffectiveness, evaluate, evaluateEntry |
| Methods inherited from class com.tangosol.util.filter.ArrayFilter |
|---|
applyFilter, calculateFilters, equals, getFilters, hashCode, readExternal, readExternal, toString, writeExternal, writeExternal |
| Methods inherited from class com.tangosol.util.BitHelper |
|---|
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, toBitString, toBitString, toBitString |
| Constructor Detail |
|---|
public BetweenFilter()
public BetweenFilter(String sMethod,
Comparable oFrom,
Comparable oTo)
sMethod - the name of the method to invoke via reflectionoFrom - the object to compare the "Greater or Equals" boundary
withoTo - the object to compare the "Less or Equals" boundary
with
public BetweenFilter(ValueExtractor extractor,
Comparable oFrom,
Comparable oTo)
extractor - the ValueExtractor to use by this filteroFrom - the object to compare the "Greater or Equals"
boundary withoTo - the object to compare the "Less or Equals" boundary
with
public BetweenFilter(String sMethod,
int iFrom,
int iTo)
sMethod - the name of the method to invoke via reflectioniFrom - the integer value to compare the "Greater or Equals"
boundary withiTo - the integer value to compare the "Less or Equals"
boundary with
public BetweenFilter(String sMethod,
long lFrom,
long lTo)
sMethod - the name of the method to invoke via reflectionlFrom - the long value to compare the "Greater or Equals"
boundary withlTo - the long value to compare the "Less or Equals" boundary
with
public BetweenFilter(String sMethod,
float fFrom,
float fTo)
sMethod - the name of the method to invoke via reflectionfFrom - the float value to compare the "Greater or Equals"
boundary withfTo - the float value to compare the "Less or Equals"
boundary with
public BetweenFilter(String sMethod,
double dFrom,
double dTo)
sMethod - the name of the method to invoke via reflectiondFrom - the double value to compare the "Greater or Equals"
boundary withdTo - the double value to compare the "Less or Equals"
boundary with
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||