org.datanucleus.store.hbase
Class HBasePersistenceHandler

java.lang.Object
  extended by org.datanucleus.store.AbstractPersistenceHandler
      extended by org.datanucleus.store.hbase.HBasePersistenceHandler
All Implemented Interfaces:
org.datanucleus.store.StorePersistenceHandler

public class HBasePersistenceHandler
extends org.datanucleus.store.AbstractPersistenceHandler

Persistence handler for HBase, providing insert, update, delete, and find handling.


Field Summary
protected static org.datanucleus.util.Localiser LOCALISER
          Localiser for messages.
protected  HBaseStoreManager storeMgr
           
 
Constructor Summary
HBasePersistenceHandler(org.datanucleus.store.StoreManager storeMgr)
           
 
Method Summary
 void close()
           
 void deleteObject(org.datanucleus.store.ObjectProvider op)
           
 void deleteObjects(org.datanucleus.store.ObjectProvider... ops)
           
 void fetchObject(org.datanucleus.store.ObjectProvider op, int[] fieldNumbers)
           
 java.lang.Object findObject(org.datanucleus.store.ExecutionContext ectx, java.lang.Object id)
           
 void insertObject(org.datanucleus.store.ObjectProvider op)
           
 void insertObjects(org.datanucleus.store.ObjectProvider... ops)
           
 void locateObject(org.datanucleus.store.ObjectProvider op)
           
 void updateObject(org.datanucleus.store.ObjectProvider op, int[] fieldNumbers)
           
 
Methods inherited from class org.datanucleus.store.AbstractPersistenceHandler
batchEnd, batchStart, findObjects, locateObjects, useReferentialIntegrity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static final org.datanucleus.util.Localiser LOCALISER
Localiser for messages.


storeMgr

protected final HBaseStoreManager storeMgr
Constructor Detail

HBasePersistenceHandler

public HBasePersistenceHandler(org.datanucleus.store.StoreManager storeMgr)
Method Detail

close

public void close()

insertObjects

public void insertObjects(org.datanucleus.store.ObjectProvider... ops)
Specified by:
insertObjects in interface org.datanucleus.store.StorePersistenceHandler
Overrides:
insertObjects in class org.datanucleus.store.AbstractPersistenceHandler

insertObject

public void insertObject(org.datanucleus.store.ObjectProvider op)

updateObject

public void updateObject(org.datanucleus.store.ObjectProvider op,
                         int[] fieldNumbers)

deleteObjects

public void deleteObjects(org.datanucleus.store.ObjectProvider... ops)
Specified by:
deleteObjects in interface org.datanucleus.store.StorePersistenceHandler
Overrides:
deleteObjects in class org.datanucleus.store.AbstractPersistenceHandler

deleteObject

public void deleteObject(org.datanucleus.store.ObjectProvider op)

fetchObject

public void fetchObject(org.datanucleus.store.ObjectProvider op,
                        int[] fieldNumbers)

findObject

public java.lang.Object findObject(org.datanucleus.store.ExecutionContext ectx,
                                   java.lang.Object id)

locateObject

public void locateObject(org.datanucleus.store.ObjectProvider op)


Copyright © 2012. All Rights Reserved.