public class TypedFieldId extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TypedFieldId.Builder |
Modifier and Type | Method and Description |
---|---|
TypedFieldId |
cloneWithChild(int id) |
TypedFieldId |
cloneWithRemainder(PathSegment remainder) |
boolean |
equals(Object obj) |
int[] |
getFieldIds() |
TypeProtos.MajorType |
getFinalType() |
Class<? extends ValueVector> |
getIntermediateClass()
Return the class for the value vector (type, mode).
|
TypeProtos.MajorType |
getIntermediateType() |
PathSegment |
getLastSegment() |
static String |
getPath(TypedFieldId typeFieldId,
RecordBatch recordBatch)
Generates the full path to a field from the typefield ids
|
PathSegment |
getRemainder() |
TypeProtos.MajorType |
getSecondaryFinal() |
int |
hashCode() |
boolean |
hasRemainder() |
boolean |
isDict(int depth)
Check if it is a
TypeProtos.MinorType.DICT type at a given segment's depth |
boolean |
isHyperReader() |
boolean |
isListVector() |
static TypedFieldId.Builder |
newBuilder() |
String |
toString() |
public TypedFieldId cloneWithChild(int id)
public PathSegment getLastSegment()
public TypedFieldId cloneWithRemainder(PathSegment remainder)
public boolean hasRemainder()
public PathSegment getRemainder()
public boolean isHyperReader()
public boolean isListVector()
public TypeProtos.MajorType getIntermediateType()
public boolean isDict(int depth)
TypeProtos.MinorType.DICT
type at a given segment's depthdepth
- depth of interest starting with 0true
if it is DICT, false
otherwisepublic Class<? extends ValueVector> getIntermediateClass()
public TypeProtos.MajorType getFinalType()
public int[] getFieldIds()
public TypeProtos.MajorType getSecondaryFinal()
public static TypedFieldId.Builder newBuilder()
public static String getPath(TypedFieldId typeFieldId, RecordBatch recordBatch)
typeFieldId
- recordBatch
- Copyright © 1970 The Apache Software Foundation. All rights reserved.