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(UnionVector unionVector,
TypedFieldId.Builder builder,
boolean addToBreadCrumb,
PathSegment seg) |
public static TypedFieldId getFieldIdIfMatchesUnion(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 © 1970 The Apache Software Foundation. All rights reserved.