Examples of batchMutateForIndex()


Examples of org.apache.hadoop.hbase.regionserver.HRegion.batchMutateForIndex()

      return;
    }
    HRegion hr = indexEdits.getRegion();
    LOG.trace("Updating index table " + hr.getRegionInfo().getTableNameAsString());
    try {
      hr.batchMutateForIndex(indexMutations.toArray(new Pair[indexMutations.size()]));
    } catch (IOException e) {
      // TODO This can come? If so we need to revert the actual put
      // and make the op failed.
      LOG.error("Error putting data into the index region", e);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.