org.datanucleus.store.hbase.fieldmanager
Class StoreFieldManager

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

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


Constructor Summary
StoreFieldManager(org.datanucleus.store.ObjectProvider sm, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.client.Delete delete, boolean insert)
           
 
Method Summary
protected  void deleteColumnsForEmbeddedMember(org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.store.ExecutionContext ec)
           
protected  java.lang.String getFamilyName(int fieldNumber)
           
protected  org.datanucleus.metadata.AbstractMemberMetaData getMemberMetaData(int fieldNumber)
           
protected  java.lang.String getQualifierName(int fieldNumber)
           
protected  boolean isStorable(org.datanucleus.metadata.AbstractMemberMetaData mmd)
           
protected  boolean isStorable(int fieldNumber)
           
 void storeBooleanField(int fieldNumber, boolean value)
           
 void storeByteField(int fieldNumber, byte value)
           
 void storeCharField(int fieldNumber, char value)
           
 void storeDoubleField(int fieldNumber, double value)
           
 void storeFloatField(int fieldNumber, float value)
           
 void storeIntField(int fieldNumber, int value)
           
 void storeLongField(int fieldNumber, long value)
           
 void storeObjectField(int fieldNumber, java.lang.Object value)
           
 void storeShortField(int fieldNumber, short value)
           
 void storeStringField(int fieldNumber, java.lang.String value)
           
protected  void writeObjectField(java.lang.String familyName, java.lang.String columnName, java.lang.Object value)
           
 
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

StoreFieldManager

public StoreFieldManager(org.datanucleus.store.ObjectProvider sm,
                         org.apache.hadoop.hbase.client.Put put,
                         org.apache.hadoop.hbase.client.Delete delete,
                         boolean insert)
Method Detail

isStorable

protected boolean isStorable(int fieldNumber)

isStorable

protected boolean isStorable(org.datanucleus.metadata.AbstractMemberMetaData mmd)

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)

storeBooleanField

public void storeBooleanField(int fieldNumber,
                              boolean value)
Specified by:
storeBooleanField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeBooleanField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeByteField

public void storeByteField(int fieldNumber,
                           byte value)
Specified by:
storeByteField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeByteField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeCharField

public void storeCharField(int fieldNumber,
                           char value)
Specified by:
storeCharField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeCharField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeDoubleField

public void storeDoubleField(int fieldNumber,
                             double value)
Specified by:
storeDoubleField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeDoubleField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeFloatField

public void storeFloatField(int fieldNumber,
                            float value)
Specified by:
storeFloatField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeFloatField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeIntField

public void storeIntField(int fieldNumber,
                          int value)
Specified by:
storeIntField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeIntField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeLongField

public void storeLongField(int fieldNumber,
                           long value)
Specified by:
storeLongField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeLongField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeShortField

public void storeShortField(int fieldNumber,
                            short value)
Specified by:
storeShortField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeShortField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeStringField

public void storeStringField(int fieldNumber,
                             java.lang.String value)
Specified by:
storeStringField in interface org.datanucleus.store.fieldmanager.FieldConsumer
Overrides:
storeStringField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

storeObjectField

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

writeObjectField

protected void writeObjectField(java.lang.String familyName,
                                java.lang.String columnName,
                                java.lang.Object value)

deleteColumnsForEmbeddedMember

protected void deleteColumnsForEmbeddedMember(org.datanucleus.metadata.AbstractMemberMetaData mmd,
                                              org.datanucleus.ClassLoaderResolver clr,
                                              org.datanucleus.store.ExecutionContext ec)


Copyright © 2012. All Rights Reserved.