Package org.kiji.schema

Examples of org.kiji.schema.KijiTableReaderPool$Builder


            FAMILY_QUAL0_R
        ).getMostRecentValue("family", "qual0").toString();
      }
    }.eval());

    final KijiTableReaderPool pool = KijiTableReaderPool.Builder.create()
        .withReaderFactory(mTable.getReaderFactory())
        .build();
    try {
      Assert.assertEquals("foo-val", new WithKijiTableReader<String>(pool) {
        @Override
        public String run(final KijiTableReader kijiTableReader) throws Exception {
          return kijiTableReader.get(
              mTable.getEntityId("foo"),
              FAMILY_QUAL0_R
          ).getMostRecentValue("family", "qual0").toString();
        }
      }.eval());
    } finally {
      pool.close();
    }
  }
View Full Code Here

TOP

Related Classes of org.kiji.schema.KijiTableReaderPool$Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.