org.neo4j.com
Class TransactionStream

java.lang.Object
  extended by org.neo4j.helpers.collection.PrefetchingIterator<Triplet<String,Long,TxExtractor>>
      extended by org.neo4j.com.TransactionStream
All Implemented Interfaces:
Iterator<Triplet<String,Long,TxExtractor>>

public abstract class TransactionStream
extends PrefetchingIterator<Triplet<String,Long,TxExtractor>>

Represents a stream of the data of one or more consecutive transactions.


Field Summary
static TransactionStream EMPTY
           
 
Constructor Summary
TransactionStream(String... datasources)
           
 
Method Summary
 void close()
           
static TransactionStream create(Collection<String> datasources, Iterable<Triplet<String,Long,TxExtractor>> streamSource)
           
 String[] dataSourceNames()
           
 
Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator
fetchNextOrNull, getPrefetchedNextOrNull, hasNext, next, remove, setPrefetchedNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final TransactionStream EMPTY
Constructor Detail

TransactionStream

public TransactionStream(String... datasources)
Method Detail

dataSourceNames

public String[] dataSourceNames()

create

public static TransactionStream create(Collection<String> datasources,
                                       Iterable<Triplet<String,Long,TxExtractor>> streamSource)

close

public void close()


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.