public static interface BuiltInMetadata.Size extends Metadata
Modifier and Type | Interface and Description |
---|---|
static interface |
BuiltInMetadata.Size.Handler
Handler API.
|
Modifier and Type | Field and Description |
---|---|
static MetadataDef<BuiltInMetadata.Size> |
DEF |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Double> |
averageColumnSizes()
Determines the average size (in bytes) of a value of a column in this
relational expression.
|
java.lang.Double |
averageRowSize()
Determines the average size (in bytes) of a row from this relational
expression.
|
static final MetadataDef<BuiltInMetadata.Size> DEF
java.lang.Double averageRowSize()
java.util.List<java.lang.Double> averageColumnSizes()
Null values are included (presumably they occupy close to 0 bytes).
It is left to the caller to decide whether the size is the compressed size, the uncompressed size, or memory allocation when the value is wrapped in an object in the Java heap. The uncompressed size is probably a good compromise.
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.