public class WriterSpec extends Object
#makeWriter(String, MinorType, DataMode)
method
gives the type of data to be written. A standard conversion is inserted
where needed.Modifier and Type | Field and Description |
---|---|
StandardConversions |
conversions |
CustomErrorContext |
errorContext |
TupleMetadata |
providedSchema |
TupleWriter |
tupleWriter |
Constructor and Description |
---|
WriterSpec(TupleWriter tupleWriter,
TupleMetadata providedSchema,
CustomErrorContext errorContext) |
Modifier and Type | Method and Description |
---|---|
ValueWriter |
makeWriter(String name,
TypeProtos.MinorType type,
TypeProtos.DataMode mode) |
public final TupleWriter tupleWriter
public final TupleMetadata providedSchema
public final CustomErrorContext errorContext
public final StandardConversions conversions
public WriterSpec(TupleWriter tupleWriter, TupleMetadata providedSchema, CustomErrorContext errorContext)
public ValueWriter makeWriter(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode)
Copyright © 1970 The Apache Software Foundation. All rights reserved.