org.datanucleus.store.hbase.fieldmanager
Class StoreEmbeddedFieldManager

java.lang.Object
  extended by org.datanucleus.store.fieldmanager.AbstractFieldManager
      extended by org.datanucleus.store.hbase.fieldmanager.StoreFieldManager
          extended by org.datanucleus.store.hbase.fieldmanager.StoreEmbeddedFieldManager
All Implemented Interfaces:
org.datanucleus.store.fieldmanager.FieldConsumer, org.datanucleus.store.fieldmanager.FieldManager, org.datanucleus.store.fieldmanager.FieldSupplier

public class StoreEmbeddedFieldManager
extends StoreFieldManager

FieldManager for the persistence of a related embedded object (1-1 relation).


Constructor Summary
StoreEmbeddedFieldManager(org.datanucleus.store.ObjectProvider sm, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.client.Delete delete, org.datanucleus.metadata.AbstractMemberMetaData mmd, java.lang.String tableName, boolean insert)
           
 
Method Summary
protected  java.lang.String getFamilyName(int fieldNumber)
           
protected  org.datanucleus.metadata.AbstractMemberMetaData getMemberMetaData(int fieldNumber)
           
protected  java.lang.String getQualifierName(int fieldNumber)
           
 void storeObjectField(int fieldNumber, java.lang.Object value)
           
 
Methods inherited from class org.datanucleus.store.hbase.fieldmanager.StoreFieldManager
deleteColumnsForEmbeddedMember, isStorable, isStorable, storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeShortField, storeStringField, writeObjectField
 
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchObjectField, fetchShortField, fetchStringField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreEmbeddedFieldManager

public StoreEmbeddedFieldManager(org.datanucleus.store.ObjectProvider sm,
                                 org.apache.hadoop.hbase.client.Put put,
                                 org.apache.hadoop.hbase.client.Delete delete,
                                 org.datanucleus.metadata.AbstractMemberMetaData mmd,
                                 java.lang.String tableName,
                                 boolean insert)
Method Detail

getFamilyName

protected java.lang.String getFamilyName(int fieldNumber)
Overrides:
getFamilyName in class StoreFieldManager

getQualifierName

protected java.lang.String getQualifierName(int fieldNumber)
Overrides:
getQualifierName in class StoreFieldManager

getMemberMetaData

protected org.datanucleus.metadata.AbstractMemberMetaData getMemberMetaData(int fieldNumber)
Overrides:
getMemberMetaData in class StoreFieldManager

storeObjectField

public void storeObjectField(int fieldNumber,
                             java.lang.Object value)
Specified by:
storeObjectField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeObjectField in class StoreFieldManager


Copyright © 2012. All Rights Reserved.