Class SerializablePairLongFloatComplexColumn
- java.lang.Object
-
- org.apache.druid.query.aggregation.SerializablePairLongFloatComplexColumn
-
- All Implemented Interfaces:
Closeable,AutoCloseable,BaseColumn,ComplexColumn
public class SerializablePairLongFloatComplexColumn extends Object implements ComplexColumn
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSerializablePairLongFloatComplexColumn.Builder
-
Constructor Summary
Constructors Constructor Description SerializablePairLongFloatComplexColumn(CellReader cellReader, AbstractSerializablePairLongObjectDeltaEncodedStagedSerde<?> serde, Closer closer, int serializedSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close and release any resources associated with this column.Class<?>getClazz()intgetLength()ObjectgetRowValue(int rowNum)Return rows in the column.StringgetTypeName()-
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.segment.column.BaseColumn
as, makeVectorValueSelector
-
Methods inherited from interface org.apache.druid.segment.column.ComplexColumn
makeColumnValueSelector, makeVectorObjectSelector
-
-
-
-
Constructor Detail
-
SerializablePairLongFloatComplexColumn
public SerializablePairLongFloatComplexColumn(CellReader cellReader, AbstractSerializablePairLongObjectDeltaEncodedStagedSerde<?> serde, Closer closer, int serializedSize)
-
-
Method Detail
-
getClazz
public Class<?> getClazz()
- Specified by:
getClazzin interfaceComplexColumn- Returns:
- Class of objects returned on calls to
ComplexColumn.getRowValue(int).
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceComplexColumn- Returns:
- Typename associated with this column.
-
getRowValue
@Nullable public Object getRowValue(int rowNum)
Description copied from interface:ComplexColumnReturn rows in the column.- Specified by:
getRowValuein interfaceComplexColumn- Parameters:
rowNum- the row number- Returns:
- row object of type same as
ComplexColumn.getClazz()} at row number "rowNum" .
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceComplexColumn- Returns:
- serialized size (in bytes) of this column. -1 for unknown
-
close
public void close()
Description copied from interface:ComplexColumnClose and release any resources associated with this column.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceComplexColumn
-
-