Package io.trino.orc.reader
Class FloatColumnReader
- java.lang.Object
-
- io.trino.orc.reader.FloatColumnReader
-
- All Implemented Interfaces:
ColumnReader
public class FloatColumnReader extends Object implements ColumnReader
-
-
Constructor Summary
Constructors Constructor Description FloatColumnReader(Type type, OrcColumn column, LocalMemoryContext systemMemoryContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longgetRetainedSizeInBytes()voidprepareNextRead(int batchSize)BlockreadBlock()voidstartRowGroup(InputStreamSources dataStreamSources)voidstartStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding)StringtoString()
-
-
-
Constructor Detail
-
FloatColumnReader
public FloatColumnReader(Type type, OrcColumn column, LocalMemoryContext systemMemoryContext) throws OrcCorruptionException
- Throws:
OrcCorruptionException
-
-
Method Detail
-
prepareNextRead
public void prepareNextRead(int batchSize)
- Specified by:
prepareNextReadin interfaceColumnReader
-
readBlock
public Block readBlock() throws IOException
- Specified by:
readBlockin interfaceColumnReader- Throws:
IOException
-
startStripe
public void startStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding)
- Specified by:
startStripein interfaceColumnReader
-
startRowGroup
public void startRowGroup(InputStreamSources dataStreamSources)
- Specified by:
startRowGroupin interfaceColumnReader
-
close
public void close()
- Specified by:
closein interfaceColumnReader
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
- Specified by:
getRetainedSizeInBytesin interfaceColumnReader
-
-