Class HBaseNonEntityResultParser<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>,​F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​D>>

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

public class HBaseNonEntityResultParser<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>,​F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​D>>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    HBaseNonEntityResultParser​(io.datarouter.model.key.entity.EntityPartitioner<EK> partitioner, io.datarouter.storage.serialize.fieldcache.DatabeanFieldInfo<PK,​D,​F> fieldInfo)  
  • Method Summary

    Modifier and Type Method Description
    byte[] rowWithoutPrefix​(byte[] rowWithPrefix)  
    D toDatabean​(org.apache.hadoop.hbase.client.Result result)  
    PK toPk​(byte[] rowWithPrefix)  
    PK toPk​(org.apache.hadoop.hbase.client.Result result)  

    Methods inherited from class java.lang.Object

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

    • HBaseNonEntityResultParser

      public HBaseNonEntityResultParser​(io.datarouter.model.key.entity.EntityPartitioner<EK> partitioner, io.datarouter.storage.serialize.fieldcache.DatabeanFieldInfo<PK,​D,​F> fieldInfo)
  • Method Details

    • rowWithoutPrefix

      public byte[] rowWithoutPrefix​(byte[] rowWithPrefix)
    • toPk

      public PK toPk​(byte[] rowWithPrefix)
    • toPk

      public PK toPk​(org.apache.hadoop.hbase.client.Result result)
    • toDatabean

      public D toDatabean​(org.apache.hadoop.hbase.client.Result result)