Package be.bagofwords.db.experimental.id
Class IdDataInterface<T extends IdObject>
- java.lang.Object
-
- be.bagofwords.db.experimental.id.IdDataInterface<T>
-
-
Constructor Summary
Constructors Constructor Description IdDataInterface(DataInterface<List> baseInterface)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longapprSize()voidclose()voiddropAllData()voidflush()be.bagofwords.iterator.CloseableIterator<T>iterator()be.bagofwords.iterator.CloseableIterator<T>iterator(java.util.function.Predicate<T> valueFilter)Tread(String id)java.util.stream.Stream<T>stream()java.util.stream.Stream<T>stream(java.util.function.Predicate<T> valueFilter)voidwrite(be.bagofwords.iterator.CloseableIterator<T> objects)voidwrite(Iterator<T> objects)voidwrite(T object)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
IdDataInterface
public IdDataInterface(DataInterface<List> baseInterface)
-
-
Method Detail
-
write
public void write(T object)
-
write
public void write(be.bagofwords.iterator.CloseableIterator<T> objects)
-
stream
public java.util.stream.Stream<T> stream()
-
iterator
public be.bagofwords.iterator.CloseableIterator<T> iterator()
-
iterator
public be.bagofwords.iterator.CloseableIterator<T> iterator(java.util.function.Predicate<T> valueFilter)
-
apprSize
public long apprSize()
-
flush
public void flush()
-
dropAllData
public void dropAllData()
-
close
public void close()
-
-