public class ColumnDescriptor extends Object implements Comparable<ColumnDescriptor>
| Constructor and Description |
|---|
ColumnDescriptor(String[] path,
PrimitiveType.PrimitiveTypeName type,
int maxRep,
int maxDef)
Deprecated.
will be removed in 2.0.0; Use
ColumnDescriptor(String[], PrimitiveType, int, int) |
ColumnDescriptor(String[] path,
PrimitiveType.PrimitiveTypeName type,
int typeLength,
int maxRep,
int maxDef)
Deprecated.
will be removed in 2.0.0; Use
ColumnDescriptor(String[], PrimitiveType, int, int) |
ColumnDescriptor(String[] path,
PrimitiveType type,
int maxRep,
int maxDef) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ColumnDescriptor o) |
boolean |
equals(Object other) |
int |
getMaxDefinitionLevel() |
int |
getMaxRepetitionLevel() |
String[] |
getPath() |
PrimitiveType |
getPrimitiveType() |
PrimitiveType.PrimitiveTypeName |
getType()
Deprecated.
will removed in 2.0.0. Use
getPrimitiveType() instead. |
int |
getTypeLength()
Deprecated.
will removed in 2.0.0. Use
getPrimitiveType() instead. |
int |
hashCode() |
String |
toString() |
@Deprecated public ColumnDescriptor(String[] path, PrimitiveType.PrimitiveTypeName type, int maxRep, int maxDef)
ColumnDescriptor(String[], PrimitiveType, int, int)path - the path to the leaf field in the schematype - the type of the fieldmaxRep - the maximum repetition level for that pathmaxDef - the maximum definition level for that path@Deprecated public ColumnDescriptor(String[] path, PrimitiveType.PrimitiveTypeName type, int typeLength, int maxRep, int maxDef)
ColumnDescriptor(String[], PrimitiveType, int, int)path - the path to the leaf field in the schematype - the type of the fieldtypeLength - the length of the type, if type is a fixed-length byte arraymaxRep - the maximum repetition level for that pathmaxDef - the maximum definition level for that pathpublic ColumnDescriptor(String[] path, PrimitiveType type, int maxRep, int maxDef)
path - the path to the leaf field in the schematype - the type of the fieldmaxRep - the maximum repetition level for that pathmaxDef - the maximum definition level for that pathpublic String[] getPath()
public int getMaxRepetitionLevel()
public int getMaxDefinitionLevel()
@Deprecated public PrimitiveType.PrimitiveTypeName getType()
getPrimitiveType() instead.@Deprecated public int getTypeLength()
getPrimitiveType() instead.public PrimitiveType getPrimitiveType()
public int compareTo(ColumnDescriptor o)
compareTo in interface Comparable<ColumnDescriptor>Copyright © 2024 The Apache Software Foundation. All rights reserved.