Class ColumnBuilder
java.lang.Object
org.apache.drill.exec.record.metadata.ColumnBuilder
Build a column schema (AKA "materialized field") based on name and a
variety of schema options. Every column needs a name and (minor) type,
some may need a mode other than required, may need a width, may
need scale and precision, and so on.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setMode
(TypeProtos.DataMode mode) setPrecision
(int precision) setPrecisionAndScale
(int precision, int scale) setWidth
(int width)
-
Constructor Details
-
ColumnBuilder
-
-
Method Details
-
setMode
-
setWidth
-
setPrecision
-
setPrecisionAndScale
-
build
-