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

All Known Implementing Classes:
TBinarySortableProtocol, TCTLSeparatedProtocol

public interface ConfigurableTProtocol

An interface for TProtocols that need to have properties passed in to initialize them. e.g., separators for TCTLSeparatedProtocol. If there was a regex like deserializer, the regex could be passed in in this manner.


Method Summary
 void initialize(org.apache.hadoop.conf.Configuration conf, Properties tbl)
          Initialize the TProtocol.
 

Method Detail

initialize

void initialize(org.apache.hadoop.conf.Configuration conf,
                Properties tbl)
                throws org.apache.thrift.TException
Initialize the TProtocol.

Parameters:
conf - System properties
tbl - table properties
Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation