Package org.apache.druid.frame.field
Class NumericArrayFieldReader
- java.lang.Object
-
- org.apache.druid.frame.field.NumericArrayFieldReader
-
- All Implemented Interfaces:
FieldReader
- Direct Known Subclasses:
DoubleArrayFieldReader,FloatArrayFieldReader,LongArrayFieldReader
public abstract class NumericArrayFieldReader extends Object implements FieldReader
Reader class for the fields written byNumericArrayFieldWriter. See the Javadoc for the writer for more information on the format The numeric array fields are byte comparable
-
-
Constructor Summary
Constructors Constructor Description NumericArrayFieldReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisComparable()Whether this field is comparable.booleanisNull(org.apache.datasketches.memory.Memory memory, long position)Whether the provided memory position points to a null value.DimensionSelectormakeDimensionSelector(org.apache.datasketches.memory.Memory memory, ReadableFieldPointer fieldPointer, ExtractionFn extractionFn)Create aDimensionSelectorbacked by some memory and a moveable pointer.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.frame.field.FieldReader
makeColumnValueSelector
-
-
-
-
Method Detail
-
makeDimensionSelector
public DimensionSelector makeDimensionSelector(org.apache.datasketches.memory.Memory memory, ReadableFieldPointer fieldPointer, @Nullable ExtractionFn extractionFn)
Description copied from interface:FieldReaderCreate aDimensionSelectorbacked by some memory and a moveable pointer.- Specified by:
makeDimensionSelectorin interfaceFieldReader
-
isNull
public boolean isNull(org.apache.datasketches.memory.Memory memory, long position)Description copied from interface:FieldReaderWhether the provided memory position points to a null value.- Specified by:
isNullin interfaceFieldReader
-
isComparable
public boolean isComparable()
Description copied from interface:FieldReaderWhether this field is comparable. Comparable fields can be compared as unsigned bytes.- Specified by:
isComparablein interfaceFieldReader
-
-