Package org.apache.hadoop.hbase.index.client

Examples of org.apache.hadoop.hbase.index.client.NoIndexExpression


    // TODO add assertions
  }

  @Test
  public void testNoIndexExpression() throws Exception {
    IndexExpression exp = new NoIndexExpression();
    Scan scan = new Scan();
    scan.setAttribute(Constants.INDEX_EXPRESSION, IndexUtils.toBytes(exp));
    byte[] value1 = Bytes.toBytes("asdf");
    scan.setFilter(new SingleColumnValueFilter(FAMILY1, QUALIFIER1, CompareOp.EQUAL, value1));
    List<IndexSpecification> indices = new ArrayList<IndexSpecification>();
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.index.client.NoIndexExpression

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.