Package io.zeebe.msgpack.filter
Class ArrayIndexFilter
- java.lang.Object
-
- io.zeebe.msgpack.filter.ArrayIndexFilter
-
- All Implemented Interfaces:
MsgPackFilter
public final class ArrayIndexFilter extends Object implements MsgPackFilter
-
-
Constructor Summary
Constructors Constructor Description ArrayIndexFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidencodeDynamicContext(org.agrona.MutableDirectBuffer contextBuffer, int arrayIndex)booleanmatches(MsgPackTraversalContext ctx, org.agrona.DirectBuffer filterContext, MsgPackToken value)If the context has elements, the cursor is guaranteed to be on the last element when this method is invoked.
-
-
-
Method Detail
-
matches
public boolean matches(MsgPackTraversalContext ctx, org.agrona.DirectBuffer filterContext, MsgPackToken value)
Description copied from interface:MsgPackFilterIf the context has elements, the cursor is guaranteed to be on the last element when this method is invoked.- Specified by:
matchesin interfaceMsgPackFilter
-
encodeDynamicContext
public static void encodeDynamicContext(org.agrona.MutableDirectBuffer contextBuffer, int arrayIndex)
-
-