Java 类org.apache.cassandra.thrift.TFramedTransportFactory 实例源码

项目:hive-cassandra    文件:ConfigHelper.java   
public static ITransportFactory getClientTransportFactory(Configuration conf) {
    String factoryClassName = conf.get(
            ITransportFactory.PROPERTY_KEY,
            TFramedTransportFactory.class.getName());
    ITransportFactory factory = getClientTransportFactory(factoryClassName);
    Map<String, String> options = getOptions(conf, factory.supportedOptions());
    factory.setOptions(options);
    return factory;
}