Class SerializablePairLongStringComplexColumn
- java.lang.Object
-
- org.apache.druid.query.aggregation.SerializablePairLongStringComplexColumn
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,BaseColumn
,ComplexColumn
public class SerializablePairLongStringComplexColumn extends Object implements ComplexColumn
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SerializablePairLongStringComplexColumn.Builder
-
Constructor Summary
Constructors Constructor Description SerializablePairLongStringComplexColumn(CellReader cellReader, SerializablePairLongStringDeltaEncodedStagedSerde serde, Closer closer, int serializedSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close and release any resources associated with this column.Class<?>
getClazz()
int
getLength()
Object
getRowValue(int rowNum)
Return rows in the column.String
getTypeName()
-
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
makeVectorValueSelector
-
Methods inherited from interface org.apache.druid.segment.column.ComplexColumn
makeColumnValueSelector, makeVectorObjectSelector
-
-
-
-
Constructor Detail
-
SerializablePairLongStringComplexColumn
public SerializablePairLongStringComplexColumn(CellReader cellReader, SerializablePairLongStringDeltaEncodedStagedSerde serde, Closer closer, int serializedSize)
-
-
Method Detail
-
getClazz
public Class<?> getClazz()
- Specified by:
getClazz
in interfaceComplexColumn
- Returns:
- Class of objects returned on calls to
ComplexColumn.getRowValue(int)
.
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interfaceComplexColumn
- Returns:
- Typename associated with this column.
-
getRowValue
public Object getRowValue(int rowNum)
Description copied from interface:ComplexColumn
Return rows in the column.- Specified by:
getRowValue
in 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:
getLength
in interfaceComplexColumn
- Returns:
- serialized size (in bytes) of this column. -1 for unknown
-
close
public void close()
Description copied from interface:ComplexColumn
Close and release any resources associated with this column.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceComplexColumn
-
-