I think you can use cast the interface to HTable, like this: HTablePool pool = new HTablePool(); HTable table = (HTable)pool.getTable("test"); table.setAutoFlush(true, true); System.out.println(table.isAutoFlush());
On Thu, Apr 5, 2012 at 7:20 PM, Bing Li <lbl...@gmail.com> wrote: > Dear all, > > I found some methods existed in HTable were not in HTableInterface. > > setAutoFlush > setWriteBufferSize > ... > > In most cases, I manipulate HBase through HTableInterface from HTablePool. > If I need to use the above methods, how to do that? > > I am considering writing my own table pool if no proper ways. Is it fine? > > Thanks so much! > > Best regards, > Bing > -- Best wishes! My Friend~