use of org.sirix.axis.IncludeSelf in project sirix by sirixdb.
the class DBNode method getFuture.
@Override
public Stream<AbstractTemporalNode<DBNode>> getFuture(final boolean includeSelf) {
moveRtx();
final IncludeSelf include = includeSelf ? IncludeSelf.YES : IncludeSelf.NO;
return new TemporalSirixStream(new FutureAxis(mRtx, include), mCollection);
}
use of org.sirix.axis.IncludeSelf in project sirix by sirixdb.
the class DBNode method getEarlier.
@Override
public Stream<AbstractTemporalNode<DBNode>> getEarlier(final boolean includeSelf) {
moveRtx();
final IncludeSelf include = includeSelf ? IncludeSelf.YES : IncludeSelf.NO;
return new TemporalSirixStream(new PastAxis(mRtx, include), mCollection);
}
Aggregations