Toggle navigation
Home
com.facebook.presto.spi.statistics.Estimate to double
No. of Instances - 13
No. of Commits - 1
No. of Projects - {'presto'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Add or Remove Method invocation
estimate.getValue()
to
value
estimate.isValueUnknown()
to
Double.isNaN(value)
outputRowCount.isValueUnknown()
to
Double.isNaN(outputRowCount)
outputSizeInBytes.isValueUnknown()
to
Double.isNaN(outputSizeInBytes)
outputRowCount.isValueUnknown()
to
Double.isNaN(outputRowCount)
outputSizeInBytes.isValueUnknown()
to
Double.isNaN(outputSizeInBytes)
buildFrom(this).setOutputRowCount(outputRowCount.map(mappingFunction))
to
buildFrom(this).setOutputRowCount(mappingFunction.apply(outputRowCount))
buildFrom(this).setOutputSizeInBytes(outputRowCount.map(mappingFunction))
to
buildFrom(this).setOutputSizeInBytes(mappingFunction.apply(outputRowCount))
Rename Variable
estimate
to
value
Other
(long)outputSizeInBytes.getValue()
to
(long)outputSizeInBytes
(long)outputRowCount.getValue()
to
(long)outputRowCount
(long)outputSizeInBytes.getValue()
to
(long)outputSizeInBytes
(long)outputRowCount.getValue()
to
(long)outputRowCount