Tag: thrift

从C#连接到Accumulo

我不熟悉与Accumulo合作。 我需要通过C#从远程Accumulo读取/写入数据。 我发现C#的唯一代码示例/文档是 – Accumulo createBatchScanner范围不能按预期工作 我试图在Mac上的Xamarin Studio中编译代码。 我遇到的问题是这一行: AccumuloProxy.Client client = new AccumuloProxy.Client(protocol); 错误CS0246:找不到类型或命名空间名称AccumuloProxy’ could not be found. Are you missing AccumuloProxy’ could not be found. Are you missing org.apache.accumulo.proxy.thrift’使用指令吗? (CS0246)(AccumuloIntegratorPrototype) 在哪里可以找到要添加到与AccumuloProxy客户端相关的CSharp项目的DLL? 有没有办法可以生成相同的? 这是一个代码片段: namespace AccumuloIntegratorPrototype { class MainClass { static byte[] GetBytes(string str) { return Encoding.ASCII.GetBytes(str); } static string GetString(byte[] bytes) { return […]