Interface RuntimeShapeInspector
-
public interface RuntimeShapeInspector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visit(String flagName, boolean flagValue)
void
visit(String fieldName, Object value)
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.void
visit(String fieldName, HotLoopCallee value)
<T> void
visit(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.
-
-