public interface FieldGen
setup(org.apache.drill.exec.store.mock.ColumnDef, org.apache.drill.exec.vector.accessor.ScalarWriter) 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() 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,
ScalarWriter colLoader) |
void |
setValue() |
void setup(ColumnDef colDef, ScalarWriter colLoader)
void setValue()
Copyright © 2021 The Apache Software Foundation. All rights reserved.