Class HBaseSubEntityResultParser<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.subentity.HBaseSubEntityResultParser<EK,​PK,​D>

public class HBaseSubEntityResultParser<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 
    Modifier Constructor Description
    protected HBaseSubEntityResultParser​(java.lang.Class<PK> primaryKeyClass, java.util.function.Supplier<EK> entityKeySupplier, java.util.List<io.datarouter.model.field.Field<?>> ekFields, java.util.List<io.datarouter.model.field.Field<?>> ekPkKeyFields, java.util.List<io.datarouter.model.field.Field<?>> postEkPkFields, java.util.Map<java.lang.String,​io.datarouter.model.field.Field<?>> nonKeyFieldsByColumnNames, int numPrefixBytes, byte[] entityColumnPrefixBytes, java.lang.reflect.Field keyJavaField, java.util.function.Supplier<D> databeanSupplier)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<D> getDatabeansForKvsWithMatchingQualifierPrefix​(java.util.List<org.apache.hadoop.hbase.Cell> cells, java.lang.Integer limit)  
    java.util.List<D> getDatabeansWithMatchingQualifierPrefix​(org.apache.hadoop.hbase.client.Result row, java.lang.Integer limit)  
    java.util.List<D> getDatabeansWithMatchingQualifierPrefixMulti​(org.apache.hadoop.hbase.client.Result[] rows)  
    EK getEkFromRowBytes​(byte[] rowBytes)  
    java.util.List<PK> getPrimaryKeysWithMatchingQualifierPrefix​(java.util.List<org.apache.hadoop.hbase.Cell> cells, java.lang.Integer limit)  
    java.util.List<PK> getPrimaryKeysWithMatchingQualifierPrefix​(org.apache.hadoop.hbase.client.Result row)  
    java.util.List<PK> getPrimaryKeysWithMatchingQualifierPrefix​(org.apache.hadoop.hbase.client.Result row, java.lang.Integer limit)  
    java.util.List<PK> getPrimaryKeysWithMatchingQualifierPrefixMulti​(org.apache.hadoop.hbase.client.Result[] rows)  
    io.datarouter.util.tuple.Pair<PK,​java.lang.String> parsePrimaryKeyAndFieldName​(org.apache.hadoop.hbase.Cell cell)  
    void setDatabeanField​(D databean, java.lang.String fieldName, byte[] bytesValue)  

    Methods inherited from class java.lang.Object

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

    • HBaseSubEntityResultParser

      protected HBaseSubEntityResultParser​(java.lang.Class<PK> primaryKeyClass, java.util.function.Supplier<EK> entityKeySupplier, java.util.List<io.datarouter.model.field.Field<?>> ekFields, java.util.List<io.datarouter.model.field.Field<?>> ekPkKeyFields, java.util.List<io.datarouter.model.field.Field<?>> postEkPkFields, java.util.Map<java.lang.String,​io.datarouter.model.field.Field<?>> nonKeyFieldsByColumnNames, int numPrefixBytes, byte[] entityColumnPrefixBytes, java.lang.reflect.Field keyJavaField, java.util.function.Supplier<D> databeanSupplier)
  • Method Details