org.apache.hadoop.hive.serde2.thrift
Interface WriteTextProtocol

All Known Implementing Classes:
TBinarySortableProtocol

public interface WriteTextProtocol

An interface for TProtocols that can write out data in hadoop Text objects (UTF-8 encoded String). This helps a lot with performance because we don't need to do unnecessary UTF-8 decoding and encoding loops.


Method Summary
 void writeText(org.apache.hadoop.io.Text text)
          Write Text.
 

Method Detail

writeText

void writeText(org.apache.hadoop.io.Text text)
               throws org.apache.thrift.TException
Write Text.

Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation