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 |
initialize
void initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
throws org.apache.thrift.TException
- Initialize the TProtocol
- Parameters:
conf
- System propertiestbl
- table properties
- Throws:
org.apache.thrift.TException
Copyright © 2009 The Apache Software Foundation