public void QueryBinType() { int begin = 1; int end = 10; Statement stmt = new Statement(); stmt.SetNamespace(args.ns); stmt.SetSetName(setName); stmt.SetFilter(Filter.Range(binName, begin, end)); QueryPolicy policy = new QueryPolicy(); policy.filterExp = Exp.Build(Exp.EQ(Exp.BinType("listbin"), Exp.Val(ParticleType.LIST))); RecordSet rs = client.Query(policy, stmt); try { int count = 0; while (rs.Next()) { count++; } Assert.AreEqual(9, count); } finally { rs.Close(); } }