public abstract class ResolvedColumn extends Object implements ColumnProjection
Although the table schema mechanism uses the newer "metadata"
mechanism, resolved columns revert back to the original
MajorType
and MaterializedField
mechanism used
by the rest of Drill. Doing so loses a bit of additional
information, but at present there is no way to export that information
along with a serialized record batch; each operator must rediscover
it after deserialization.
Constructor and Description |
---|
ResolvedColumn(ColumnMetadata outputCol,
VectorSource source,
int sourceIndex) |
ResolvedColumn(VectorSource source,
int sourceIndex) |
Modifier and Type | Method and Description |
---|---|
ColumnMetadata |
metadata() |
void |
project(ResolvedTuple dest) |
abstract MaterializedField |
schema()
Return the type of this column.
|
VectorSource |
source() |
int |
sourceIndex() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
name
public ResolvedColumn(VectorSource source, int sourceIndex)
public ResolvedColumn(ColumnMetadata outputCol, VectorSource source, int sourceIndex)
public VectorSource source()
public int sourceIndex()
public ColumnMetadata metadata()
public abstract MaterializedField schema()
public void project(ResolvedTuple dest)
Copyright © 2021 The Apache Software Foundation. All rights reserved.