Class MetadataBase.ColumnMetadata
java.lang.Object
org.apache.drill.exec.store.parquet.metadata.MetadataBase.ColumnMetadata
- Direct Known Subclasses:
Metadata_V1.ColumnMetadata_v1
,Metadata_V2.ColumnMetadata_v2
,Metadata_V3.ColumnMetadata_v3
- Enclosing class:
- MetadataBase
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Object
abstract Object
abstract String[]
getName()
abstract Long
getNulls()
abstract org.apache.parquet.schema.OriginalType
abstract org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName
abstract boolean
hasSingleValue
(long rowCount) boolean
Number of nulls is considered to be valid if its value is not null and -1.abstract void
Set the max value recorded in the parquet metadata statistics.abstract void
Set the min value recorded in the parquet metadata statistics.
-
Constructor Details
-
ColumnMetadata
public ColumnMetadata()
-
-
Method Details
-
isNumNullsSet
public boolean isNumNullsSet()Number of nulls is considered to be valid if its value is not null and -1.- Returns:
- true if nulls value is defined, false otherwise
-
getName
-
getNulls
-
hasSingleValue
public abstract boolean hasSingleValue(long rowCount) -
getMinValue
-
getMaxValue
-
setMax
Set the max value recorded in the parquet metadata statistics. This object would just be immutable, but due to Drill-4203 we need to correct date values that had been corrupted by earlier versions of Drill. -
setMin
Set the min value recorded in the parquet metadata statistics. This object would just be immutable, but due to Drill-4203 we need to correct date values that had been corrupted by earlier versions of Drill. -
getPrimitiveType
public abstract org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName getPrimitiveType() -
getOriginalType
public abstract org.apache.parquet.schema.OriginalType getOriginalType()
-