Interface RuntimeShapeInspector
-
public interface RuntimeShapeInspector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvisit(String flagName, boolean flagValue)voidvisit(String fieldName, Object value)voidvisit(String key, String runtimeShape)To be called fromHotLoopCallee.inspectRuntimeShape(RuntimeShapeInspector)with something, that is important to ensure monomorphism and predictable branch taking in hot loops, but doesn't apply to other visit() methods in RuntimeShapeInspector.voidvisit(String fieldName, HotLoopCallee value)<T> voidvisit(String fieldName, T[] values)
-
-
-
Method Detail
-
visit
void visit(String fieldName, @Nullable HotLoopCallee value)
-
visit
<T> void visit(String fieldName, T[] values)
-
visit
void visit(String flagName, boolean flagValue)
-
visit
void visit(String key, String runtimeShape)
To be called fromHotLoopCallee.inspectRuntimeShape(RuntimeShapeInspector)with something, that is important to ensure monomorphism and predictable branch taking in hot loops, but doesn't apply to other visit() methods in RuntimeShapeInspector. For example,BitmapOffset.inspectRuntimeShape(org.apache.druid.query.monomorphicprocessing.RuntimeShapeInspector)reports bitmap population via this method, to ensure predictable branch taking inside Bitmap's iterators.
-
-