org.databene.model.storage
Class StorageSystemInserter

java.lang.Object
  extended by org.databene.model.consumer.AbstractConsumer<Entity>
      extended by org.databene.model.storage.StorageSystemConsumer
          extended by org.databene.model.storage.StorageSystemInserter
All Implemented Interfaces:
java.io.Closeable, Consumer<Entity>

public class StorageSystemInserter
extends StorageSystemConsumer

Consumer implementation that inserts entities into database tables.

Created: 02.08.2010 19:38:56

Since:
0.6.3
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.model.storage.StorageSystemConsumer
system
 
Constructor Summary
StorageSystemInserter(StorageSystem system)
           
StorageSystemInserter(StorageSystem system, java.lang.String tableName)
           
 
Method Summary
 void startConsuming(Entity entity)
           
 
Methods inherited from class org.databene.model.storage.StorageSystemConsumer
close, flush, toString
 
Methods inherited from class org.databene.model.consumer.AbstractConsumer
finishConsuming
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StorageSystemInserter

public StorageSystemInserter(StorageSystem system)

StorageSystemInserter

public StorageSystemInserter(StorageSystem system,
                             java.lang.String tableName)
Method Detail

startConsuming

public void startConsuming(Entity entity)


Copyright © 2011. All Rights Reserved.