public interface FieldGen
setup(org.apache.drill.exec.store.mock.ColumnDef) method which is given
the column definition for the column. This definition may have
additional configuration information for the column (column width,
precision, etc.). Each also has a setValue(org.apache.drill.exec.vector.ValueVector, int) method that
does the work of setting a specific value vector position to the
generated value. The implementation is expected to cast the
vector to the type supported by that particular generator.
(This is test code; we're not overly concerned with the overhead
of such casts.)| Modifier and Type | Method and Description |
|---|---|
void |
setup(ColumnDef colDef) |
void |
setValue(ValueVector v,
int index) |
void setup(ColumnDef colDef)
void setValue(ValueVector v, int index)
Copyright © 2017 The Apache Software Foundation. All rights reserved.