Search in sources :

Example 1 with PastAxis

use of org.sirix.axis.temporal.PastAxis 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);
}
Also used : TemporalSirixStream(org.sirix.xquery.stream.TemporalSirixStream) PastAxis(org.sirix.axis.temporal.PastAxis) IncludeSelf(org.sirix.axis.IncludeSelf)

Aggregations

IncludeSelf (org.sirix.axis.IncludeSelf)1 PastAxis (org.sirix.axis.temporal.PastAxis)1 TemporalSirixStream (org.sirix.xquery.stream.TemporalSirixStream)1