Class HBaseNonEntityQueryBuilder<EK extends io.datarouter.model.key.entity.EntityKey<EK>,​PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>

java.lang.Object
io.datarouter.client.hbase.node.nonentity.HBaseNonEntityQueryBuilder<EK,​PK,​D>

public class HBaseNonEntityQueryBuilder<EK extends io.datarouter.model.key.entity.EntityKey<EK>,​PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    HBaseNonEntityQueryBuilder​(io.datarouter.model.key.entity.EntityPartitioner<EK> partitioner)  
  • Method Summary

    Modifier and Type Method Description
    io.datarouter.model.util.Bytes getEkByteRange​(EK ek)  
    io.datarouter.model.util.Bytes getPkByteRange​(PK pk)  
    byte[] getPkBytesWithPartition​(PK pk)  
    static <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>>
    boolean
    isSingleRowRange​(io.datarouter.util.tuple.Range<PK> range)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • isSingleRowRange

      public static <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>> boolean isSingleRowRange​(io.datarouter.util.tuple.Range<PK> range)
    • getPkBytesWithPartition

      public byte[] getPkBytesWithPartition​(PK pk)
    • getEkByteRange

      public io.datarouter.model.util.Bytes getEkByteRange​(EK ek)
    • getPkByteRange

      public io.datarouter.model.util.Bytes getPkByteRange​(PK pk)