Class RowConstraintConverter

java.lang.Object
com.mapr.fs.hbase.RowConstraintConverter

public class RowConstraintConverter extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mapr.fs.jni.MapRRowConstraint
    toRowConstraint(com.mapr.fs.MapRHTable htable, byte[] family, byte[] qualifier)
     
    static com.mapr.fs.jni.MapRRowConstraint
    toRowConstraint(com.mapr.fs.MapRHTable htable, Map<byte[],NavigableMap<byte[],Long>> familyMap, long minStamp, long maxStamp, com.mapr.fs.jni.MapRIncrement incr)
     
    static com.mapr.fs.jni.MapRRowConstraint
    toRowConstraint(com.mapr.fs.MapRHTable htable, Map<byte[],NavigableSet<byte[]>> familyMap, int maxVersions, long minStamp, long maxStamp)
    Converts a list of HBase Get to list of MapRGet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RowConstraintConverter

      public RowConstraintConverter()
  • Method Details

    • toRowConstraint

      public static com.mapr.fs.jni.MapRRowConstraint toRowConstraint(com.mapr.fs.MapRHTable htable, Map<byte[],NavigableSet<byte[]>> familyMap, int maxVersions, long minStamp, long maxStamp) throws org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException
      Converts a list of HBase Get to list of MapRGet
      Parameters:
      gets - HBase Get object to convert
      Returns:
      List of corresponding MapRGet objects
      Throws:
      org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException
    • toRowConstraint

      public static com.mapr.fs.jni.MapRRowConstraint toRowConstraint(com.mapr.fs.MapRHTable htable, Map<byte[],NavigableMap<byte[],Long>> familyMap, long minStamp, long maxStamp, com.mapr.fs.jni.MapRIncrement incr) throws org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException, IOException
      Throws:
      org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException
      IOException
    • toRowConstraint

      public static com.mapr.fs.jni.MapRRowConstraint toRowConstraint(com.mapr.fs.MapRHTable htable, byte[] family, byte[] qualifier) throws org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException, IOException
      Throws:
      org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException
      IOException