public class StrictDelimitedInputWriter extends AbstractRecordWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
StrictDelimitedInputWriter.Builder |
AbstractRecordWriter.OrcMemoryPressureMonitoracidOutputFormat, addedPartitions, autoFlush, bucketFieldData, bucketIds, bucketObjInspectors, bucketStructFields, conf, conn, curBatchMaxWriteId, curBatchMinWriteId, defaultPartitionName, fs, fullyQualifiedTableName, heapMemoryMonitor, ingestSizeBytes, ingestSizeThreshold, inputColumns, inputRowObjectInspector, inputTypes, isBucketed, lineDelimiter, lowMemoryCanary, memoryUsageThreshold, outputRowObjectInspector, partitionColumns, partitionFieldData, partitionObjInspectors, partitionPaths, partitionStructFields, table, totalBuckets, updaters| Modifier and Type | Method and Description |
|---|---|
LazySimpleSerDe |
createSerde()
Create SerDe for the record writer.
|
Object |
encode(byte[] record)
Encode a record as an Object that Hive can read with the ObjectInspector associated with the
serde returned by
AbstractRecordWriter.createSerde(). |
static StrictDelimitedInputWriter.Builder |
newBuilder() |
checkAutoFlush, close, createRecordUpdater, flush, getBucket, getBucketColIDs, getBucketFields, getObjectInspectorsForBucketedCols, getPartitionFields, getPartitions, getPartitionValues, getRecordUpdater, getWatermark, init, initializeBuckets, logStats, prepareBucketingFields, preparePartitioningFields, setupMemoryMonitoring, write, writepublic static StrictDelimitedInputWriter.Builder newBuilder()
public Object encode(byte[] record) throws SerializationError
AbstractRecordWriterAbstractRecordWriter.createSerde(). This is public so that test frameworks can use it.encode in class AbstractRecordWriterrecord - record to be deserializedSerializationError - - any error during serialization or deserialization of recordpublic LazySimpleSerDe createSerde() throws SerializationError
AbstractRecordWritercreateSerde in class AbstractRecordWriterSerializationError - - if serde cannot be created.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.