Class DoubleTransfer
java.lang.Object
com.illumon.iris.db.v2.parquet.transfer.DoubleTransfer
- All Implemented Interfaces:
- TransferObject<DoubleBuffer>,- SafeCloseable,- AutoCloseable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidfetchData(OrderedKeys rs) Copy the data from the upstreamColumnSourceinto this object in preparation for writingGet the buffer suitable for writing to a Parquet fileintrowCount()Get the number of rows contained within the current transfer set to be written<T extends Comparable<T>>
 voidupdateStatistics(org.apache.parquet.column.statistics.Statistics<T> stats) After a sequence of calls toTransferObject.fetchData(OrderedKeys)this may be called to append statistic information into the Parquet footer for readers.
- 
Constructor Details- 
DoubleTransfer
 
- 
- 
Method Details- 
getBufferDescription copied from interface:TransferObjectGet the buffer suitable for writing to a Parquet file- Specified by:
- getBufferin interface- TransferObject<DoubleBuffer>
- Returns:
- the buffer
 
- 
rowCountpublic int rowCount()Description copied from interface:TransferObjectGet the number of rows contained within the current transfer set to be written- Specified by:
- rowCountin interface- TransferObject<DoubleBuffer>
- Returns:
- the number of rows that are ready to write to the Parquet file
 
- 
fetchDataDescription copied from interface:TransferObjectCopy the data from the upstreamColumnSourceinto this object in preparation for writing- Specified by:
- fetchDatain interface- TransferObject<DoubleBuffer>
- Parameters:
- rs- the- OrderedKeysto copy
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- SafeCloseable
 
- 
updateStatisticspublic <T extends Comparable<T>> void updateStatistics(@NotNull org.apache.parquet.column.statistics.Statistics<T> stats) Description copied from interface:TransferObjectAfter a sequence of calls toTransferObject.fetchData(OrderedKeys)this may be called to append statistic information into the Parquet footer for readers.- Specified by:
- updateStatisticsin interface- TransferObject<DoubleBuffer>
 
 
-