public abstract static class KeyFilter.Term extends Object
Specifies criteria for selecting one segment of a Key
value.
This abstract class has three concrete subclasses,
SimpleTerm
, RangeTerm
and OrTerm
as described for KeyFilter
.
Use the static factory methods KeyFilter.simpleTerm(Object)
,
KeyFilter.rangeTerm(Object, Object)
,
KeyFilter.rangeTerm(Object, Object, CoderContext)
,
KeyFilter.rangeTerm(Object, Object, boolean, boolean)
,
KeyFilter.rangeTerm(Object, Object, boolean, boolean, CoderContext)
, and KeyFilter.orTerm(com.persistit.KeyFilter.Term[])
to create instances of Term
.
Modifier and Type | Field and Description |
---|---|
protected int |
_hashCode |
Constructor and Description |
---|
Term() |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string
representation of this
Term . |
String |
toString(CoderContext context)
|
public String toString()
Term
.public String toString(CoderContext context)
Term
using the supplied
context
. The context
is used only if the
segment value for a SimpleTerm
, or values for a
RangeTerm
are members of a class with a registered
KeyCoder
the uses a
CoderContext
.context
- A CoderContext
that will be passed to any
registered KeyCoder
used in
decoding the value or values representing end-points in
this Term
. May be null
.Copyright © 2025 Open Identity Platform Community. All rights reserved.