static final class JSONPathFilter.SegmentFilter extends JSONPathFilter
JSONPathFilter.EndsWithSegment, JSONPathFilter.GroupFilter, JSONPathFilter.NameArrayOpSegment, JSONPathFilter.NameDecimalOpSegment, JSONPathFilter.NameDoubleOpSegment, JSONPathFilter.NameExistsFilter, JSONPathFilter.NameFilter, JSONPathFilter.NameIntBetweenSegment, JSONPathFilter.NameIntInSegment, JSONPathFilter.NameIntOpSegment, JSONPathFilter.NameIsNull, JSONPathFilter.NameLongContainsSegment, JSONPathFilter.NameMatchFilter, JSONPathFilter.NameName, JSONPathFilter.NameObjectOpSegment, JSONPathFilter.NameRLikeSegment, JSONPathFilter.NamesExistsFilter, JSONPathFilter.NameStringContainsSegment, JSONPathFilter.NameStringInSegment, JSONPathFilter.NameStringOpSegment, JSONPathFilter.NameSubFilterSegment, JSONPathFilter.Operator, JSONPathFilter.RangeIndexSegmentFilter, JSONPathFilter.Segment2Filter, JSONPathFilter.SegmentFilter, JSONPathFilter.StartsWithSegmentJSONPathSegment.AllSegment, JSONPathSegment.CycleNameSegment, JSONPathSegment.EntrySetSegment, JSONPathSegment.EvalSegment, JSONPathSegment.KeysSegment, JSONPathSegment.LengthSegment, JSONPathSegment.MaxSegment, JSONPathSegment.MinSegment, JSONPathSegment.MultiIndexSegment, JSONPathSegment.MultiNameSegment, JSONPathSegment.RandomIndexSegment, JSONPathSegment.RangeIndexSegment, JSONPathSegment.RootSegment, JSONPathSegment.SelfSegment, JSONPathSegment.SumSegment, JSONPathSegment.ValuesSegment| Modifier and Type | Field and Description |
|---|---|
(package private) JSONPathSegment |
expr |
(package private) JSONPathFilter.Operator |
operator |
(package private) java.lang.Object |
value |
| Constructor and Description |
|---|
SegmentFilter(JSONPathSegment expr,
JSONPathFilter.Operator operator,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(JSONReader jsonReader,
JSONPath.Context context) |
(package private) boolean |
apply(JSONPath.Context context,
java.lang.Object object) |
void |
eval(JSONPath.Context context) |
boolean |
remove(JSONPath.Context context) |
void |
set(JSONPath.Context context,
java.lang.Object value) |
isAnd, setAndcontains, setCallback, setInt, setLongfinal JSONPathSegment expr
final JSONPathFilter.Operator operator
final java.lang.Object value
public SegmentFilter(JSONPathSegment expr, JSONPathFilter.Operator operator, java.lang.Object value)
boolean apply(JSONPath.Context context, java.lang.Object object)
apply in class JSONPathFilterpublic void accept(JSONReader jsonReader, JSONPath.Context context)
accept in class JSONPathSegmentpublic void eval(JSONPath.Context context)
eval in class JSONPathSegmentpublic boolean remove(JSONPath.Context context)
remove in class JSONPathSegmentpublic void set(JSONPath.Context context, java.lang.Object value)
set in class JSONPathSegment