public class ColumnDescriptor extends Object implements Comparable<ColumnDescriptor>
Constructor and Description |
---|
ColumnDescriptor(String[] path,
PrimitiveType.PrimitiveTypeName type,
int maxRep,
int maxDef) |
ColumnDescriptor(String[] path,
PrimitiveType.PrimitiveTypeName type,
int typeLength,
int maxRep,
int maxDef) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ColumnDescriptor o) |
boolean |
equals(Object obj) |
int |
getMaxDefinitionLevel() |
int |
getMaxRepetitionLevel() |
String[] |
getPath() |
PrimitiveType.PrimitiveTypeName |
getType() |
int |
getTypeLength() |
int |
hashCode() |
String |
toString() |
public ColumnDescriptor(String[] path, PrimitiveType.PrimitiveTypeName 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 ColumnDescriptor(String[] path, PrimitiveType.PrimitiveTypeName type, int typeLength, 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()
public PrimitiveType.PrimitiveTypeName getType()
public int getTypeLength()
public int compareTo(ColumnDescriptor o)
compareTo
in interface Comparable<ColumnDescriptor>
Copyright © 2015. All rights reserved.