public static class ImplicitColumnUtils.ImplicitColumns extends Object
Constructor and Description |
---|
ImplicitColumns(RowSetLoader rowWriter) |
Modifier and Type | Method and Description |
---|---|
void |
addImplicitColumn(String fieldName,
TypeProtos.MinorType type)
Adds an implicit column.
|
ImplicitColumnUtils.ImplicitColumn |
getColumn(String fieldName)
Returns a requested ImplicitColumn.
|
void |
writeImplicitColumns()
This function writes the data to the implicit columns.
|
public ImplicitColumns(RowSetLoader rowWriter)
public void addImplicitColumn(String fieldName, TypeProtos.MinorType type)
fieldName
- Name of the implicit column. Recommended that this start with an underscore.type
- The Drill MinorType of the implicit column. Currently only supports simple types.public ImplicitColumnUtils.ImplicitColumn getColumn(String fieldName)
fieldName
- The field name of the desired columnpublic void writeImplicitColumns()
Copyright © 1970 The Apache Software Foundation. All rights reserved.