示例#1
0
        public HbaseRWTest()
        {
            _clientTransport = new TSocketClientTransport(IPAddress.Loopback, 9090);
            TProtocol protocol = new TBinaryProtocol(_clientTransport);

            _client      = new Hbase.Client(protocol);
            _hbaseHelper = new HbaseHelper();
            _HbaseParser = new HbaseParser();
        }
示例#2
0
 public HbaseParserTest()
 {
     _student = new Student
     {
         Name   = "hsx",
         Age    = 5,
         IsWork = true
     };
     _HbaseParser = new HbaseParser();
 }