Interface SettableColumnValueSelector<T>
-
- All Superinterfaces:
BaseDoubleColumnValueSelector
,BaseFloatColumnValueSelector
,BaseLongColumnValueSelector
,BaseNullableColumnValueSelector
,BaseObjectColumnValueSelector<T>
,ColumnValueSelector<T>
,HotLoopCallee
- All Known Implementing Classes:
SettableDimensionValueSelector
,SettableDoubleColumnValueSelector
,SettableFloatColumnValueSelector
,SettableLongColumnValueSelector
,SettableObjectColumnValueSelector
public interface SettableColumnValueSelector<T> extends ColumnValueSelector<T>
SettableColumnValueSelectors are used inQueryableIndexIndexableAdapter.RowIteratorImpl
.
-
-
Field Summary
-
Fields inherited from interface org.apache.druid.segment.ColumnValueSelector
EMPTY_ARRAY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
inspectRuntimeShape(RuntimeShapeInspector inspector)
Implementations of this method should callinspector.visit()
with all fields of this class, which meet two conditions: 1.void
setValueFrom(ColumnValueSelector<?> selector)
-
Methods inherited from interface org.apache.druid.segment.BaseDoubleColumnValueSelector
getDouble
-
Methods inherited from interface org.apache.druid.segment.BaseFloatColumnValueSelector
getFloat
-
Methods inherited from interface org.apache.druid.segment.BaseLongColumnValueSelector
getLong
-
Methods inherited from interface org.apache.druid.segment.BaseNullableColumnValueSelector
isNull
-
Methods inherited from interface org.apache.druid.segment.BaseObjectColumnValueSelector
classOfObject, getObject
-
-
-
-
Method Detail
-
setValueFrom
void setValueFrom(ColumnValueSelector<?> selector)
-
inspectRuntimeShape
default void inspectRuntimeShape(RuntimeShapeInspector inspector)
Description copied from interface:HotLoopCallee
Implementations of this method should callinspector.visit()
with all fields of this class, which meet two conditions: 1. They are used in methods of this class, annotated withCalledFromHotLoop
2. They are either: a. Nullable objects b. Instances of HotLoopCallee c. Objects, which don't always have a specific class in runtime. For example, a field of typeSet
could beHashSet
orTreeSet
in runtime, depending on how this instance (the instance on which inspectRuntimeShape() is called) is configured. d. ByteBuffer or similar objects, where byte order matters e. boolean flags, affecting branch taking f. Arrays of objects, meeting any of conditions a-e.- Specified by:
inspectRuntimeShape
in interfaceHotLoopCallee
-
-