org.datanucleus.store.hbase.fieldmanager
Class FetchFieldManager

java.lang.Object
  extended by org.datanucleus.store.fieldmanager.AbstractFieldManager
      extended by org.datanucleus.store.hbase.fieldmanager.FetchFieldManager
All Implemented Interfaces:
org.datanucleus.store.fieldmanager.FieldConsumer, org.datanucleus.store.fieldmanager.FieldManager, org.datanucleus.store.fieldmanager.FieldSupplier
Direct Known Subclasses:
FetchEmbeddedFieldManager

public class FetchFieldManager
extends org.datanucleus.store.fieldmanager.AbstractFieldManager


Constructor Summary
FetchFieldManager(org.datanucleus.store.ExecutionContext ec, org.datanucleus.metadata.AbstractClassMetaData cmd, org.apache.hadoop.hbase.client.Result result)
           
FetchFieldManager(org.datanucleus.store.ObjectProvider sm, org.apache.hadoop.hbase.client.Result result)
           
 
Method Summary
 boolean fetchBooleanField(int fieldNumber)
           
 byte fetchByteField(int fieldNumber)
           
 char fetchCharField(int fieldNumber)
           
 double fetchDoubleField(int fieldNumber)
           
 float fetchFloatField(int fieldNumber)
           
 int fetchIntField(int fieldNumber)
           
 long fetchLongField(int fieldNumber)
           
 java.lang.Object fetchObjectField(int fieldNumber)
           
 short fetchShortField(int fieldNumber)
           
 java.lang.String fetchStringField(int fieldNumber)
           
protected  java.lang.String getFamilyName(int fieldNumber)
           
protected  org.datanucleus.metadata.AbstractMemberMetaData getMemberMetaData(int fieldNumber)
           
protected  java.lang.String getQualifierName(int fieldNumber)
           
protected  java.lang.Object readObjectField(java.lang.String familyName, java.lang.String columnName, org.apache.hadoop.hbase.client.Result result, int fieldNumber, org.datanucleus.metadata.AbstractMemberMetaData mmd)
           
 
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager
storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeObjectField, storeShortField, storeStringField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchFieldManager

public FetchFieldManager(org.datanucleus.store.ExecutionContext ec,
                         org.datanucleus.metadata.AbstractClassMetaData cmd,
                         org.apache.hadoop.hbase.client.Result result)

FetchFieldManager

public FetchFieldManager(org.datanucleus.store.ObjectProvider sm,
                         org.apache.hadoop.hbase.client.Result result)
Method Detail

getFamilyName

protected java.lang.String getFamilyName(int fieldNumber)

getQualifierName

protected java.lang.String getQualifierName(int fieldNumber)

getMemberMetaData

protected org.datanucleus.metadata.AbstractMemberMetaData getMemberMetaData(int fieldNumber)

fetchBooleanField

public boolean fetchBooleanField(int fieldNumber)
Specified by:
fetchBooleanField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchBooleanField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchByteField

public byte fetchByteField(int fieldNumber)
Specified by:
fetchByteField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchByteField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchCharField

public char fetchCharField(int fieldNumber)
Specified by:
fetchCharField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchCharField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchDoubleField

public double fetchDoubleField(int fieldNumber)
Specified by:
fetchDoubleField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchDoubleField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchFloatField

public float fetchFloatField(int fieldNumber)
Specified by:
fetchFloatField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchFloatField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchIntField

public int fetchIntField(int fieldNumber)
Specified by:
fetchIntField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchIntField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchLongField

public long fetchLongField(int fieldNumber)
Specified by:
fetchLongField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchLongField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchShortField

public short fetchShortField(int fieldNumber)
Specified by:
fetchShortField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchShortField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchStringField

public java.lang.String fetchStringField(int fieldNumber)
Specified by:
fetchStringField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchStringField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchObjectField

public java.lang.Object fetchObjectField(int fieldNumber)
Specified by:
fetchObjectField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchObjectField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

readObjectField

protected java.lang.Object readObjectField(java.lang.String familyName,
                                           java.lang.String columnName,
                                           org.apache.hadoop.hbase.client.Result result,
                                           int fieldNumber,
                                           org.datanucleus.metadata.AbstractMemberMetaData mmd)


Copyright © 2012. All Rights Reserved.