Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のようなコードがあります。
Scanner s = conn.createScanner("userdata", auths); s.setRange(new Range(input)); s.fetchColumnFamily(new Text("age"));
私の質問は、「新しい範囲(入力)」の「入力」部分が何であるかを知っている人はいますか?入力 RowId ですか?
への入力Rangeは、探しているものです。ドキュメントを見てください:
Range
http://accumulo.apache.org/1.6/apidocs/org/apache/accumulo/core/data/Range.html#Range(java.lang.CharSequence)
例は次のとおりです。
s.setRange(new Range(new Text("Foo")));