Package org.apache.druid.frame.field
Class NumericFieldReader.Selector
java.lang.Object
org.apache.druid.frame.field.NumericFieldReader.Selector
- Enclosing class:
- NumericFieldReader
Helper class which allows the inheritors to fetch the nullity of the field located at fieldPointer's position in
the dataRegion.
The implementations of the column value selectors returned by the NumericFieldReader.getColumnValueSelector(org.apache.datasketches.memory.Memory, org.apache.druid.frame.field.ReadableFieldPointer, byte) can inherit this
class and call _isNull() in their BaseNullableColumnValueSelector.isNull() to offload the responsibility of
detecting null elements to this Selector, instead of reworking the null handling
-
Constructor Summary
ConstructorsConstructorDescriptionSelector(org.apache.datasketches.memory.Memory dataRegion, ReadableFieldPointer fieldPointer, byte nullIndicatorByte) -
Method Summary
-
Constructor Details
-
Selector
public Selector(org.apache.datasketches.memory.Memory dataRegion, ReadableFieldPointer fieldPointer, byte nullIndicatorByte)
-
-
Method Details
-
_isNull
protected boolean _isNull()
-