Class SettableFloatColumnValueSelector
java.lang.Object
org.apache.druid.segment.selector.settable.SettableFloatColumnValueSelector
- All Implemented Interfaces:
HotLoopCallee,BaseDoubleColumnValueSelector,BaseFloatColumnValueSelector,BaseLongColumnValueSelector,BaseNullableColumnValueSelector,BaseObjectColumnValueSelector<Float>,ColumnValueSelector<Float>,FloatColumnSelector,SettableColumnValueSelector<Float>
public class SettableFloatColumnValueSelector
extends Object
implements SettableColumnValueSelector<Float>, FloatColumnSelector
-
Field Summary
Fields inherited from interface org.apache.druid.segment.ColumnValueSelector
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetFloat()booleanisNull()Returns true if the primitive long, double, or float value returned by this selector should be treated as null.voidsetValueFrom(ColumnValueSelector<?> selector) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.FloatColumnSelector
classOfObject, getDouble, getLong, getObjectMethods inherited from interface org.apache.druid.segment.selector.settable.SettableColumnValueSelector
inspectRuntimeShape
-
Constructor Details
-
SettableFloatColumnValueSelector
public SettableFloatColumnValueSelector()
-
-
Method Details
-
setValueFrom
- Specified by:
setValueFromin interfaceSettableColumnValueSelector<Float>
-
getFloat
public float getFloat()- Specified by:
getFloatin interfaceBaseFloatColumnValueSelector
-
isNull
public boolean isNull()Description copied from interface:BaseNullableColumnValueSelectorReturns true if the primitive long, double, or float value returned by this selector should be treated as null. Users ofBaseLongColumnValueSelector.getLong(),BaseDoubleColumnValueSelector.getDouble()andBaseFloatColumnValueSelector.getFloat()must check this method first, or else they may improperly use placeholder values returned by the primitive get methods. Users ofBaseObjectColumnValueSelector.getObject()should not call this method. Instead, call "getObject" and check if it is null.- Specified by:
isNullin interfaceBaseNullableColumnValueSelector
-