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 com.facebook.thrift.TException
Initialize the TProtocol

Parameters:
conf - System properties
tbl - table properties
Throws:
com.facebook.thrift.TException


Copyright © 2009 The Apache Software Foundation