Class HBaseEntityQueryBuilder<EK extends io.datarouter.model.key.entity.EntityKey<EK>,​E extends io.datarouter.model.entity.Entity<EK>>

java.lang.Object
io.datarouter.client.hbase.node.entity.HBaseEntityQueryBuilder<EK,​E>
Direct Known Subclasses:
HBaseSubEntityQueryBuilder

public class HBaseEntityQueryBuilder<EK extends io.datarouter.model.key.entity.EntityKey<EK>,​E extends io.datarouter.model.entity.Entity<EK>>
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected io.datarouter.model.key.entity.EntityPartitioner<EK> partitioner  
  • Constructor Summary

    Constructors 
    Constructor Description
    HBaseEntityQueryBuilder​(io.datarouter.storage.serialize.fieldcache.EntityFieldInfo<EK,​E> entityFieldInfo)  
  • Method Summary

    Modifier and Type Method Description
    byte[] getRowBytes​(EK ek)  
    byte[] getRowBytesWithPartition​(EK ek)  
    java.util.List<org.apache.hadoop.hbase.client.Scan> getScanForEachPartition​(EK startKey, boolean startKeyInclusive, boolean keysOnly)  

    Methods inherited from class java.lang.Object

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

    • partitioner

      protected final io.datarouter.model.key.entity.EntityPartitioner<EK extends io.datarouter.model.key.entity.EntityKey<EK>> partitioner
  • Constructor Details

    • HBaseEntityQueryBuilder

      public HBaseEntityQueryBuilder​(io.datarouter.storage.serialize.fieldcache.EntityFieldInfo<EK,​E> entityFieldInfo)
  • Method Details