public class FieldIdUtil extends Object
| Constructor and Description |
|---|
FieldIdUtil() |
| Modifier and Type | Method and Description |
|---|---|
static TypedFieldId |
getFieldId(ValueVector vector,
int id,
SchemaPath expectedPath,
boolean hyper) |
static TypedFieldId |
getFieldIdIfMatches(ValueVector vector,
TypedFieldId.Builder builder,
boolean addToBreadCrumb,
PathSegment seg)
Utility method to obtain
TypedFieldId, providing metadata
for specified field given by value vector used in code generation. |
static TypedFieldId |
getFieldIdIfMatchesUnion(org.apache.drill.exec.vector.complex.UnionVector unionVector,
TypedFieldId.Builder builder,
boolean addToBreadCrumb,
PathSegment seg) |
public static TypedFieldId getFieldIdIfMatchesUnion(org.apache.drill.exec.vector.complex.UnionVector unionVector, TypedFieldId.Builder builder, boolean addToBreadCrumb, PathSegment seg)
public static TypedFieldId getFieldIdIfMatches(ValueVector vector, TypedFieldId.Builder builder, boolean addToBreadCrumb, PathSegment seg)
TypedFieldId, providing metadata
for specified field given by value vector used in code generation.vector - a value vector the metadata is obtained forbuilder - a builder instance gathering metadataaddToBreadCrumb - flag to indicate whether to include intermediate typeseg - path segment corresponding to the vectorpublic static TypedFieldId getFieldId(ValueVector vector, int id, SchemaPath expectedPath, boolean hyper)
Copyright © 2021 The Apache Software Foundation. All rights reserved.