Class DeltaLakeJsonFileStatistics
- java.lang.Object
-
- io.trino.plugin.deltalake.transactionlog.statistics.DeltaLakeJsonFileStatistics
-
- All Implemented Interfaces:
DeltaLakeFileStatistics
public class DeltaLakeJsonFileStatistics extends Object implements DeltaLakeFileStatistics
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeltaLakeJsonFileStatisticscreate(String jsonStatistics)booleanequals(Object o)Optional<Object>getMaxColumnValue(DeltaLakeColumnHandle columnHandle)Optional<Map<String,Object>>getMaxValues()Optional<Object>getMinColumnValue(DeltaLakeColumnHandle columnHandle)Optional<Map<String,Object>>getMinValues()Optional<Map<String,Object>>getNullCount()Optional<Long>getNullCount(String columnName)Optional<Long>getNumRecords()longgetRetainedSizeInBytes()inthashCode()StringtoString()
-
-
-
Method Detail
-
create
public static DeltaLakeJsonFileStatistics create(String jsonStatistics) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getNumRecords
public Optional<Long> getNumRecords()
- Specified by:
getNumRecordsin interfaceDeltaLakeFileStatistics
-
getMaxColumnValue
public Optional<Object> getMaxColumnValue(DeltaLakeColumnHandle columnHandle)
- Specified by:
getMaxColumnValuein interfaceDeltaLakeFileStatistics
-
getMinColumnValue
public Optional<Object> getMinColumnValue(DeltaLakeColumnHandle columnHandle)
- Specified by:
getMinColumnValuein interfaceDeltaLakeFileStatistics
-
getNullCount
public Optional<Long> getNullCount(String columnName)
- Specified by:
getNullCountin interfaceDeltaLakeFileStatistics
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
- Specified by:
getRetainedSizeInBytesin interfaceDeltaLakeFileStatistics
-
-