Class WriterSpec
java.lang.Object
org.apache.drill.exec.store.hdf5.writers.WriterSpec
Encapsulates the information needed to handle implicit type conversions
for scalar fields. The provided schema gives the type of vector to
create, the
makeWriter(String, MinorType, DataMode)
method
gives the type of data to be written. A standard conversion is inserted
where needed.-
Field Summary
Modifier and TypeFieldDescriptionfinal StandardConversions
final CustomErrorContext
final TupleMetadata
final TupleWriter
-
Constructor Summary
ConstructorDescriptionWriterSpec
(TupleWriter tupleWriter, TupleMetadata providedSchema, CustomErrorContext errorContext) -
Method Summary
Modifier and TypeMethodDescriptionmakeWriter
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode)
-
Field Details
-
tupleWriter
-
providedSchema
-
errorContext
-
conversions
-
-
Constructor Details
-
WriterSpec
public WriterSpec(TupleWriter tupleWriter, TupleMetadata providedSchema, CustomErrorContext errorContext)
-
-
Method Details
-
makeWriter
-